| | 1 | <?xml version="1.0" encoding="utf-8"?> |
| | 2 | <!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd"> |
| | 3 | |
| | 4 | <!-- theme.xml for the MythCenter theme - by Jeroen Brosens --> |
| | 5 | <mythuitheme> |
| | 6 | |
| | 7 | <window name="settingssetup"> |
| | 8 | |
| | 9 | |
| | 10 | <textarea name="title" from="basetextarea"> |
| | 11 | <area>30,15,100%-30,30</area> |
| | 12 | <font>baselarge</font> |
| | 13 | <align>hcenter</align> |
| | 14 | </textarea> |
| | 15 | |
| | 16 | <shape name="GroupHelpBackground"> |
| | 17 | <area>15,80,100%-15,80</area> |
| | 18 | <type>roundbox</type> |
| | 19 | <cornerradius>10</cornerradius> |
| | 20 | <fill color="#FFFFFF" alpha="30" /> |
| | 21 | </shape> |
| | 22 | |
| | 23 | <!-- optionnal, display the help for the current group of settings --> |
| | 24 | <textarea name="grouphelp" from="basetextarea"> |
| | 25 | <area>30,90-120,100%-30,60</area> |
| | 26 | <font>basesmall</font> |
| | 27 | <align>lefthcenter</align> |
| | 28 | <multiline>yes</multiline> |
| | 29 | </textarea> |
| | 30 | |
| | 31 | <buttonlist name="settingslist" from2="basebuttonlist"> |
| | 32 | <area>100,200,100%-100,100%-160</area> |
| | 33 | <layout>vertical</layout> |
| | 34 | <spacing>4</spacing> |
| | 35 | <wrapstyle>selection</wrapstyle> |
| | 36 | <arrange>stack</arrange> |
| | 37 | <spacing>5</spacing> |
| | 38 | <buttonarea>0,0,100%,97%</buttonarea> |
| | 39 | <statetype name="buttonitem"> |
| | 40 | <area>0,0,100%,90</area> |
| | 41 | <state name="active"> |
| | 42 | <area>0,0,100%,30</area> |
| | 43 | <group name="labels"> |
| | 44 | <area>0,0,50%-1,100%</area> |
| | 45 | <shape name="buttonbackground"> |
| | 46 | <area>0,0,100%,100%</area> |
| | 47 | <fill style="gradient"> |
| | 48 | <gradient start="#505050" end="#000000" alpha="200" direction="vertical" /> |
| | 49 | </fill> |
| | 50 | </shape> |
| | 51 | <textarea name="buttontext"> |
| | 52 | <area>5,0,100%-10,100%</area> |
| | 53 | <font>basemedium</font> |
| | 54 | <cutdown>yes</cutdown> |
| | 55 | <align>left,vcenter</align> |
| | 56 | </textarea> |
| | 57 | </group> |
| | 58 | <group name="widgets"> |
| | 59 | <area>50%+1,0,100%,100%</area> |
| | 60 | <shape name="buttonbackgroundselection"> |
| | 61 | <area>0,0,100%,100%</area> |
| | 62 | <!--type>roundbox</type--> |
| | 63 | <!--cornerradius>15</cornerradius--> |
| | 64 | <fill style="gradient"> |
| | 65 | <gradient start="#505050" end="#000000" alpha="200" direction="vertical" /> |
| | 66 | </fill> |
| | 67 | <!--fill style="gradient"> |
| | 68 | <gradient start="#52CA38" end="#349838" alpha="255" /> |
| | 69 | </fill--> |
| | 70 | </shape> |
| | 71 | |
| | 72 | <statetype name="widgettype"> |
| | 73 | <area>0,0,100%-23,100%</area> |
| | 74 | <!--position>100%-23,7</position--> |
| | 75 | <state name="standard"></state> |
| | 76 | <state name="group"></state> |
| | 77 | <state name="checkbox"></state> |
| | 78 | <state name="textedit"> |
| | 79 | <!--imagetype name="texteditimage"> |
| | 80 | <filename>checked_high.png</filename> |
| | 81 | </imagetype--> |
| | 82 | <shape name="texteditshape"> |
| | 83 | <!--area>0,2,520,26</area--> |
| | 84 | <!--area>0,2,100%,26</area DOES NOT WORK --> |
| | 85 | <area>20,2,480,26</area> |
| | 86 | <type>roundbox</type> |
| | 87 | <cornerradius>5</cornerradius> |
| | 88 | <line color="#000000" alpha="255" width="1" /> |
| | 89 | <fill color="#FFFFFF" alpha="50" /> |
| | 90 | </shape> |
| | 91 | <!--textarea name="value"> |
| | 92 | <area>0,0,100,30</area> |
| | 93 | <font>myfont</font> |
| | 94 | <cutdown>yes</cutdown> |
| | 95 | <align>right,vcenter</align> |
| | 96 | </textarea--> |
| | 97 | </state> |
| | 98 | <state name="filebrowser"> |
| | 99 | <shape name="texteditshape"> |
| | 100 | <area>20,2,480,26</area> |
| | 101 | <!--area>20,2,50%,26</area--> |
| | 102 | <type>roundbox</type> |
| | 103 | <cornerradius>5</cornerradius> |
| | 104 | <line color="#000000" alpha="255" width="1" /> |
| | 105 | <fill color="#FFFFFF" alpha="50" /> |
| | 106 | </shape> |
| | 107 | <imagetype name="filebrowserimage"> |
| | 108 | <area>500,5,20,20</area> |
| | 109 | <!-- todo find a good icon --> |
| | 110 | <filename>shared/directory.png</filename> |
| | 111 | </imagetype> |
| | 112 | </state> |
| | 113 | <state name="spinbox"> |
| | 114 | <imagetype name="spinboximage2"> |
| | 115 | <area>0,5,20,20</area> |
| | 116 | <filename>lb-ltarrow-sel.png</filename> |
| | 117 | </imagetype> |
| | 118 | <shape name="texteditshape"> |
| | 119 | <area>20,2,480,26</area> |
| | 120 | <!--area>20,2,50%,26</area--> |
| | 121 | <type>roundbox</type> |
| | 122 | <cornerradius>5</cornerradius> |
| | 123 | <line color="#000000" alpha="255" width="1" /> |
| | 124 | <fill color="#FFFFFF" alpha="50" /> |
| | 125 | </shape> |
| | 126 | <imagetype name="spinboximage"> |
| | 127 | <area>500,5,20,20</area> |
| | 128 | <filename>lb-rtarrow-sel.png</filename> |
| | 129 | </imagetype> |
| | 130 | </state> |
| | 131 | <state name="combobox"> |
| | 132 | <shape name="texteditshape"> |
| | 133 | <area>20,2,480,26</area> |
| | 134 | <!--area>0,2,100%,26</area DOES NOT WORK --> |
| | 135 | <type>roundbox</type> |
| | 136 | <cornerradius>5</cornerradius> |
| | 137 | <line color="#000000" alpha="255" width="1" /> |
| | 138 | <fill color="#FFFFFF" alpha="50" /> |
| | 139 | </shape> |
| | 140 | <imagetype name="comboboximage"> |
| | 141 | <area>500,5,20,20</area> |
| | 142 | <filename>lb-dnarrow-sel.png</filename> |
| | 143 | </imagetype> |
| | 144 | |
| | 145 | </state> |
| | 146 | <state name="button"> |
| | 147 | <imagetype name="comboboximage"> |
| | 148 | <area>100%-20,0,20,20</area> |
| | 149 | <filename>button_selected_background.png</filename> |
| | 150 | </imagetype> |
| | 151 | </state> |
| | 152 | </statetype> |
| | 153 | <!-- we can not put more than one textarea with the same name |
| | 154 | The textarea can no be in a custom state |
| | 155 | We can not put the textarea in a state from statetype neither |
| | 156 | Which mean we can not theme them differently according to the statetype |
| | 157 | --> |
| | 158 | <textarea name="value"> |
| | 159 | <area>5,0,100%-46,30</area> |
| | 160 | <font>basesmall</font> |
| | 161 | <cutdown>yes</cutdown> |
| | 162 | <align>right,vcenter</align> |
| | 163 | </textarea> |
| | 164 | |
| | 165 | |
| | 166 | </group> |
| | 167 | <!--textarea name="value"> |
| | 168 | <area>50%+5,0,100%-46,30</area> |
| | 169 | <font>myfont</font> |
| | 170 | <cutdown>yes</cutdown> |
| | 171 | <align>right,vcenter</align> |
| | 172 | </textarea--> |
| | 173 | <!--textarea name="description"> |
| | 174 | <area>5,30,100%-40,60</area> |
| | 175 | <font>basesmall</font> |
| | 176 | <cutdown>yes</cutdown> |
| | 177 | <multiline>yes</multiline> |
| | 178 | </textarea--> |
| | 179 | <statetype name="buttoncheck"> |
| | 180 | <position>100%-40,5</position> |
| | 181 | <state type="off"> |
| | 182 | <imagetype name="checkoff"> |
| | 183 | <filename>lb-check-empty.png</filename> |
| | 184 | </imagetype> |
| | 185 | </state> |
| | 186 | <state type="half"> |
| | 187 | <imagetype name="checkhalf"> |
| | 188 | <filename>lb-check-half.png</filename> |
| | 189 | </imagetype> |
| | 190 | </state> |
| | 191 | <state type="full"> |
| | 192 | <imagetype name="checkfull"> |
| | 193 | <filename>lb-check-full.png</filename> |
| | 194 | </imagetype> |
| | 195 | </state> |
| | 196 | </statetype> |
| | 197 | <imagetype name="buttonarrow"> |
| | 198 | <position>100%-20,7</position> |
| | 199 | <filename>lb-arrow.png</filename> |
| | 200 | </imagetype> |
| | 201 | </state> |
| | 202 | <state name="selectedactive" from="active"> |
| | 203 | <shape name="buttonbackgroundselection"> |
| | 204 | <fill style="gradient"> |
| | 205 | <gradient start="#52CA38" end="#349838" alpha="255" /> |
| | 206 | </fill> |
| | 207 | </shape> |
| | 208 | <imagetype name="buttonarrow"> |
| | 209 | <position>100%-20,7</position> |
| | 210 | <filename>lb-arrow.png</filename> |
| | 211 | </imagetype> |
| | 212 | </state> |
| | 213 | <state name="disabledactive" from="active"> |
| | 214 | <shape name="buttonbackgroundselection"> |
| | 215 | <fill style="gradient"> |
| | 216 | <gradient start="#888888" end="#777777" alpha="255" /> |
| | 217 | </fill> |
| | 218 | </shape> |
| | 219 | </state> |
| | 220 | <state name="disabledinactive" from="disabledactive"> |
| | 221 | </state> |
| | 222 | <state name="selectedinactive" from="active"> |
| | 223 | </state> |
| | 224 | </statetype> |
| | 225 | </buttonlist> |
| | 226 | |
| | 227 | <shape name="HelpBackground"> |
| | 228 | <area>15,100%-140,100%-15,80</area> |
| | 229 | <type>roundbox</type> |
| | 230 | <cornerradius>10</cornerradius> |
| | 231 | <fill color="#000000" alpha="30" /> |
| | 232 | </shape> |
| | 233 | |
| | 234 | <!-- optionnal, display the help for the currently selected setting --> |
| | 235 | <textarea name="selectedsettinghelp" from="basetextarea"> |
| | 236 | <area>30,100%-120,100%-30,60</area> |
| | 237 | <font>basesmall</font> |
| | 238 | <multiline>yes</multiline> |
| | 239 | </textarea> |
| | 240 | </window> |
| | 241 | </mythuitheme> |