Created
December 10, 2020 19:13
-
-
Save mark-kendall/91c07d8f3d81eb8777daa3b368e5c060 to your computer and use it in GitHub Desktop.
XMAS Theme Snow v2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE mythuitheme SYSTEM "http://www.mythtv.org/schema/mythuitheme.dtd"> | |
<mythuitheme> | |
<!-- Base Font Definitions --> | |
<fontdef name="basesmall" face="Droid Sans"> | |
<pixelsize>22</pixelsize> | |
<color>#24E024</color> | |
<weight>bold</weight> | |
</fontdef> | |
<fontdef name="basesmaller" from="basesmall"> | |
<pixelsize>18</pixelsize> | |
</fontdef> | |
<fontdef name="basesmallbold" from="basesmall"> | |
<weight>bold</weight> | |
</fontdef> | |
<fontdef name="small" from="basesmall"> | |
<shadowcolor>#000000</shadowcolor> | |
<shadowoffset>2,2</shadowoffset> | |
<shadowalpha>200</shadowalpha> | |
</fontdef> | |
<fontdef name="basemedium" from="basesmall" face="Liberation Sans"> | |
<pixelsize>26</pixelsize> | |
</fontdef> | |
<fontdef name="basemediumbold" from="basemedium"> | |
<pixelsize>26</pixelsize> | |
<weight>bold</weight> | |
</fontdef> | |
<fontdef name="baselarge" from="basemedium"> | |
<pixelsize>30</pixelsize> | |
<shadowcolor>#000000</shadowcolor> | |
<shadowoffset>2,2</shadowoffset> | |
<shadowalpha>100</shadowalpha> | |
<weight>bold</weight> | |
</fontdef> | |
<fontdef name="baselargenormal" from="baselarge"> | |
<weight>normal</weight> | |
</fontdef> | |
<fontdef name="baseextralarge" from="baselarge"> | |
<pixelsize>34</pixelsize> | |
<shadowcolor>#000000</shadowcolor> | |
<shadowoffset>2,2</shadowoffset> | |
<shadowalpha>150</shadowalpha> | |
<weight>bold</weight> | |
</fontdef> | |
<fontdef name="small_label" from="basesmall"> | |
<color>#ffff33</color> | |
<shadowcolor>#000000</shadowcolor> | |
<shadowoffset>2,2</shadowoffset> | |
<shadowalpha>200</shadowalpha> | |
</fontdef> | |
<fontdef name="small_info" from="basesmaller"> | |
<color>#f0f0f0</color> | |
</fontdef> | |
<!-- State variations on small font --> | |
<fontdef name="basesmall_normal_selected" from="basesmallbold"> | |
<color>#ffffff</color> | |
</fontdef> | |
<fontdef name="basesmall_normal" from="basesmall"> | |
<color>#ffffff</color> | |
</fontdef> | |
<fontdef name="basesmall_normal_inactive" from="basesmall"> | |
<color>#cccccc</color> | |
</fontdef> | |
<fontdef name="basesmall_warning_selected" from="basesmallbold"> | |
<color>#ffff00</color> | |
</fontdef> | |
<fontdef name="basesmall_warning" from="basesmall"> | |
<color>#ffff00</color> | |
</fontdef> | |
<fontdef name="basesmall_favourite_selected" from="basesmallbold"> | |
<color>#dddd44</color> | |
</fontdef> | |
<fontdef name="basesmall_favourite" from="basesmall"> | |
<color>#bbbb33</color> | |
</fontdef> | |
<fontdef name="basesmall_favourite_unavailable" from="basesmall"> | |
<color>#9999cc</color> | |
</fontdef> | |
<fontdef name="basesmall_error_selected" from="basesmallbold"> | |
<color>#900800</color> | |
</fontdef> | |
<fontdef name="basesmall_error" from="basesmall"> | |
<color>#700700</color> | |
</fontdef> | |
<fontdef name="basesmall_disabled_selected" from="basesmallbold"> | |
<color>#f0f0f0</color> | |
</fontdef> | |
<fontdef name="basesmall_disabled" from="basesmall"> | |
<color>#b0b0b0</color> | |
</fontdef> | |
<fontdef name="basesmall_running_selected" from="basesmallbold"> | |
<color>#24E024</color> | |
</fontdef> | |
<fontdef name="basesmall_running" from="basesmall"> | |
<color>#00DD00</color> | |
</fontdef> | |
<fontdef name="basesmall_textedit" from="basesmall"> | |
<color>#000000</color> | |
</fontdef> | |
<fontdef name="basesmall_normal_button" from="basesmallbold"> | |
<color>#FFFFFF</color> | |
</fontdef> | |
<fontdef name="basesmall_selected_button" from="basesmallbold"> | |
<color>#FFFFFF</color> | |
</fontdef> | |
<fontdef name="basesmall_disabled_button" from="basesmallbold"> | |
<color>#9999cc</color> | |
</fontdef> | |
<!-- State variations on medium font --> | |
<fontdef name="basemedium_normal" from="basemediumbold"> | |
<color>#9999cc</color> | |
</fontdef> | |
<fontdef name="basemedium_normal_selected" from="basemedium"> | |
<color>#FFFFFF</color> | |
</fontdef> | |
<fontdef name="basemedium_disabled" from="basemedium"> | |
<color>#666666</color> | |
</fontdef> | |
<fontdef name="basemedium_highlight" from="basemediumbold"> | |
<color>#FFFF33</color> | |
</fontdef> | |
<fontdef name="basemedium_normal_button" from="basemediumbold"> | |
<color>#00aa00</color> | |
</fontdef> | |
<fontdef name="basemedium_selected_button" from="basemediumbold"> | |
<color>#24E024</color> | |
</fontdef> | |
<fontdef name="basemedium_disabled_button" from="basemediumbold"> | |
<color>#9999cc</color> | |
</fontdef> | |
<!-- Fonts for specific screens --> | |
<fontdef name="deleterecordings_filesize_font" from="basemedium"> | |
<pixelsize>40</pixelsize> | |
<color>#bbbb33</color> | |
<weight>bold</weight> | |
</fontdef> | |
<fontdef name="baseguide" from="basesmall"> | |
<pixelsize>20</pixelsize> | |
<weight>normal</weight> | |
</fontdef> | |
<!-- Base definition of a shape used as a background on many screens --> | |
<shape name="basebackground"> | |
<area>0,0,10,10</area> | |
<type>roundbox</type> | |
<fill color="#330000" alpha="120" /> | |
<line color="#ff0000" alpha="255" width="2" /> | |
<cornerradius>12</cornerradius> | |
</shape> | |
<!-- Base definition of a shape used as a background on many popups --> | |
<shape name="basepopupbackground" from="basebackground"> | |
<fill style="gradient"> | |
<gradient direction="vertical" alpha="255"> | |
<stop position="0" color="#311111" /> | |
<stop position="50" color="#766666" /> | |
<stop position="100" color="#311111" /> | |
</gradient> | |
</fill> | |
</shape> | |
<!-- Base definition of a shape used as a background to many widgets --> | |
<shape name="basewidgetshape"> | |
<area>0,0,100%,100%</area> | |
<type>roundbox</type> | |
<cornerradius>4</cornerradius> | |
<fill color="#aa0000" alpha="120" /> | |
<line color="#cc0000" width="3" /> | |
</shape> | |
<shape name="baseselectedwidgetshape" from="basewidgetshape"> | |
<fill style="gradient"> | |
<gradient start="#aa0000" end="#ff0000" alpha="200" direction="vertical" /> | |
</fill> | |
<line color="#ff0000" width="3" /> | |
</shape> | |
<shape name="baseinactivewidgetshape" from="basewidgetshape"> | |
<fill color="#880000" alpha="120" /> | |
</shape> | |
<!-- Base definition of a vertical scrollbar --> | |
<scrollbar name="basevertscrollbar"> | |
<area>1114,0,14,970</area> | |
<layout>vertical</layout> | |
<hidedelay>0</hidedelay> | |
<shape name="background"> | |
<area>0,0,100%,100%</area> | |
<type>roundbox</type> | |
<line color="#aaaaaa" alpha="255" width="1" /> | |
<fill style="gradient"> | |
<gradient direction="diagonal"> | |
<stop position="0" color="#999999" alpha="255" /> | |
<stop position="100" color="#999999" alpha="120" /> | |
</gradient> | |
</fill> | |
<cornerradius>12</cornerradius> | |
</shape> | |
<shape name="slider"> | |
<area>0,0,14,40</area> | |
<type>roundbox</type> | |
<line color="#0895f8" alpha="255" width="1" /> | |
<fill style="gradient"> | |
<gradient direction="diagonal"> | |
<stop position="0" color="#ff0000" alpha="255" /> | |
<stop position="100" color="#ff0000" alpha="120" /> | |
</gradient> | |
</fill> | |
<cornerradius>12</cornerradius> | |
</shape> | |
</scrollbar> | |
<!-- Base definition of a horizontal scrollbar --> | |
<scrollbar name="basehorizscrollbar" from="basevertscrollbar"> | |
<area>20,1030,1880,14</area> | |
<layout>horizontal</layout> | |
<shape name="slider"> | |
<area>0,0,40,14</area> | |
</shape> | |
</scrollbar> | |
<!-- Base definition of a buttonlist up scroll arrow --> | |
<statetype name="baseupscrollarrow"> | |
<position>10,10</position> | |
<state type="off"> | |
<imagetype name="upon"> | |
<filename>uparrow.png</filename> | |
<alpha>60</alpha> | |
</imagetype> | |
</state> | |
<state type="full"> | |
<imagetype name="upoff"> | |
<filename>uparrow.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
<!-- Base definition of a buttonlist down scroll arrow --> | |
<statetype name="basedownscrollarrow"> | |
<position>10,10</position> | |
<state type="off"> | |
<imagetype name="dnon"> | |
<filename>downarrow.png</filename> | |
<alpha>60</alpha> | |
</imagetype> | |
</state> | |
<state type="full"> | |
<imagetype name="dnoff"> | |
<filename>downarrow.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
<!-- Base definition of a spinbox left arrow --> | |
<statetype name="baseleftarrow"> | |
<position>10,10</position> | |
<state type="off"> | |
<imagetype name="upon"> | |
<filename>leftarrow.png</filename> | |
<alpha>60</alpha> | |
</imagetype> | |
</state> | |
<state type="full"> | |
<imagetype name="upoff"> | |
<filename>leftarrow.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
<!-- Base definition of a spinbox right arrow --> | |
<statetype name="baserightarrow"> | |
<position>10,10</position> | |
<state type="off"> | |
<imagetype name="dnon"> | |
<filename>rightarrow.png</filename> | |
<alpha>60</alpha> | |
</imagetype> | |
</state> | |
<state type="full"> | |
<imagetype name="dnoff"> | |
<filename>rightarrow.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
<buttonlist name="basebuttonlist"> | |
<area>0,0,300,250</area> | |
<layout>vertical</layout> | |
<wrapstyle>selection</wrapstyle> | |
<spacing>4</spacing> | |
<buttonarea>0,0,100%,97%</buttonarea> | |
<statetype name="buttonitem"> | |
<area>0,0,100%,30</area> | |
<state name="active"> | |
<area>0,0,100%,30</area> | |
<shape name="background"> | |
<area>0,0,100%,100%</area> | |
<fill style="gradient"> | |
<gradient start="#505050" end="#000000" alpha="200" /> | |
</fill> | |
</shape> | |
<textarea name="buttontext"> | |
<area>6,0,95%,30</area> | |
<font>basesmall</font> | |
<cutdown>yes</cutdown> | |
<align>left,vcenter</align> | |
</textarea> | |
<statetype name="buttoncheck"> | |
<position>91%,4</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>94%,6</position> | |
<filename>lb-arrow.png</filename> | |
</imagetype> | |
</state> | |
<state name="selectedactive" from="active"> | |
<shape name="background"> | |
<fill style="gradient"> | |
<gradient start="#ff0000" end="#440000" alpha="255" /> | |
</fill> | |
</shape> | |
</state> | |
<state name="selectedinactive" from="active"> | |
<shape name="background"> | |
<fill style="gradient"> | |
<gradient start="#ff0000" end="#440000" alpha="150" /> | |
</fill> | |
</shape> | |
<textarea name="buttontext"> | |
<font>basesmall_normal_inactive</font> | |
</textarea> | |
</state> | |
</statetype> | |
<statetype name="upscrollarrow" from="baseupscrollarrow"> | |
<position>10,96%</position> | |
</statetype> | |
<statetype name="downscrollarrow" from="basedownscrollarrow"> | |
<position>40,96%</position> | |
</statetype> | |
</buttonlist> | |
<!-- Base definition of a buttonlist in wide configuration --> | |
<buttonlist name="basebuttonlist2"> | |
<area>0,0,1240,380</area> | |
<layout>vertical</layout> | |
<spacing>4</spacing> | |
<wrapstyle>selection</wrapstyle> | |
<buttonarea>0,0,1200,376</buttonarea> | |
<statetype name="buttonitem"> | |
<area>0,0,1200,26</area> | |
<state name="active"> | |
<textarea name="buttontext"> | |
<area>34,2,1156,24</area> | |
<font>basesmall_normal</font> | |
<font state="disabled">basesmall_disabled</font> | |
<font state="error">basesmall_error</font> | |
<font state="warning">basesmall_warning</font> | |
<font state="normal">basesmall_normal</font> | |
<font state="running">basesmall_running</font> | |
<align>vcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedactive"> | |
<shape name="selectbar"> | |
<area>20,0,1156,30</area> | |
<type>roundbox</type> | |
<line color="#ff0000" alpha="255" width="1" /> | |
<fill color="#ff0000" alpha="128" /> | |
<cornerradius>4</cornerradius> | |
</shape> | |
<textarea name="buttontext"> | |
<area>34,2,1156,24</area> | |
<font>base_normal_selected</font> | |
<font state="disabled">basesmall_disabled_selected</font> | |
<font state="error">basesmall_error_selected</font> | |
<font state="warning">basesmall_warning_selected</font> | |
<font state="normal">basesmall_normal_selected</font> | |
<font state="running">basesmall_running_selected</font> | |
<align>vcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedinactive" > | |
<shape name="selectbar"> | |
<area>28,0,1144,30</area> | |
<type>roundbox</type> | |
<line color="#ff0000" alpha="100" width="1" /> | |
<fill color="#dd0000" alpha="50" /> | |
<cornerradius>4</cornerradius> | |
</shape> | |
<textarea name="buttontext"> | |
<area>34,2,1156,24</area> | |
<font>base_normal_selected</font> | |
<font state="disabled">basesmall_disabled_selected</font> | |
<font state="error">basesmall_error_selected</font> | |
<font state="warning">basesmall_warning_selected</font> | |
<font state="normal">basesmall_normal_selected</font> | |
<font state="running">basesmall_running_selected</font> | |
<align>vcenter</align> | |
</textarea> | |
</state> | |
</statetype> | |
<statetype name="upscrollarrow" from="baseupscrollarrow"> | |
<position>1190,6</position> | |
</statetype> | |
<statetype name="downscrollarrow" from="basedownscrollarrow"> | |
<position>1190,320</position> | |
</statetype> | |
</buttonlist> | |
<!-- Base definition of a buttonlist with a scrollbar --> | |
<buttonlist name="basebuttonlist3"> | |
<area>0,0,1240,380</area> | |
<layout>vertical</layout> | |
<spacing>4</spacing> | |
<wrapstyle>selection</wrapstyle> | |
<buttonarea>0,0,100%,100%</buttonarea> | |
<statetype name="buttonitem"> | |
<area>0,0,100%-14,26</area> | |
<state name="active"> | |
<textarea name="buttontext"> | |
<area>34,2,1156,24</area> | |
<font>basesmall_normal</font> | |
<font state="disabled">basesmall_disabled</font> | |
<font state="error">basesmall_error</font> | |
<font state="warning">basesmall_warning</font> | |
<font state="normal">basesmall_normal</font> | |
<font state="running">basesmall_running</font> | |
<align>vcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedactive"> | |
<shape name="selectbar"> | |
<area>20,0,100%-14,30</area> | |
<type>roundbox</type> | |
<line color="#ff0000" alpha="255" width="1" /> | |
<fill color="#ff0000" alpha="128" /> | |
<cornerradius>4</cornerradius> | |
</shape> | |
<textarea name="buttontext"> | |
<area>34,2,1156,24</area> | |
<font>base_normal_selected</font> | |
<font state="disabled">basesmall_disabled_selected</font> | |
<font state="error">basesmall_error_selected</font> | |
<font state="warning">basesmall_warning_selected</font> | |
<font state="normal">basesmall_normal_selected</font> | |
<font state="running">basesmall_running_selected</font> | |
<align>vcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedinactive" > | |
<shape name="selectbar"> | |
<area>28,0,100%-14,30</area> | |
<type>roundbox</type> | |
<line color="#ff0000" alpha="100" width="1" /> | |
<fill color="#dd0000" alpha="50" /> | |
<cornerradius>4</cornerradius> | |
</shape> | |
<textarea name="buttontext"> | |
<area>34,2,1156,24</area> | |
<font>base_normal_selected</font> | |
<font state="disabled">basesmall_disabled_selected</font> | |
<font state="error">basesmall_error_selected</font> | |
<font state="warning">basesmall_warning_selected</font> | |
<font state="normal">basesmall_normal_selected</font> | |
<font state="running">basesmall_running_selected</font> | |
<align>vcenter</align> | |
</textarea> | |
</state> | |
</statetype> | |
<scrollbar name="scrollbar" from="basevertscrollbar"> | |
<area>100%-14,0,14,100%</area> | |
</scrollbar> | |
</buttonlist> | |
<!-- Base definition of a simple buttonlist with a scrollbar --> | |
<buttonlist name="basebuttonlist4"> | |
<area>0,0,1180,380</area> | |
<layout>vertical</layout> | |
<spacing>4</spacing> | |
<wrapstyle>selection</wrapstyle> | |
<buttonarea>0,0,100%-14,100%</buttonarea> | |
<statetype name="buttonitem"> | |
<state name="active"> | |
<area>0,0,1160,26</area> | |
<textarea name="buttontext"> | |
<area>10,2,100%-10,100%</area> | |
<font>basesmall_normal</font> | |
<font state="disabled">basesmall_disabled</font> | |
<font state="error">basesmall_error</font> | |
<font state="warning">basesmall_warning</font> | |
<font state="normal">basesmall_normal</font> | |
<font state="running">basesmall_running</font> | |
<align>vcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedactive"> | |
<area>0,0,1160,26</area> | |
<shape name="selectbar"> | |
<area>0,0,100%,30</area> | |
<type>roundbox</type> | |
<line color="#ff0000" alpha="255" width="1" /> | |
<fill color="#ff0000" alpha="128" /> | |
<cornerradius>4</cornerradius> | |
</shape> | |
<textarea name="buttontext"> | |
<area>10,2,100%-10,100%</area> | |
<font>base_normal_selected</font> | |
<font state="disabled">basesmall_disabled_selected</font> | |
<font state="error">basesmall_error_selected</font> | |
<font state="warning">basesmall_warning_selected</font> | |
<font state="normal">basesmall_normal_selected</font> | |
<font state="running">basesmall_running_selected</font> | |
<align>vcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedinactive" > | |
<area>0,0,1160,26</area> | |
<shape name="selectbar"> | |
<area>0,0,100%,30</area> | |
<type>roundbox</type> | |
<line color="#ff0000" alpha="100" width="1" /> | |
<fill color="#dd0000" alpha="50" /> | |
<cornerradius>4</cornerradius> | |
</shape> | |
<textarea name="buttontext"> | |
<area>10,2,100%-10,100%</area> | |
<font>base_normal_selected</font> | |
<font state="disabled">basesmall_disabled_selected</font> | |
<font state="error">basesmall_error_selected</font> | |
<font state="warning">basesmall_warning_selected</font> | |
<font state="normal">basesmall_normal_selected</font> | |
<font state="running">basesmall_running_selected</font> | |
<align>vcenter</align> | |
</textarea> | |
</state> | |
</statetype> | |
<scrollbar name="scrollbar" from="basevertscrollbar"> | |
<area>100%-14,0,14,100%</area> | |
</scrollbar> | |
</buttonlist> | |
<!-- Base definition of a button --> | |
<button name="basebutton"> | |
<area>0,0,154,44</area> | |
<statetype name="buttonstate"> | |
<area>0,0,100%,100%</area> | |
<state name="active"> | |
<area>0,0,100%,100%</area> | |
<shape name="background" from="basewidgetshape" /> | |
<textarea name="text" > | |
<area>4,2,100%-4,100%-2</area> | |
<align>allcenter</align> | |
<font>basemedium_normal_button</font> | |
<font state="selected">basemedium_selected_button</font> | |
<font state="disabled">basemedium_disabled_button</font> | |
</textarea> | |
</state> | |
<state name="selected" from="active"> | |
<shape name="background" from="baseselectedwidgetshape" /> | |
</state> | |
<state name="disabled" from="active" /> | |
<state name="pushed" from="active"> | |
<textarea name="text" > | |
<area>4,4,100%-4,100%</area> | |
</textarea> | |
</state> | |
</statetype> | |
</button> | |
<!-- Base definition of a wide button --> | |
<button name="basewidebutton" from="basebutton"> | |
<area>0,0,291,44</area> | |
</button> | |
<!-- Base definition of a very wide button --> | |
<button name="baseverywidebutton" from="basebutton"> | |
<area>0,0,696,44</area> | |
</button> | |
<!-- Base definition of 'search' button, those little search launch buttons | |
which appear next to some text input fields in forms --> | |
<button name="basesearchbutton" from="basebutton"> | |
<area>0,0,32,32</area> | |
</button> | |
<!-- Base definition of checkbox --> | |
<checkbox name="basecheckbox" > | |
<area>0,0,32,32</area> | |
<statetype name="background"> | |
<state name="active"> | |
<area>0,0,32,32</area> | |
<shape name="background" from="basewidgetshape" /> | |
</state> | |
<state name="selected" from="active"> | |
<area>0,0,32,32</area> | |
<shape name="background" from="baseselectedwidgetshape" /> | |
</state> | |
<state name="disabled" /> | |
</statetype> | |
<statetype name="checkstate"> | |
<position>4,4</position> | |
<state type="off" /> | |
<state type="half"> | |
<imagetype name="background"> | |
<filename>checkbox_halfcheck.png</filename> | |
</imagetype> | |
</state> | |
<state type="full"> | |
<imagetype name="mark"> | |
<filename>checkbox_fullcheck.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
</checkbox> | |
<!-- Base definition of a spinbox --> | |
<spinbox name="basespinbox"> | |
<area>0,0,90,40</area> | |
<layout>horizontal</layout> | |
<statetype name="buttonitem"> | |
<area>0,0,100%,100%</area> | |
<state name="active"> | |
<area>0,0,-20,100%</area> | |
<shape name="background" from="basewidgetshape" /> | |
<textarea name="buttontext"> | |
<area>6,4,-6,-4</area> | |
<font>basesmall</font> | |
<cutdown>yes</cutdown> | |
<align>right,vcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedactive" from="active"> | |
<shape name="background" from="baseselectedwidgetshape" /> | |
</state> | |
<state name="selectedinactive" from="active" /> | |
</statetype> | |
<statetype name="downscrollarrow" from="baserightarrow"> | |
<position>100%-14,2</position> | |
</statetype> | |
<statetype name="upscrollarrow" from="baseleftarrow"> | |
<position>100%-14,22</position> | |
</statetype> | |
</spinbox> | |
<!-- Base definition of a spinbox with centered strings --> | |
<spinbox name="base_centered_spinbox" from="basespinbox"> | |
<area>0,0,90,40</area> | |
<layout>horizontal</layout> | |
<statetype name="buttonitem"> | |
<state name="active"> | |
<shape name="background" from="basewidgetshape" /> | |
<textarea name="buttontext"> | |
<font>basesmall</font> | |
<cutdown>no</cutdown> | |
<align>allcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedactive" from="active"> | |
<shape name="background" from="baseselectedwidgetshape" /> | |
</state> | |
<state name="selectedinactive" from="active" /> | |
</statetype> | |
</spinbox> | |
<!-- Base definition of a wide spinbox (room for strings) --> | |
<spinbox name="basewidespinbox" from="basespinbox"> | |
<area>0,0,696,44</area> | |
</spinbox> | |
<!-- Base definition of a list in 'selector' configuration --> | |
<buttonlist name="baseselector"> | |
<area>0,0,220,44</area> | |
<layout>horizontal</layout> | |
<buttonarea>0,0,-20,100%</buttonarea> | |
<statetype name="buttonitem"> | |
<area>0,0,100%,100%</area> | |
<state name="active"> | |
<area>0,0,100%,100%</area> | |
<shape name="background" from="basewidgetshape" /> | |
<textarea name="buttontext"> | |
<area>10,4,-40,-4</area> | |
<font>basesmall</font> | |
<cutdown>yes</cutdown> | |
<align>left,vcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedinactive" from="active" /> | |
<state name="selectedactive" from="active"> | |
<shape name="background" from="baseselectedwidgetshape" /> | |
</state> | |
</statetype> | |
<statetype name="downscrollarrow" from="baserightarrow"> | |
<position>100%-14,2</position> | |
</statetype> | |
<statetype name="upscrollarrow" from="baseleftarrow"> | |
<position>100%-14,22</position> | |
</statetype> | |
</buttonlist> | |
<!-- Base definition of a list in medium 'selector' configuration --> | |
<buttonlist name="basemediumselector" from="baseselector"> | |
<area>0,0,376,44</area> | |
</buttonlist> | |
<!-- Base definition of a list in wide 'selector' configuration --> | |
<buttonlist name="basewideselector" from="baseselector"> | |
<area>0,0,696,44</area> | |
</buttonlist> | |
<buttonlist name="baseverywideselector" from="baseselector"> | |
<area>0,0,710,44</area> | |
</buttonlist> | |
<!-- Base definition of a textarea --> | |
<textarea name="basetextarea"> | |
<area>0,0,0,0</area> | |
<font>small</font> | |
<multiline>no</multiline> | |
<align>left</align> | |
</textarea> | |
<!-- Base definition of a text label --> | |
<textarea name="baselabel" from="basetextarea"> | |
<font>small_label</font> | |
</textarea> | |
<!-- Base definition of a textedit --> | |
<textedit name="basetextedit"> | |
<area>0,0,376,50</area> | |
<statetype name="background"> | |
<area>0,0,100%,100%</area> | |
<state name="active"> | |
<area>0,0,100%,100%</area> | |
<shape name="background" from="basewidgetshape" /> | |
<shape name="textbackground"> | |
<area>10,10,-10,-10</area> | |
<type>roundbox</type> | |
<cornerradius>4</cornerradius> | |
<fill color="#FFFFFF" alpha="200" /> | |
</shape> | |
</state> | |
<state name="selected" from="active"> | |
<shape name="background" from="baseselectedwidgetshape" /> | |
<shape name="textbackground"> | |
<fill color="#FFFFFF" alpha="255" /> | |
</shape> | |
</state> | |
<state name="inactive" from="active" /> | |
</statetype> | |
<imagetype name="cursor"> | |
<filename>ui/cursor.png</filename> | |
</imagetype> | |
<textarea name="text"> | |
<area>12,12,-12,-12</area> | |
<font>basesmall_textedit</font> | |
</textarea> | |
</textedit> | |
<!-- Base definition of a multi-line textedit --> | |
<textedit name="basemultilinetextedit"> | |
<area>0,0,376,110</area> | |
<statetype name="background"> | |
<area>0,0,100%,100%</area> | |
<state name="active"> | |
<area>0,0,100%,100%</area> | |
<shape name="background" from="basewidgetshape" /> | |
<shape name="textbackground"> | |
<area>10,10,-10,-10</area> | |
<type>roundbox</type> | |
<cornerradius>4</cornerradius> | |
<fill color="#FFFFFF" alpha="200" /> | |
</shape> | |
</state> | |
<state name="selected" from="active"> | |
<shape name="background" from="baseselectedwidgetshape" /> | |
<shape name="textbackground"> | |
<fill color="#FFFFFF" alpha="255" /> | |
</shape> | |
</state> | |
<state name="inactive" from="active" /> | |
</statetype> | |
<imagetype name="cursor"> | |
<filename>ui/cursor.png</filename> | |
</imagetype> | |
<textarea name="text"> | |
<area>12,12,-12,-12</area> | |
<font>basesmall_textedit</font> | |
<multiline>yes</multiline> | |
</textarea> | |
</textedit> | |
<!-- Base definition of a progressbar --> | |
<progressbar name="baseprogressbar"> | |
<area>0,0,536,38</area> | |
<layout>horizontal</layout> | |
<style>reveal</style> | |
<imagetype name="background"> | |
<area>0,0,100%,100%</area> | |
<filename>progressbar_background.png</filename> | |
</imagetype> | |
<imagetype name="progressimage"> | |
<area>0,0,100%,100%</area> | |
<filename>progressbar_fill.png</filename> | |
</imagetype> | |
</progressbar> | |
<!-- Base definition of a webbrowser --> | |
<webbrowser name="basewebbrowser"> | |
<area>20,20,1240,500</area> | |
<browserarea>0,0,100%-16,100%-16</browserarea> | |
<zoom>1.0</zoom> | |
<scrollduration>500</scrollduration> | |
<scrollbar name="vertscrollbar" from="basevertscrollbar"> | |
<area>100%-14,0,14,100%-14</area> | |
</scrollbar> | |
<scrollbar name="horizscrollbar" from="basehorizscrollbar"> | |
<area>0,100%-14,100%-14,14</area> | |
</scrollbar> | |
</webbrowser> | |
<!-- Base definition of a shape used as a background on many screens --> | |
<shape name="basebackground"> | |
<area>0,0,0,0</area> | |
<type>roundbox</type> | |
<fill color="#0c58a7" alpha="120" /> | |
<line color="#FFFFFF" alpha="255" width="2" /> | |
<cornerradius>12</cornerradius> | |
</shape> | |
<!-- a program information group used on a few schedule editor screens --> | |
<group name="baseprogramdetailsgroup"> | |
<area>0,0,1232,280</area> | |
<shape name="details_background" from="basebackground"> | |
<area>0,0,1230,276</area> | |
</shape> | |
<textarea name="title" from="basetextarea"> | |
<area>26,10,1180,46</area> | |
<font>baselarge</font> | |
</textarea> | |
<textarea name="timedate" from="baselabel"> | |
<area>26,246,440,28</area> | |
</textarea> | |
<textarea name="template" from="baselabel"> | |
<area>516,246,340,28</area> | |
<align>left</align> | |
<template>%Using |TEMPLATE| Template%</template> | |
</textarea> | |
<textarea name="channel" from="baselabel"> | |
<area>1000,246,200,28</area> | |
<align>right</align> | |
</textarea> | |
<textarea name="description" from="basetextarea"> | |
<area>26,46,1180,200</area> | |
<multiline>yes</multiline> | |
<template>%"|SUBTITLE|" %%LONGREPEAT%%(|STARS|) %%DESCRIPTION%</template> | |
</textarea> | |
</group> | |
<!-- A gallery button showing a picture, video or folder --> | |
<group name="galleryactivebutton"> | |
<area>0,0,100%,100%</area> | |
<!-- Show a background image depending on node type --> | |
<statetype name="buttontype"> | |
<area>0,0,100%,100%</area> | |
<state name="subfolder"> | |
<area>0,0,100%,100%</area> | |
<imagetype name="background"> | |
<area>0,0,100%,100%</area> | |
<filename>shared/folder-reg.png</filename> | |
</imagetype> | |
</state> | |
<state name="device" from="subfolder"/> | |
<state name="image"> | |
<area>0,0,100%,100%</area> | |
<imagetype name="background"> | |
<area>0,0,100%,100%</area> | |
<filename>shared/grid_back_reg.png</filename> | |
<alpha>64</alpha> | |
</imagetype> | |
</state> | |
<state name="video"> | |
<area>0,0,100%,100%</area> | |
<imagetype name="background"> | |
<area>0,0,100%,100%</area> | |
<filename>shared/movie-reg.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
<!-- Show how many images / directories are in this directory --> | |
<textarea name="childcount" from="basetextarea"> | |
<area>5%,0,100%,15%</area> | |
<font>basesmaller</font> | |
<align>left,vcenter</align> | |
</textarea> | |
<!-- Shows a picture image --> | |
<imagetype name="buttonimage"> | |
<area>2%,2%,98%,98%</area> | |
<preserveaspect>yes</preserveaspect> | |
</imagetype> | |
<!-- Shows a single folder image --> | |
<imagetype name="folderimage"> | |
<area>4%,15%,97%,98%</area> | |
<preserveaspect>yes</preserveaspect> | |
</imagetype> | |
<!-- Shows a video image --> | |
<imagetype name="videoimage"> | |
<area>4%,10%,97%,90%</area> | |
<preserveaspect>yes</preserveaspect> | |
</imagetype> | |
<!-- Shows 4 images for default folder --> | |
<imagetype name="thumbimage0"> | |
<area>4%,15%,47%,47%</area> | |
<preserveaspect>true</preserveaspect> | |
</imagetype> | |
<imagetype name="thumbimage1" from="thumbimage0"> | |
<area>51%,15%,92%,47%</area> | |
</imagetype> | |
<imagetype name="thumbimage2" from="thumbimage0"> | |
<area>4%,57%,47%,93%</area> | |
</imagetype> | |
<imagetype name="thumbimage3" from="thumbimage0"> | |
<area>51%,57%,92%,93%</area> | |
</imagetype> | |
<!-- Show up arrow on parent dir with ancestors --> | |
<statetype name="parenttype"> | |
<area>0,0,100%,100%</area> | |
<state name="upfolder"> | |
<area>0,0,100%,100%</area> | |
<imagetype name="icon"> | |
<area>4%,14%,20%,10%</area> | |
<filename>uparrow.png</filename> | |
<preserveaspect>no</preserveaspect> | |
<alpha>208</alpha> | |
</imagetype> | |
</state> | |
</statetype> | |
<!-- Darken hidden files/ folders --> | |
<statetype name="buttonstate"> | |
<area>0,0,100%,100%</area> | |
<state name="visible"/> | |
<state name="hidden"> | |
<area>0,0,100%,100%</area> | |
<shape name="hidden_background_shape"> | |
<area>0,0,100%,100%</area> | |
<type>box</type> | |
<fill color="#000000" alpha="128"/> | |
</shape> | |
</state> | |
</statetype> | |
<!-- Shows that the image was marked/selected and | |
might be manipulated with other images --> | |
<statetype name="buttoncheck"> | |
<area>0,0,100%,100%</area> | |
<state type="full"> | |
<area>42%,49%,26%,26%</area> | |
<shape name="marked_background"> | |
<area>0,0,100%,100%</area> | |
<type>ellipse</type> | |
<fill color="#000000"/> | |
</shape> | |
<imagetype name="marked"> | |
<area>0,0,100%,100%</area> | |
<filename>schedule_recording.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
<textarea name="buttontext"> | |
<area>2%,100%-22,99%,22</area> | |
<font>basesmaller</font> | |
<align>allcenter</align> | |
</textarea> | |
</group> | |
<!-- A selected gallery button of a picture, video or folder --> | |
<group name="galleryselectedbutton" from="galleryactivebutton"> | |
<area>0,0,100%,100%</area> | |
<statetype name="buttontype"> | |
<area>0,0,100%,100%</area> | |
<state name="subfolder"> | |
<area>0,0,100%,100%</area> | |
<imagetype name="background"> | |
<area>0,0,100%,100%</area> | |
<filename>shared/folder-sel.png</filename> | |
</imagetype> | |
</state> | |
<state name="device" from="subfolder"/> | |
<state name="image"> | |
<area>0,0,100%,100%</area> | |
<imagetype name="background"> | |
<area>0,0,100%,100%</area> | |
<filename>shared/grid_back_sel.png</filename> | |
<alpha>255</alpha> | |
</imagetype> | |
</state> | |
<state name="video"> | |
<area>0,0,100%,100%</area> | |
<imagetype name="background"> | |
<area>0,0,100%,100%</area> | |
<filename>shared/movie-sel.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
</group> | |
<!-- Popup Dialogue Box --> | |
<window name="MythPopupBox"> | |
<area>-1,-1,500,500</area> | |
<animation trigger="AboutToShow"> | |
<section> | |
<alpha start="0" end="255" easingcurve="OutQuart"/> | |
<zoom start="0" end="100" easingcurve="OutQuart"/> | |
</section> | |
</animation> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<imagetype name="headerimg"> | |
<area>20,5,460,75</area> | |
<filename>ui/teddypresents.gif</filename> | |
</imagetype> | |
<textarea name="messagearea" from="basetextarea"> | |
<area>12,80,475,142</area> | |
<multiline>yes</multiline> | |
<align>allcenter</align> | |
</textarea> | |
<buttonlist name="list" from="basebuttonlist"> | |
<area>12,224,475,250</area> | |
<drawfrombottom>yes</drawfrombottom> | |
<showarrow>no</showarrow> | |
<wrapstyle>selection</wrapstyle> | |
<statetype name="buttonitem"> | |
<state name="active"> | |
<textarea name="buttontext"> | |
<area>0,0,100%,30</area> | |
<align>allcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedinactive"> | |
<textarea name="buttontext"> | |
<area>0,0,100%,30</area> | |
<align>allcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedactive"> | |
<textarea name="buttontext"> | |
<area>0,0,100%,30</area> | |
<align>allcenter</align> | |
</textarea> | |
</state> | |
</statetype> | |
</buttonlist> | |
</window> | |
<!-- Fullscreen Dialogue Box --> | |
<window name="MythDialogBox"> | |
<animation trigger="AboutToShow"> | |
<section> | |
<alpha start="0" end="255" easingcurve="OutQuart"/> | |
<zoom start="0" end="100" easingcurve="OutQuart"/> | |
</section> | |
</animation> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="background" from="basebackground"> | |
<area>10,10,1260,700</area> | |
<fill color="#0e58a7" alpha="255" /> | |
</shape> | |
<textarea name="title" from="basetextarea"> | |
<area>20,14,1260,50</area> | |
<font>baselarge</font> | |
<align>allcenter</align> | |
</textarea> | |
<textarea name="messagearea" from="basetextarea"> | |
<area>100,100,1080,210</area> | |
<multiline>yes</multiline> | |
<font>basemedium</font> | |
<align>allcenter</align> | |
</textarea> | |
<buttonlist name="list" from="basebuttonlist"> | |
<area>100,320,1080,350</area> | |
<drawfrombottom>yes</drawfrombottom> | |
<showarrow>no</showarrow> | |
<wrapstyle>selection</wrapstyle> | |
<triggerevent context="Global" action="ESCAPE">LEFT</triggerevent> | |
<triggerevent context="Global" action="SELECT">RIGHT</triggerevent> | |
<statetype name="buttonitem"> | |
<state name="active"> | |
<textarea name="buttontext"> | |
<area>0,0,100%,30</area> | |
<align>allcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedinactive"> | |
<textarea name="buttontext"> | |
<area>0,0,100%,30</area> | |
<align>allcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedactive"> | |
<textarea name="buttontext"> | |
<area>0,0,100%,30</area> | |
<align>allcenter</align> | |
</textarea> | |
</state> | |
</statetype> | |
</buttonlist> | |
</window> | |
<window name="MythBusyDialog"> | |
<area>-1,-1,588,170</area> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<imagetype name="animation"> | |
<area>40,40,105,105</area> | |
<filepattern low="0" high="24">busyimages/%1.png</filepattern> | |
<delay>250</delay> | |
</imagetype> | |
<textarea name="message" from="basetextarea"> | |
<area>170,20,390,126</area> | |
<align>allcenter</align> | |
<multiline>yes</multiline> | |
</textarea> | |
</window> | |
<window name="MythProgressDialog"> | |
<area>-1,-1,588,170</area> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<textarea name="message" from="basetextarea"> | |
<area>20,20,548,60</area> | |
<multiline>yes</multiline> | |
<align>allcenter</align> | |
</textarea> | |
<progressbar name="progressbar" from="baseprogressbar"> | |
<position>22,80</position> | |
</progressbar> | |
<textarea name="progresstext" from="basetextarea"> | |
<area>30,130,200,30</area> | |
<align>left,top</align> | |
<value>0%</value> | |
</textarea> | |
</window> | |
<window name="MythConfirmationDialog"> | |
<area>-1,-1,588,170</area> | |
<animation trigger="AboutToShow"> | |
<section> | |
<alpha start="0" end="255" easingcurve="OutQuart"/> | |
<zoom start="0" end="100" easingcurve="OutQuart"/> | |
</section> | |
</animation> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<textarea name="message" from="basetextarea"> | |
<area>14,14,560,90</area> | |
<align>allcenter</align> | |
<multiline>yes</multiline> | |
<cutdown>no</cutdown> | |
</textarea> | |
<button name="cancel" from="basebutton"> | |
<position>90,110</position> | |
<value>Cancel</value> | |
</button> | |
<button name="ok" from="basebutton"> | |
<position>338,110</position> | |
<value>OK</value> | |
</button> | |
</window> | |
<window name="MythTextInputDialog"> | |
<area>-1,-1,588,170</area> | |
<animation trigger="AboutToShow"> | |
<section> | |
<alpha start="0" end="255" easingcurve="OutQuart"/> | |
<zoom start="0" end="100" easingcurve="OutQuart"/> | |
</section> | |
</animation> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<textarea name="message" from="basetextarea"> | |
<area>20,20,548,30</area> | |
<align>allcenter</align> | |
</textarea> | |
<textedit name="input" from="basetextedit"> | |
<position>102,50</position> | |
</textedit> | |
<button name="ok" from="basebutton"> | |
<position>110,110</position> | |
<value>OK</value> | |
</button> | |
</window> | |
<window name="MythSearchDialog"> | |
<area>-1,-1,500,500</area> | |
<animation trigger="AboutToShow"> | |
<section> | |
<alpha start="0" end="255" easingcurve="OutQuart"/> | |
<zoom start="0" end="100" easingcurve="OutQuart"/> | |
</section> | |
</animation> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<textarea name="title" from="basetextarea"> | |
<area>12,20,470,60</area> | |
<multiline>yes</multiline> | |
<align>allcenter</align> | |
</textarea> | |
<textedit name="input" from="basetextedit"> | |
<position>58,84</position> | |
</textedit> | |
<buttonlist name="itemlist" from="basebuttonlist"> | |
<area>12,150,470,270</area> | |
<showarrow>no</showarrow> | |
<statetype name="buttonitem"> | |
<state name="active"> | |
<textarea name="buttontext"> | |
<area>4,0,460,30</area> | |
</textarea> | |
</state> | |
<state name="selectedinactive"> | |
<textarea name="buttontext"> | |
<area>4,0,460,30</area> | |
</textarea> | |
</state> | |
<state name="selectedactive"> | |
<textarea name="buttontext"> | |
<area>4,0,460,30</area> | |
</textarea> | |
</state> | |
</statetype> | |
</buttonlist> | |
<button name="cancel" from="basebutton"> | |
<position>30,436</position> | |
<value>Cancel</value> | |
</button> | |
<button name="ok" from="basebutton"> | |
<position>316,436</position> | |
<value>OK</value> | |
</button> | |
</window> | |
<!-- Popup search dialog used to search button lists --> | |
<window name="MythSearchListDialog"> | |
<area>-1,-1,620,165</area> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<textarea name="title" from="basetextarea"> | |
<area>5,10,600,30</area> | |
<multiline>yes</multiline> | |
<align>allcenter</align> | |
<value>Search List</value> | |
</textarea> | |
<textedit name="searchedit" from="basetextedit"> | |
<position>120,40</position> | |
</textedit> | |
<button name="prevbutton" from="basebutton"> | |
<position>20,105</position> | |
<value>Previous</value> | |
</button> | |
<button name="nextbutton" from="basebutton"> | |
<position>445,105</position> | |
<value>Next</value> | |
</button> | |
<statetype name="searchstate"> | |
<area>210,120,200,30</area> | |
<state name="found"> | |
<textarea name="statustext" from="basetextarea"> | |
<area>0,0,200,30</area> | |
<align>allcenter</align> | |
<font>basesmallgreen</font> | |
<value>Found</value> | |
</textarea> | |
</state> | |
<state name="notfound"> | |
<textarea name="statustext" from="basetextarea"> | |
<area>0,0,200,30</area> | |
<align>allcenter</align> | |
<font>basesmallred</font> | |
<value>Not Found</value> | |
</textarea> | |
</state> | |
</statetype> | |
</window> | |
<window name="MythFileBrowser"> | |
<area>-1,-1,730,510</area> | |
<animation trigger="AboutToShow"> | |
<section> | |
<alpha start="0" end="255" easingcurve="OutQuart"/> | |
<zoom start="0" end="100" easingcurve="OutQuart"/> | |
</section> | |
</animation> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<textedit name="location" from="basetextedit"> | |
<position>40,14</position> | |
</textedit> | |
<buttonlist name="filelist"> | |
<area>4,70,500,440</area> | |
<layout>grid</layout> | |
<buttonarea>0,0,500,430</buttonarea> | |
<statetype name="buttonitem"> | |
<area>0,0,166,106</area> | |
<state name="active"> | |
<area>0,0,166,106</area> | |
<shape name="background" /> | |
<statetype name="nodetype"> | |
<state name="folder"> | |
<imagetype name="icon"> | |
<area>6,4,150,74</area> | |
<filename>shared/directory.png</filename> | |
<preserveaspect>yes</preserveaspect> | |
</imagetype> | |
</state> | |
<state name="upfolder" from="folder"> | |
<imagetype name="icon"> | |
<filename>shared/updirectory.png</filename> | |
</imagetype> | |
</state> | |
<state name="executable" from="folder"> | |
<imagetype name="icon"> | |
<filename>shared/executable.png</filename> | |
</imagetype> | |
</state> | |
<state name="file" from="folder"> | |
<imagetype name="icon"> | |
<filename>shared/file.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
<imagetype name="buttonimage"> | |
<area>4,4,150,74</area> | |
<preserveaspect>true</preserveaspect> | |
</imagetype> | |
<textarea name="buttontext" from="basetextarea"> | |
<area>2,80,160,26</area> | |
<align>allcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedinactive" from="active" /> | |
<state name="selectedactive" from="active"> | |
<shape name="background"> | |
<area>0,0,166,106</area> | |
<fill style="gradient"> | |
<gradient start="#999999" end="#666666" alpha="220" /> | |
</fill> | |
</shape> | |
</state> | |
</statetype> | |
</buttonlist> | |
<imagetype name="preview"> | |
<area>510,126,200,230</area> | |
<preserveaspect>true</preserveaspect> | |
</imagetype> | |
<textarea name="info" from="basetextarea"> | |
<area>520,356,180,26</area> | |
<align>allcenter</align> | |
</textarea> | |
<button name="back" from="basebutton"> | |
<position>530,16</position> | |
<value>Up Level</value> | |
</button> | |
<button name="home" from="basebutton"> | |
<position>530,70</position> | |
<value>Home</value> | |
</button> | |
<button name="cancel" from="basebutton"> | |
<position>530,386</position> | |
<value>Cancel</value> | |
</button> | |
<button name="ok" from="basebutton"> | |
<position>530,440</position> | |
<value>OK</value> | |
</button> | |
</window> | |
<window name="MythTimeInputDialog"> | |
<area>-1,-1,580,165</area> | |
<animation trigger="AboutToShow"> | |
<section> | |
<alpha start="0" end="255" easingcurve="OutQuart"/> | |
<zoom start="0" end="100" easingcurve="OutQuart"/> | |
</section> | |
</animation> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<textarea name="message" from="basetextarea"> | |
<area>10,8,560,50</area> | |
<font>basemedium</font> | |
<align>allcenter</align> | |
<value>Select Time & Date</value> | |
<multiline>true</multiline> | |
</textarea> | |
<buttonlist name="dates" from="baseselector"> | |
<position>40,65</position> | |
</buttonlist> | |
<buttonlist name="times" from="baseselector"> | |
<position>330,65</position> | |
</buttonlist> | |
<button name="ok" from="basebutton"> | |
<position>220,115</position> | |
<value>OK</value> | |
</button> | |
</window> | |
<window name="videowindow"> | |
<shape name="shape1"> | |
<area>0,0,1280,720</area> | |
<type>box</type> | |
<fill color="#000000" alpha="255" /> | |
</shape> | |
<textarea name="title" from="basetextarea"> | |
<area>500,336,280,50</area> | |
<font>baselarge</font> | |
<align>allcenter</align> | |
<value>Please Wait...</value> | |
</textarea> | |
<progressbar name="progress" from="baseprogressbar"> | |
<position>372,425</position> | |
</progressbar> | |
</window> | |
<window name="backgroundwindow"> | |
<imagetype name="background"> | |
<area>0,0,1280,720</area> | |
<filename>backgrounds/</filename> | |
<delay>60000</delay> | |
</imagetype> | |
<procedural name="backimg"> | |
<area>0,0,100%,100%</area> | |
<source> | |
<![CDATA[ | |
attribute vec2 a_position; | |
varying highp float v_alpha; | |
varying highp float v_time; | |
varying highp vec2 v_pos; | |
varying highp vec2 v_res; | |
uniform highp mat4 u_projection; | |
uniform highp mat4 u_transform; | |
uniform highp float u_time; | |
uniform highp float u_alpha; | |
uniform highp vec2 u_res; | |
void main() { | |
v_pos = a_position; | |
gl_Position = u_projection * u_transform * vec4(a_position, 0.0, 1.0); | |
v_alpha = u_alpha; | |
v_time = u_time; | |
v_res = u_res; | |
} | |
HACK_HACK | |
#define cc vec2(0.5,0.5) | |
#define smoothness 1.0 | |
#define SNOW_COL vec4(1.0,1.0,1.0,1.0) | |
#define N_LAYERS 4.0 | |
#define SNOW_ALPHA 1.0 | |
#define SPEED -0.2 | |
#define bg vec4(0.8,0.8,0.9,0.0) | |
varying highp float v_alpha; | |
varying highp float v_time; | |
varying highp vec2 v_pos; | |
varying highp vec2 v_res; | |
highp float smoothCircle(highp vec2 position, highp float relativeSize) { | |
highp float d = distance(cc,position)*2./relativeSize; | |
if (d > 1.0){ | |
return 0.0; | |
} | |
else{ | |
return clamp(smoothness/d-smoothness,-1.0,1.0); | |
} | |
} | |
// fake random stolen from https://gist.github.com/patriciogonzalezvivo/670c22f3966e662d2f83 | |
highp float randF(highp float n){ | |
return fract(sin(n) * 43758.5453123); | |
} | |
// used to determine whether to draw a flake in the grid | |
// the magic number is just me mashing the keyboard | |
bool rand2d(highp float i, highp float j, highp float probability) { | |
return (randF(i + j*7.8124861) > probability); | |
} | |
// create the grid of circles, with a bunch missing, and fanaggle the sizes a bit | |
highp float circleGrid(highp vec2 position, highp float spacing, highp float dotSize) { | |
// idx => which dot we are showing in the grid. | |
// check x and y index to see if we should draw it or not. | |
highp float idx = floor(1./spacing * position.x); | |
highp float yIdx = floor(1./spacing * position.y); | |
// much higher than .06 causes the grid to be obvious | |
if (rand2d(idx,yIdx,0.06)) { | |
return 0.0; | |
} | |
// modify the size of the flake a bit | |
highp float relativeSize = (0.5 + 0.5*randF(yIdx))*dotSize / spacing; | |
return smoothCircle(vec2( | |
fract(1./spacing*position.x), | |
fract(1./spacing*position.y + yIdx) | |
),relativeSize); | |
} | |
void main(void) { | |
highp vec2 uv = v_pos / v_res; | |
highp vec2 uvsq = vec2(uv.x* v_res.x/v_res.y, uv.y); | |
highp float amnt = 0.0; | |
for (highp float i = 0.0; i < N_LAYERS; i ++){ | |
highp float p = 0.5 + ((i+1.) / N_LAYERS)*0.4; | |
// small flakes in bg drawn first with lower speed | |
// the only reason we add "i" is so it tweaks the noise called on this position later. | |
highp vec2 fallPosition = vec2((1.0-p) + uvsq.x + i + p*sin(v_time/2000.+i)/4. * SPEED, | |
(1.0-p) + i * 3.0 + uvsq.y + v_time/2000.*p/1. * SPEED | |
); | |
amnt = amnt + SNOW_ALPHA * circleGrid(fallPosition, 0.06* p, 0.04* p*p); | |
} | |
gl_FragColor = mix(SNOW_COL,bg,1.0-amnt); | |
}; | |
]]> | |
</source> | |
</procedural> | |
<fontdef name="medium" face="Droid Sans"> | |
<color>#FFFFFF</color> | |
<pixelsize>26</pixelsize> | |
<weight>bold</weight> | |
</fontdef> | |
<fontdef name="large" face="Liberation Sans"> | |
<color>#FFFFFF</color> | |
<pixelsize>28</pixelsize> | |
<weight>bold</weight> | |
</fontdef> | |
<fontdef name="clock" face="Liberation Sans"> | |
<color>#FFFFFF</color> | |
<pixelsize>26</pixelsize> | |
<weight>bold</weight> | |
</fontdef> | |
</window> | |
<window name="MythMetadataResults"> | |
<area>-1,-1,1100,600</area> | |
<animation trigger="AboutToShow"> | |
<section> | |
<alpha start="0" end="255" easingcurve="OutQuart"/> | |
<zoom start="0" end="100" easingcurve="OutQuart"/> | |
</section> | |
</animation> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<buttonlist name="results" from="basebuttonlist"> | |
<area>20,20,1060,560</area> | |
<arrange>stack</arrange> | |
<statetype name="buttonitem"> | |
<state name="active"> | |
<area>0,0,100%,100</area> | |
<shape name="background"> | |
<area>0,0,100%,100</area> | |
</shape> | |
<imagetype name="buttonimage"> | |
<area>45,0,50,100</area> | |
<preserveaspect>true</preserveaspect> | |
</imagetype> | |
<textarea name="buttontext"> | |
<area>0,0,0,0</area> | |
</textarea> | |
<textarea name="title"> | |
<area>140,10,827,80</area> | |
<align>left,vcenter</align> | |
<font>baselarge</font> | |
<template>%TITLE%% - |SUBTITLE%% (|YEAR|)%</template> | |
<multiline>yes</multiline> | |
</textarea> | |
</state> | |
<state name="selectedactive"> | |
<area>0,0,100%,180</area> | |
<shape name="background"> | |
<area>0,0,100%,180</area> | |
</shape> | |
<imagetype name="buttonimage"> | |
<area>10,0,120,180</area> | |
<preserveaspect>true</preserveaspect> | |
</imagetype> | |
<textarea name="buttontext"> | |
<area>0,0,0,0</area> | |
</textarea> | |
<textarea name="title"> | |
<area>140,0,905,30</area> | |
<align>left</align> | |
<font>basemedium</font> | |
<template>%TITLE%% - |SUBTITLE%% (|YEAR|)%</template> | |
<multiline>yes</multiline> | |
</textarea> | |
<textarea name="description"> | |
<area>140,37,905,140</area> | |
<align>justify</align> | |
<font>basesmall</font> | |
<template>%DESCRIPTION%</template> | |
<multiline>yes</multiline> | |
</textarea> | |
</state> | |
</statetype> | |
</buttonlist> | |
</window> | |
<window name="MythArtworkResults"> | |
<area>-1,-1,347,660</area> | |
<animation trigger="AboutToShow"> | |
<section> | |
<alpha start="0" end="255" easingcurve="OutQuart"/> | |
<zoom start="0" end="100" easingcurve="OutQuart"/> | |
</section> | |
</animation> | |
<animation trigger="AboutToHide"> | |
<section> | |
<alpha start="255" end="0" easingcurve="InQuart"/> | |
<zoom start="100" end="0" easingcurve="InQuart"/> | |
</section> | |
</animation> | |
<shape name="backimg" from="basepopupbackground"> | |
<area>0,0,100%,100%</area> | |
</shape> | |
<buttonlist name="results"> | |
<area>15,17,315,640</area> | |
<layout>vertical</layout> | |
<spacing>5</spacing> | |
<wrapstyle>selection</wrapstyle> | |
<buttonarea>0,0,100%,97%</buttonarea> | |
<triggerevent context="Global" action="ESCAPE">LEFT</triggerevent> | |
<statetype name="buttonitem"> | |
<state name="active"> | |
<area>0,0,100%,200</area> | |
<shape name="buttonbackground"> | |
<area>0,0,100%,100%</area> | |
<type>roundbox</type> | |
<cornerradius>3</cornerradius> | |
<fill style="gradient"> | |
<gradient start="#ff0000" end="#dd0000" alpha="50"/> | |
</fill> | |
</shape> | |
<imagetype name="buttonimage"> | |
<area>5,5,100%-5,100%-30</area> | |
<preserveaspect>true</preserveaspect> | |
</imagetype> | |
<textarea name="resolution"> | |
<area>5,100%-30,100%-5,30</area> | |
<font>basesmall</font> | |
<cutdown>yes</cutdown> | |
<align>allcenter</align> | |
</textarea> | |
</state> | |
<state name="selectedactive" from="active"> | |
<shape name="buttonbackground"> | |
<fill style="gradient"> | |
<gradient start="#52CA38" end="#349838" alpha="255" /> | |
</fill> | |
</shape> | |
</state> | |
<state name="selectedinactive" from="active"> | |
<shape name="buttonbackground"> | |
<fill style="gradient"> | |
<gradient start="#52CA38" end="#349838" alpha="100" /> | |
</fill> | |
</shape> | |
<textarea name="resolution"> | |
<font>basesmallpurple</font> | |
</textarea> | |
</state> | |
</statetype> | |
<statetype name="upscrollarrow"> | |
<position>10,96%</position> | |
<state type="off"> | |
<imagetype name="upon"> | |
<filename>lb-uparrow-reg.png</filename> | |
</imagetype> | |
</state> | |
<state type="full"> | |
<imagetype name="upoff"> | |
<filename>lb-uparrow-sel.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
<statetype name="downscrollarrow"> | |
<position>40,96%</position> | |
<state type="off"> | |
<imagetype name="dnon"> | |
<filename>lb-dnarrow-reg.png</filename> | |
</imagetype> | |
</state> | |
<state type="full"> | |
<imagetype name="dnoff"> | |
<filename>lb-dnarrow-sel.png</filename> | |
</imagetype> | |
</state> | |
</statetype> | |
</buttonlist> | |
</window> | |
</mythuitheme> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment