Theming Mythnews - base.xml
From MythTV Official Wiki
Revision as of 16:50, 9 May 2010 by Iamlindoro (talk | contribs)
This XML is meant to be used as a "cheater's reference" to Theming MythNews.
<mythuitheme> <window name="backgroundwindow"> <imagetype name="backimg"> <filename>bkg/grey.png</filename> </imagetype> <fontdef name="small" face="Arial"> <color>#FFFFFF</color> <size>14</size> <size:small>12</size:small> <size:big>16</size:big> <bold>yes</bold> </fontdef> <fontdef name="medium" from="small"> <size>16</size> <size:small>14</size:small> <size:big>20</size:big> </fontdef> <fontdef name="large" from="small"> <size>20</size> <size:small>18</size:small> <size:big>22</size:big> </fontdef> <imagetype name="logo"> <filename>myth_logo.png</filename> <position>20,170</position> <alphapulse min="0" max="255" change="1"/> </imagetype> </window> <fontdef name="newsfont" face="Arial"> <size>11</size> <color>#ffffff</color> </fontdef> <textedit name="newstextedit"> <area>0,0,287,28</area> <statetype name="background"> <state name="active"> <imagetype name="background"> <filename>textedit_background.png</filename> </imagetype> </state> <state name="selected"> <imagetype name="background"> <filename>textedit_background_selected.png</filename> </imagetype> </state> <state name="inactive"> <imagetype name="background"> <filename>textedit_background_grey.png</filename> </imagetype> </state> </statetype> <imagetype name="cursor"> <filename>cursor.png</filename> </imagetype> <textarea name="text"> <area>3,5,281,22</area> <font>newsfont</font> </textarea> </textedit> <button name="newsbutton"> <area>0,0,150,35</area> <statetype name="buttonstate"> <state name="active"> <imagetype name="background"> <area>0,0,150,35</area> <filename>buttonbackground.png</filename> </imagetype> <textarea name="text"> <area>5,5,140,30</area> <align>allcenter</align> <font>newsfont</font> </textarea> </state> <state name="selected" from="active"> <imagetype name="background"> <area>0,0,150,35</area> <filename>buttonbackground_selected.png</filename> </imagetype> </state> <state name="disabled" from="active" /> <state name="pushed" from="active"> <imagetype name="background"> <area>0,0,150,35</area> <filename>buttonbackground_pushed.png</filename> </imagetype> </state> </statetype> </button> <buttonlist name="newsbuttonlist"> <area>0,0,349,250</area> <layout>vertical</layout> <spacing>3</spacing> <scrollstyle>free</scrollstyle> <wrapstyle>items</wrapstyle> <buttonarea>0,0,100%,97%</buttonarea> <statetype name="buttonitem"> <state name="active"> <area>0,0,100%,30</area> <imagetype name="buttonbackground"> <filename>widebuttonbackground.png</filename> </imagetype> <textarea name="buttontext"> <area>5,10,85%,30</area> <font>newsfont</font> <cutdown>yes</cutdown> <align>allcenter</align> </textarea> <statetype name="buttoncheck"> <position>91%,5</position> <state type="off"> <imagetype name="checkoff"> <filename>lb-check-empty.png</filename> </imagetype> </state> <state type="half"> <imagetype name="checkhalf"> <filename>lb-check-half.png</filename> </imagetype> </state> <state type="full"> <imagetype name="checkfull"> <filename>lb-check-full.png</filename> </imagetype> </state> </statetype> <imagetype name="buttonarrow"> <position>92%,11</position> <filename>rightarrow.png</filename> </imagetype> </state> <state name="selected" from="active"> <imagetype name="buttonbackground"> <filename>widebuttonbackground_selected.png</filename> <alphapulse min="200" max="255" change="1"/> </imagetype> </state> <state name="inactive" from="active"> <imagetype name="buttonbackground"> <filename>widebuttonbackground_selected.png</filename> <alpha>127</alpha> </imagetype> </state> </statetype> <statetype name="upscrollarrow"> <position>10,97%</position> <state type="off"> <imagetype name="upon"> <filename>uparrow.png</filename> <alpha>90</alpha> </imagetype> </state> <state type="full"> <imagetype name="upoff"> <filename>uparrow.png</filename> </imagetype> </state> </statetype> <statetype name="downscrollarrow"> <position>40,97%</position> <state type="off"> <imagetype name="dnon"> <filename>downarrow.png</filename> <alpha>90</alpha> </imagetype> </state> <state type="full"> <imagetype name="dnoff"> <filename>downarrow.png</filename> </imagetype> </state> </statetype> </buttonlist> </mythuitheme>