Skip to content
Browse files

MythCenter-wide: Add the theme chooser screen.

This is a little more in line with the look of the MythCenter theme and isn't
quite as dark as the default one. It gives a little more room for the description
text so it's not cut of for any of the current themes.
  • Loading branch information...
1 parent 26efbf5 commit 58c12635d92188381158a120b617c44893aca7cc Paul Harrison committed Mar 16, 2011
Showing with 192 additions and 0 deletions.
  1. +192 −0 mythtv/themes/MythCenter-wide/settings-ui.xml
View
192 mythtv/themes/MythCenter-wide/settings-ui.xml
@@ -61,4 +61,196 @@
</window>
+ <window name="themechooser">
+
+ <textarea name="pagetitle" from="basetextarea">
+ <area>40,10,1200,40</area>
+ <font>baselarge</font>
+ <value>Theme Chooser</value>
+ </textarea>
+
+ <shape name="preview-shape">
+ <area>660,60,590,410</area>
+ <type>roundbox</type>
+ <fill color="#000000" alpha="60" />
+ <cornerradius>10</cornerradius>
+ </shape>
+
+ <imagetype name="preview">
+ <area>680,80,550,370</area>
+ <preserveaspect>true</preserveaspect>
+ </imagetype>
+
+ <textarea name="name" from="basetextarea">
+ <area>660,480,280,35</area>
+ <multiline>no</multiline>
+ <font>basemedium</font>
+ <align>left,vcenter</align>
+ <cutdown>yes</cutdown>
+ </textarea>
+
+ <textarea name="resolution" from="basetextarea">
+ <area>680,515,280,30</area>
+ <multiline>no</multiline>
+ <font>basesmall</font>
+ <align>left,vcenter</align>
+ <cutdown>yes</cutdown>
+ </textarea>
+
+ <textarea name="aspect" from="basetextarea">
+ <area>960,515,280,30</area>
+ <multiline>no</multiline>
+ <font>basesmall</font>
+ <align>left,vcenter</align>
+ <cutdown>yes</cutdown>
+ </textarea>
+
+ <textarea name="description" from="basetextarea">
+ <area>660,545,590,155</area>
+ <multiline>yes</multiline>
+ <font>basesmall</font>
+ <align>left,top</align>
+ <cutdown>yes</cutdown>
+ </textarea>
+
+ <buttonlist name="themes">
+ <area>30,60,600,660</area>
+ <scrollstyle>free</scrollstyle>
+ <wrapstyle>items</wrapstyle>
+ <layout>vertical</layout>
+ <spacing>2</spacing>
+ <drawfrombottom>false</drawfrombottom>
+ <buttonarea>0,0,100%,620</buttonarea>
+ <statetype name="buttonitem">
+ <state name="active">
+ <area>0,0,600,66</area>
+ <shape name="background">
+ <area>0,0,100%,100%</area>
+ <fill style="gradient">
+ <gradient start="#505050" end="#000000" alpha="200" />
+ </fill>
+ </shape> <imagetype name="buttonimage">
+ <area>30,5,110,56</area>
+ <alpha>160</alpha>
+ <preserveaspect>true</preserveaspect>
+ </imagetype>
+ <textarea name="buttontext">
+ <area>150,5,450,56</area>
+ <align>left,vcenter</align>
+ <font>basemedium</font>
+ <alpha>210</alpha>
+ </textarea>
+
+<!-- State to show whether a theme is locally installed or remotely downloadable
+ <statetype name="themelocation">
+ <area>0,0,30,30</area>
+ <state name="local">
+ <shape name="location">
+ <area>0,0,30,30</area>
+ <type>ellipse</type>
+ <fill color="#00FF00" />
+ </shape>
+ </state>
+ <state name="remote">
+ <imagetype name="remoteimage">
+ <area>0,0,30,30</area>
+ <filename>watermark/browser.png</filename>
+ </imagetype>
+ </state>
+ </statetype>
+-->
+
+<!-- State to indicate whether an installed downloadable theme is up to date or not
+ <statetype name="themestatus">
+ <area>0,30,60,30</area>
+ <state name="uptodate">
+ <shape name="status">
+ <area>0,0,30,30</area>
+ <type>ellipse</type>
+ <fill color="#00FF00" />
+ </shape>
+ </state>
+ <state name="updateavailable">
+ <shape name="status">
+ <area>0,0,30,30</area>
+ <type>ellipse</type>
+ <fill color="#0000FF" />
+ </shape>
+ </state>
+ </statetype>
+-->
+ </state>
+
+ <state name="selectedactive" from="active">
+ <shape name="background">
+ <fill style="gradient">
+ <gradient start="#52CA38" end="#349838" alpha="255" />
+ </fill>
+ </shape>
+ <textarea name="buttontext">
+ <alpha>200</alpha>
+ <font>basemedium</font>
+ </textarea>
+ <imagetype name="buttonimage">
+ <alpha>255</alpha>
+ </imagetype>
+ <imagetype name="divider">
+ <filename />
+ </imagetype>
+ </state>
+ <state name="selectedinactive" from="active" />
+ </statetype>
+ <statetype name="upscrollarrow">
+ <position>520,620</position>
+ <state type="off">
+ </state>
+ <state type="full">
+ <imagetype name="upon">
+ <filename>lb-uparrow-reg.png</filename>
+ <alpha>230</alpha>
+ </imagetype>
+ </state>
+ </statetype>
+ <statetype name="downscrollarrow">
+ <position>550,620</position>
+ <state type="off">
+ </state>
+ <state type="full">
+ <imagetype name="dnon">
+ <filename>lb-dnarrow-reg.png</filename>
+ <alpha>230</alpha>
+ </imagetype>
+ </state>
+ </statetype>
+ </buttonlist>
+
+ <progressbar name="downloadprogressbar" from="baseprogressbar">
+ <position>690,10</position>
+ </progressbar>
+
+ <statetype name="fullpreviewstate">
+ <area>0,0,1280,720</area>
+ <state name="fullscreen">
+ <area>0,0,1280,720</area>
+ <imagetype name="fullscreenpreview">
+ <area>0,0,1280,720</area>
+ <filename />
+ </imagetype>
+
+ <shape name="fullscreennameback" from="basebackground">
+ <area>440,10,400,80</area>
+ <fill color="#000000" alpha="220" />
+ </shape>
+
+ <textarea name="fullscreenname" from="basetextarea">
+ <area>450,20,380,60</area>
+ <multiline>no</multiline>
+ <font>basemediumgreen</font>
+ <align>center,vcenter</align>
+ </textarea>
+ </state>
+ </statetype>
+
+ </window>
+
</mythuitheme>

0 comments on commit 58c1263

Please sign in to comment.
Something went wrong with that request. Please try again.