gloss-mc/themes/default/main.xml

222 lines
5.6 KiB
XML

<gloss-theme>
<menu id="main">
<interface>ListMenu2</interface>
<font id="main">
<face>Tahoma</face>
<size id="default">30</size>
<size id="1024x768">38</size>
<size id="800x600">30</size>
<size id="1920x1080">25</size>
</font>
<dimensions type="relativeToStage">
<width>40%</width>
<height>40%</height>
</dimensions>
<position type="relativeToStage">
<x>60%</x>
<y>30%</y>
</position>
<label_list id="main_menu">
<font id="main">
<face>Tahoma</face>
<size id="default">30</size>
<size id="1024x768">38</size>
<size id="800x600">30</size>
<size id="1920x1080">25</size>
</font>
<dimensions type="relativeToStage">
<width>40%</width>
<height>40%</height>
</dimensions>
<position type="relativeToStage">
<x>60%</x>
<y>30%</y>
</position>
<!-- This determines the height of each item based on a percentage of the font size.
Eg: 1.00 means that each item will be the same height as the font,
1.50 means that the item will be 1.x times the height as the font etc
-->
<item_height_percent>1.00</item_height_percent>
<!-- These are the opacity and scale values for the 3 possible steps in the menu
Make all the values the same if you do not want these effects -->
<opacity_step0>255</opacity_step0>
<opacity_step1>135</opacity_step1>
<opacity_step2>50</opacity_step2>
<scale_step0>1</scale_step0>
<scale_step1>0.5</scale_step1>
<scale_step2>0.4</scale_step2>
<transition_fps>150</transition_fps>
<transition_frames>30</transition_frames>
<texture id="selector_bar">
<image>active_bar.png</image>
<!-- This is a special property of selector bar the sets the height of the bar relative to the menu items its selecting -->
<height_percent>1.10</height_percent>
<dimensions type="relativeToStage">
<width>40%</width>
<height>default</height>
</dimensions>
<position type="relativeToParent">
<x>-50</x>
<y>0</y>
</position>
</texture>
</label_list>
<!-- The following properties all relate to the image / textures that accompany each menu item -->
<image_frame id="menu_item_texture">
<dimensions type="relativeToStage">
<width>40%</width>
<height>relative</height>
</dimensions>
<position type="relativeToStage">
<x>8%</x>
<y>20%</y>
</position>
<use_reflections>True</use_reflections>
</image_frame>
<image_transition>
<name>ring</name>
<options>None</options>
</image_transition>
<!-- Used for transitioning between menus -->
<menu_transition>
<name>slide</name>
<options>None</options>
</menu_transition>
</menu>
<texture id="background">
<image>background.png</image>
<dimensions type="relativeToStage">
<width>100%</width>
<height>100%</height>
</dimensions>
<position type="blah">
<x>0</x>
<y>0</y>
</position>
</texture>
<group id="option_dialog">
<dimensions type="relativeToStage">
<width>40%</width>
<height>40%</height>
</dimensions>
<position type="relativeToStage">
<x>center</x>
<y>center</y>
</position>
<label id="dialog_heading">
<font id="font">
<face>Tahoma</face>
<size id="default">30</size>
<size id="1024x768">38</size>
<size id="800x600">30</size>
<size id="1920x1080">25</size>
</font>
<dimensions type="relativeToParent">
<width>90%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>center</x>
<y>2%</y>
</position>
<colour id="colour">
<r>10</r>
<g>10</g>
<b>10</b>
</colour>
</label>
<label_list id="option_dialog_list">
<font id="main">
<face>Tahoma</face>
<size id="default">12</size>
<size id="1024x768">12</size>
<size id="800x600">10</size>
<size id="1920x1080">25</size>
</font>
<dimensions type="relativeToParent">
<width>80%</width>
<height>80%</height>
</dimensions>
<position type="relativeToParent">
<x>10%</x>
<y>20%</y>
</position>
<!-- This determines the height of each item based on a percentage of the font size.
Eg: 1.00 means that each item will be the same height as the font,
1.50 means that the item will be 1.x times the height as the font etc
-->
<item_height_percent>1.20</item_height_percent>
<!-- These are the opacity and scale values for the 3 possible steps in the menu
Make all the values the same if you do not want these effects -->
<opacity_step0>255</opacity_step0>
<opacity_step1>135</opacity_step1>
<opacity_step2>135</opacity_step2>
<scale_step0>1</scale_step0>
<scale_step1>1</scale_step1>
<scale_step2>1</scale_step2>
<transition_fps>30</transition_fps>
<transition_frames>10</transition_frames>
<texture id="inactive_background">
<image>music/songlist_off.png</image>
<dimensions type="relativeToParent">
<width>100%</width>
<height>100%</height>
</dimensions>
<position type="relativeToParent">
<x>-10</x>
<y>0</y>
</position>
</texture>
<texture id="image_up">
<image>shared/up.png</image>
<dimensions type="relativeToStage">
<width>3%</width>
<height>3%</height>
</dimensions>
<position type="relativeToSelf">
<x>0</x>
<y>0</y>
</position>
</texture>
<texture id="image_down">
<image>shared/down.png</image>
<dimensions type="relativeToStage">
<width>3%</width>
<height>3%</height>
</dimensions>
<position type="blah">
<x>0</x>
<y>0</y>
</position>
</texture>
<inactive_background>music/songlist_off.png</inactive_background>
</label_list>
</group>
</gloss-theme>