- First commit of Gloxygen theme

- Fixed regression on ListMenu and imageClone
- Initial commit of basic reference documentation
This commit is contained in:
noisymime 2008-06-12 10:32:21 +00:00
parent e72f4798f4
commit 5b4c6d69b6
46 changed files with 12461 additions and 10 deletions

BIN
docs/reference/Gloss.dia Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

View File

@ -64,8 +64,7 @@ class MenuItem (clutter.Label):
def add_image_from_texture(self, texture):
if texture is None: print "NO TEXTURE!"
if self.main_texture is None:
self.main_texture = texture
pixbuf = texture.get_pixbuf()
size = self.menu.menu_image_size
@ -78,8 +77,10 @@ class MenuItem (clutter.Label):
x_rotation = (texture.get_width())
texture.set_rotation(clutter.Y_AXIS, rotation, x_rotation, 0, 0)
"""
self.itemTexturesGroup.add(texture)
if self.main_texture is None:
self.main_texture = texture
self.itemTexturesGroup.add(texture)
self.itemTexturesGroup.show_all()
def set_data(self, data):

View File

@ -314,7 +314,7 @@ class Module:
self.stage.add(self.backdrop)
self.opacity_behaviour.apply(self.backdrop)
self.loading_img = ImageClone(glossMgr.get_current_menu().get_current_item().get_main_texture())
self.loading_img = ImageClone(img_frame=glossMgr.get_current_menu().get_current_item().get_main_texture())
self.loading_img.show()
self.stage.add(self.loading_img)
glossMgr.get_current_menu().get_current_item().get_main_texture().hide()

View File

@ -229,7 +229,7 @@ class VideoController(MediaController):
texture.set_size(width, height)
def pause_video(self, use_backdrop):
def pause_video(self, use_backdrop=False):
if use_backdrop:
#Use the overlay to go over show
if self.overlay == None:

BIN
themes/Gloxygen/active_bar.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
themes/Gloxygen/background.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

13
themes/Gloxygen/dvd.xml Normal file
View File

@ -0,0 +1,13 @@
<gloss-theme>
<texture id="dvd_menu_image">
<image>dvd/dvd.png</image>
<dimensions type="relativeToSelf">
<width>100%</width>
<height>relative</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
</texture>
</gloss-theme>

BIN
themes/Gloxygen/dvd/dvd.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 KiB

2654
themes/Gloxygen/dvd/dvd.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 135 KiB

196
themes/Gloxygen/main.xml Normal file
View File

@ -0,0 +1,196 @@
<gloss-theme>
<menu id="main">
<interface>ListMenu</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>
<item_gap>0</item_gap>
<num_visible_elements>4</num_visible_elements>
<!-- The following properties all relate to the image / textures that accompany each menu item -->
<image_frame id="menu_item_texture">
<dimensions type="relativeToStage">
<width>35%</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>
<!-- 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>
<!-- 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>
<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>120</height_percent>
<dimensions type="relativeToStage">
<width>40%</width>
<height>default</height>
</dimensions>
<position type="relativeToParent">
<x>-50</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>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>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>

143
themes/Gloxygen/music.xml Normal file
View File

@ -0,0 +1,143 @@
<gloss-theme>
<texture id="music_menu_image">
<image>music/music.png</image>
<dimensions type="relativeToSelf">
<width>100%</width>
<height>relative</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
</texture>
<label_list id="music_albums">
<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>30%</width>
<height>40%</height>
</dimensions>
<position type="relativeToStage">
<x>40%</x>
<y>50%</y>
</position>
<texture id="selector_bar">
<image>active_bar.png</image>
<dimensions type="relativeToSelf">
<width>100%</width>
<height>relative</height>
</dimensions>
<position type="relativeToParent">
<x>-20</x>
<y>-10%</y>
</position>
</texture>
<!-- 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>135</opacity_step2>
<scale_step0>0.9</scale_step0>
<scale_step1>0.8</scale_step1>
<scale_step2>0.8</scale_step2>
<transition_fps>80</transition_fps>
<transition_frames>20</transition_frames>
</label_list>
<label_list id="music_songs">
<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>70%</x>
<y>50%</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>135</opacity_step2>
<scale_step0>0.9</scale_step0>
<scale_step1>0.8</scale_step1>
<scale_step2>0.8</scale_step2>
<transition_fps>30</transition_fps>
<transition_frames>10</transition_frames>
</label_list>
<texture id="music_default_artist_image">
<image>music/default_cover.png</image>
</texture>
<texture id="music_default_album_image">
<image>music/default_cover.png</image>
</texture>
<image_frame id="music_main_image">
<image>None</image>
<use_reflections>True</use_reflections>
<dimensions type="relativeToStage">
<width>25%</width>
<height>25%</height>
</dimensions>
<position type="relativeToStage">
<x>10%</x>
<y>40%</y>
</position>
</image_frame>
<label id="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="relativeToStage">
<width>25%</width>
<height>25%</height>
</dimensions>
<position type="relativeToStage">
<x>10%</x>
<y>40%</y>
</position>
</label>
</gloss-theme>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
themes/Gloxygen/music/music.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -0,0 +1,272 @@
<gloss-theme>
<label_list id="music_play_screen_songs">
<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>50%</x>
<y>25%</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>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="blah">
<x>0</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>
<image_frame id="music_playing_image">
<image>None</image>
<use_reflections>True</use_reflections>
<dimensions type="relativeToStage">
<width>30%</width>
<height>30%</height>
</dimensions>
<position type="relativeToStage">
<x>10%</x>
<y>35%</y>
</position>
</image_frame>
<progress_bar id="music_progress_bar">
<colour id="background">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
<colour id="foreground">
<r>255</r>
<g>255</g>
<b>255</b>
</colour>
<dimensions type="relativeToStage">
<width>90%</width>
<height>2%</height>
</dimensions>
<position type="relativeToStage">
<x>10%</x>
<y>35%</y>
</position>
</progress_bar>
<!-- These labels make up the currently playing song details -->
<group id="music_play_screen_song_details">
<dimensions type="relativeToStage">
<width>25%</width>
<height>20%</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
</group>
<label id="music_play_screen_song_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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_album_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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>40%</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_artist_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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>20%</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_song">
<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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>50%</x>
<y>0</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_artist">
<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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>50%</x>
<y>20%</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_album">
<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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>50%</x>
<y>40%</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
</gloss-theme>

23
themes/Gloxygen/osd.xml Normal file
View File

@ -0,0 +1,23 @@
<gloss-theme>
<texture id="video_osd_bar">
<image>osd/osd_bar3.png</image>
<dimensions type="relativeToStage">
<width>70%</width>
<height>5%</height>
</dimensions>
<position type="relativeToStage">
<x>95%</x>
<y>0</y>
</position>
</texture>
<texture id="tv_osd_box">
<image>osd/splash_box.png</image>
<dimensions type="relativeToStage">
<width>50%</width>
<height>30%</height>
</dimensions>
<opacity>188</opacity>
</texture>
</gloss-theme>

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
themes/Gloxygen/osd_bar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
themes/Gloxygen/shared/down.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
themes/Gloxygen/shared/up.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@ -0,0 +1,22 @@
<gloss-theme>
<texture id="slideshow_menu_image">
<image>slideshow/gallery.png</image>
<dimensions type="relativeToSelf">
<width>100%</width>
<height>relative</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
</texture>
<!-- This is a maximum size restruction for the image preview (If used) -->
<preview_image id="main">
<dimensions type="relativeToStage">
<width>40%</width>
<height>40%</height>
</dimensions>
</preview_image>
</gloss-theme>

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 KiB

179
themes/Gloxygen/spinner.svg Normal file
View File

@ -0,0 +1,179 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="100"
height="100"
id="svg2263"
sodipodi:version="0.32"
inkscape:version="0.45"
version="1.0"
sodipodi:docbase="/home/njp/o-hand/svn/clutter/trunk/toys/fluttr/data"
sodipodi:docname="spinner.svg"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
sodipodi:modified="true">
<defs
id="defs2265">
<linearGradient
id="linearGradient3302">
<stop
style="stop-color:#dadada;stop-opacity:1;"
offset="0"
id="stop3304" />
<stop
id="stop3327"
offset="0.73949581"
style="stop-color:#d2d2d2;stop-opacity:1;" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0.86974788"
id="stop3333" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop3306" />
</linearGradient>
<linearGradient
id="linearGradient3289">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop3291" />
<stop
style="stop-color:#474747;stop-opacity:1;"
offset="1"
id="stop3293" />
</linearGradient>
<linearGradient
id="linearGradient3275">
<stop
id="stop3277"
offset="0"
style="stop-color:#ffffff;stop-opacity:1;" />
<stop
id="stop3279"
offset="1"
style="stop-color:#cfcfcf;stop-opacity:1;" />
</linearGradient>
<linearGradient
id="linearGradient3133">
<stop
style="stop-color:#1f2221;stop-opacity:1;"
offset="0"
id="stop3135" />
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="1"
id="stop3137" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3133"
id="linearGradient3139"
x1="462.85715"
y1="0"
x2="462.85715"
y2="600.20575"
gradientUnits="userSpaceOnUse"
gradientTransform="scale(1,0.7333333)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3275"
id="linearGradient3273"
x1="478.57144"
y1="91.428574"
x2="478.57144"
y2="345.06439"
gradientUnits="userSpaceOnUse" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3133"
id="linearGradient3283"
gradientUnits="userSpaceOnUse"
x1="478.57144"
y1="91.428574"
x2="478.57144"
y2="345.06439"
gradientTransform="matrix(0.9328572,0,0,0.8971429,26.857143,22.628568)" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3289"
id="linearGradient3287"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.9328572,0,0,0.3085715,26.857139,78.54285)"
x1="478.57144"
y1="91.428574"
x2="478.57144"
y2="345.06439" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3302"
id="radialGradient3316"
cx="200"
cy="125"
fx="200"
fy="125"
r="50"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1,0,0,-1,0,250)" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient3302"
id="radialGradient3331"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.662898,0.7231039,-0.7293767,0.6686485,194.30678,-79.630422)"
cx="200"
cy="125"
fx="200"
fy="125"
r="50" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#363636"
bordercolor="#666666"
borderopacity="1.0"
gridtolerance="10000"
guidetolerance="10"
objecttolerance="10"
inkscape:pageopacity="0.75686275"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
inkscape:cx="152.97332"
inkscape:cy="93.594381"
inkscape:document-units="px"
inkscape:current-layer="layer4"
width="800px"
height="440px"
inkscape:window-width="910"
inkscape:window-height="624"
inkscape:window-x="4"
inkscape:window-y="47" />
<metadata
id="metadata2268">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:groupmode="layer"
id="layer4"
transform="translate(-150,-75)">
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:6;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 200,77.857143 C 173.88286,77.857143 152.85714,98.882857 152.85714,125 C 152.85714,151.11714 173.88286,172.14286 200,172.14286 C 226.11714,172.14286 247.14286,151.11714 247.14286,125 C 247.14286,98.882857 226.11714,77.857143 200,77.857143 z M 192.60446,93.532143 L 192.60446,114.275 L 207.39554,114.275 L 207.39554,93.532143 C 221.71682,96.858206 232.32232,109.63693 232.32232,125 C 232.32232,142.9089 217.9089,157.32232 200,157.32232 C 182.0911,157.32233 167.67768,142.9089 167.67768,125 C 167.67768,109.63693 178.28317,96.858206 192.60446,93.532143 z "
id="rect3295" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

13
themes/Gloxygen/tv.xml Normal file
View File

@ -0,0 +1,13 @@
<gloss-theme>
<texture id="mythtv_menu_image">
<image>tv/tv.png</image>
<dimensions type="relativeToSelf">
<width>100%</width>
<height>relative</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
</texture>
</gloss-theme>

BIN
themes/Gloxygen/tv/tv.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

2518
themes/Gloxygen/tv/tv.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 58 KiB

61
themes/Gloxygen/video.xml Normal file
View File

@ -0,0 +1,61 @@
<gloss-theme>
<texture id="video_covers_background">
<image>video_player/cover_bg_long.png</image>
<dimensions type="relativeToStage">
<width>70%</width>
<height>90%</height>
</dimensions>
<position type="relativeToStage">
<x>25%</x>
<y>4%</y>
</position>
</texture>
<texture id="video_menu_image">
<image>video_player/videos.png</image>
<dimensions type="relativeToStage">
<width>40%</width>
<height>relative</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
</texture>
<video_cover_viewer id="main">
<video_default_src>video_player/video_default.svg</video_default_src>
<folder_img_src>video_player/folder-video.svg</folder_img_src>
<dimensions type="relativeToStage">
<width>60%</width>
<height>60%</height>
</dimensions>
<position type="relativeToStage">
<x>30%</x>
<y>5%</y>
</position>
</video_cover_viewer>
<video_cover_details id="main">
<dimensions type="relativeToStage">
<width>60%</width>
<height>20%</height>
</dimensions>
<position type="relativeToStage">
<x>30%</x>
<y>65%</y>
</position>
</video_cover_details>
<video_folder_menu id="main">
<dimensions type="relativeToStage">
<width>20%</width>
<height>60%</height>
</dimensions>
<position type="relativeToStage">
<x>5%</x>
<y>5%</y>
</position>
</video_folder_menu>
</gloss-theme>

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@ -0,0 +1,256 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://web.resource.org/cc/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="128"
height="128"
id="svg2811"
sodipodi:version="0.32"
inkscape:version="0.45.1"
version="1.0"
sodipodi:docname="folder.svgz"
inkscape:output_extension="org.inkscape.output.svgz.inkscape"
inkscape:export-filename="folder.png"
inkscape:export-xdpi="11.25"
inkscape:export-ydpi="11.25"
sodipodi:docbase="/home/david/oxygen/trunk/scalable/places">
<defs
id="defs2813">
<linearGradient
gradientTransform="matrix(1.0033808,0,0,1,-8.2378002,8)"
y2="20.043535"
x2="122.39215"
y1="96.721588"
x1="122.74438"
gradientUnits="userSpaceOnUse"
id="linearGradient3067">
<stop
id="stop3069"
style="stop-color:#88c4ff;stop-opacity:1;"
offset="0" />
<stop
offset="0.13053299"
style="stop-color:#b3d9ff;stop-opacity:1;"
id="stop3077" />
<stop
id="stop3071"
style="stop-color:#71A8F5"
offset="0.72006166" />
<stop
id="stop3073"
style="stop-color:#508ed9;stop-opacity:1;"
offset="1" />
</linearGradient>
<linearGradient
id="linearGradient2822">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop2824" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop2826" />
</linearGradient>
<linearGradient
id="XMLID_9_"
gradientUnits="userSpaceOnUse"
x1="71.9995"
y1="14.2578"
x2="71.9995"
y2="19.9583"
gradientTransform="matrix(1.0033404,0,0,1,-8.2374684,8)">
<stop
offset="0.25"
style="stop-color:#71a8f5;stop-opacity:0;"
id="stop46" />
<stop
offset="1"
style="stop-color:#0057ae;stop-opacity:1"
id="stop48" />
</linearGradient>
<linearGradient
id="XMLID_8_"
gradientUnits="userSpaceOnUse"
x1="72.0005"
y1="96"
x2="72.0005"
y2="20.0005"
gradientTransform="matrix(1.0033876,0,0,1,1.7561237,8)">
<stop
offset="0"
style="stop-color:#cfe7ff;stop-opacity:1;"
id="stop35" />
<stop
offset="0.5917"
style="stop-color:#71A8F5"
id="stop37" />
<stop
offset="1"
style="stop-color:#2C72C7"
id="stop39" />
</linearGradient>
<filter
inkscape:collect="always"
x="-0.0256"
width="1.0512"
y="-0.384"
height="1.768"
id="filter2807">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="1.28"
id="feGaussianBlur2809" />
</filter>
<linearGradient
id="XMLID_6_"
gradientUnits="userSpaceOnUse"
x1="72.0005"
y1="96"
x2="72.0005"
y2="4.882812e-04"
gradientTransform="translate(-7.999995,8)">
<stop
offset="0"
style="stop-color:#00479E"
id="stop7" />
<stop
offset="0.0769"
style="stop-color:#2C72C7"
id="stop9" />
<stop
offset="0.58579999"
style="stop-color:#6ea1df;stop-opacity:1;"
id="stop11" />
<stop
offset="0.96450001"
style="stop-color:#adcbee;stop-opacity:1;"
id="stop13" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient2822"
id="linearGradient2828"
x1="22.413761"
y1="28.5"
x2="22.413761"
y2="34.472866"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(10,0)" />
<linearGradient
inkscape:collect="always"
xlink:href="#XMLID_8_"
id="linearGradient2838"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.0033876,0,0,1,-8.2438763,8)"
x1="72.0005"
y1="96"
x2="72.0005"
y2="20.0005" />
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipPath2844">
<path
style="fill:#ff00bf"
d="M 133.86613,100.978 C 133.79288,102.369 132.59585,103.5 131.19913,103.5 L 16.812952,103.5 C 15.415236,103.5 14.2192,102.368 14.145947,100.979 C 14.145947,100.979 10.508666,30.967 10.508666,30.957 C 10.461513,30.301 10.673223,29.685 11.105684,29.22 C 11.539144,28.756 12.140172,28.501 12.799403,28.501 L 135.21268,28.501 C 135.8719,28.501 136.47293,28.756 136.90339,29.219 C 137.33384,29.682 137.54254,30.298 137.49137,30.966 L 133.86613,100.978 z"
id="path2846" />
</clipPath>
<filter
inkscape:collect="always"
x="-0.012357198"
width="1.0247144"
y="-0.41513768"
height="1.8302754"
id="filter2848">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="0.65388509"
id="feGaussianBlur2850" />
</filter>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3067"
id="linearGradient3109"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.0033808,0,0,1,-8.2378,8)"
x1="122.74438"
y1="96.721588"
x2="122.74438"
y2="20" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="2.8284271"
inkscape:cx="112.07642"
inkscape:cy="77.849688"
inkscape:document-units="px"
inkscape:current-layer="layer1"
inkscape:window-width="1024"
inkscape:window-height="697"
inkscape:window-x="250"
inkscape:window-y="0"
showborder="false"
inkscape:showpageshadow="false" />
<metadata
id="metadata2816">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Livello 1"
inkscape:groupmode="layer"
id="layer1">
<path
d="M 117.983,19 C 117.992,17.35 116.64999,16 114.99999,16 L 44.961007,16 L 38.375006,9.414 C 37.597005,8.636 36.061006,8 34.961,8 L 13.999998,8 C 11.799996,8 9.999999,9.8 9.999999,12 L 9.999999,19 C 9.999999,19 10.999999,104 7,104 L 121,104 C 116.99999,104 117.983,19 117.983,19 z"
id="path15"
style="fill:url(#XMLID_6_)" />
<g
id="g17"
style="opacity:0.6;filter:url(#filter2807)"
transform="matrix(1.0033404,0,0,1,-8.2374684,8)">
<path
d="M 132,96 C 132,98.2 128.4,100 124,100 L 20,100 C 15.6,100 12,98.2 12,96 C 12,93.8 15.6,92 20,92 L 124,92 C 128.4,92 132,93.8 132,96 z"
id="path19" />
</g>
<path
d="M 124.36598,101.004 C 124.27969,102.652 122.85389,104 121.19831,104 L 6.812906,104 C 5.157329,104 3.731522,102.652 3.644228,101.004 L 0.007982,30.992 C -0.112423,29.347 1.143808,28 2.799384,28 L 125.21183,28 C 126.86741,28 128.11762,29.346 127.9912,30.991 L 124.36598,101.004 z"
id="path30"
style="opacity:0.9;fill:url(#linearGradient3109);fill-opacity:1" />
<path
d="M 10.580094,28 C 10.551086,23.609 10.516087,20.392 10.500078,19 L 10.500078,12 C 10.500078,10.07 12.07033,8.5 14.000627,8.5 L 34.964921,8.5 C 35.937077,8.5 37.339294,9.081 38.026407,9.768 L 44.759457,16.5 L 115.01648,16.5 C 115.68059,16.5 116.30469,16.76 116.77576,17.233 C 117.24683,17.706 117.50487,18.333 117.50087,18.997 C 117.50087,18.997 117.57288,18.925 117.60989,18.888 C 117.48787,19.495 117.47487,21.062 117.44687,25.161 L 117.43687,28 L 117.92894,28 C 117.95994,22.468 117.99995,19 117.99995,19 C 118.00896,17.35 116.66674,16 115.01648,16 L 44.966498,16 L 38.379463,9.414 C 37.60134,8.636 36.065099,8 34.964921,8 L 14.000627,8 C 11.80028,8 10,9.8 10,12 L 10,19 C 10,19 10.041009,22.468 10.073018,28 L 10.580094,28 z"
id="path32"
style="fill:#5293ee;fill-opacity:1" />
<path
d="M 9.8848616,22 C 9.8938916,23.75 9.9029216,25.755 9.9109516,28 L 118.09511,28 C 118.10414,25.755 118.11317,23.75 118.1212,22 L 9.8848616,22 z"
id="path50"
style="fill:url(#XMLID_9_);opacity:0.5" />
<path
style="fill:url(#linearGradient2828);fill-opacity:1;filter:url(#filter2848)"
d="M 12.8125,28.5 C 12.153269,28.5 11.52721,28.754751 11.09375,29.21875 C 10.661289,29.68375 10.452847,30.312749 10.5,30.96875 C 10.5,30.968937 10.559992,32.232788 10.5625,32.28125 C 10.647737,31.886257 10.815287,31.518165 11.09375,31.21875 C 11.52721,30.754751 12.153269,30.5 12.8125,30.5 L 135.21875,30.5 C 135.87797,30.500001 136.47579,30.75575 136.90625,31.21875 C 137.18342,31.516877 137.35439,31.883216 137.4375,32.28125 L 137.5,30.96875 C 137.55117,30.30075 137.3367,29.68175 136.90625,29.21875 C 136.47579,28.75575 135.87797,28.500001 135.21875,28.5 L 12.8125,28.5 z"
id="path2788"
clip-path="url(#clipPath2844)"
transform="translate(-10,0)" />
<path
style="fill:url(#linearGradient2838)"
id="path2836"
d="M 125.21268,28 L 2.799403,28 C 1.143815,28 -0.1124237,29.347 0.007982,30.992 L 3.645263,101.004 C 3.731547,102.652 5.157364,104 6.812952,104 L 121.19913,104 C 122.85472,104 124.28053,102.652 124.36682,101.004 L 127.99106,30.991 C 128.11849,29.346 126.86827,28 125.21268,28 z M 123.86613,100.978 C 123.79288,102.369 122.59585,103.5 121.19913,103.5 L 6.812952,103.5 C 5.415236,103.5 4.2192,102.368 4.145947,100.979 C 4.145947,100.979 0.508666,30.967 0.508666,30.957 C 0.461513,30.301 0.673223,29.685 1.105684,29.22 C 1.539144,28.756 2.140172,28.501 2.799403,28.501 L 125.21268,28.501 C 125.8719,28.501 126.47293,28.756 126.90339,29.219 C 127.33384,29.682 127.54254,30.298 127.49137,30.966 L 123.86613,100.978 z" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 KiB

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 47 KiB

143
themes/default/music.xml Normal file
View File

@ -0,0 +1,143 @@
<gloss-theme>
<texture id="music_menu_image">
<image>music/music.png</image>
<dimensions type="relativeToSelf">
<width>100%</width>
<height>relative</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
</texture>
<label_list id="music_albums">
<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>30%</width>
<height>40%</height>
</dimensions>
<position type="relativeToStage">
<x>40%</x>
<y>50%</y>
</position>
<texture id="selector_bar">
<image>active_bar.png</image>
<dimensions type="relativeToSelf">
<width>100%</width>
<height>relative</height>
</dimensions>
<position type="relativeToParent">
<x>-20</x>
<y>-10%</y>
</position>
</texture>
<!-- 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>135</opacity_step2>
<scale_step0>0.9</scale_step0>
<scale_step1>0.8</scale_step1>
<scale_step2>0.8</scale_step2>
<transition_fps>80</transition_fps>
<transition_frames>20</transition_frames>
</label_list>
<label_list id="music_songs">
<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>70%</x>
<y>50%</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>135</opacity_step2>
<scale_step0>0.9</scale_step0>
<scale_step1>0.8</scale_step1>
<scale_step2>0.8</scale_step2>
<transition_fps>30</transition_fps>
<transition_frames>10</transition_frames>
</label_list>
<texture id="music_default_artist_image">
<image>music/default_cover.png</image>
</texture>
<texture id="music_default_album_image">
<image>music/default_cover.png</image>
</texture>
<image_frame id="music_main_image">
<image>None</image>
<use_reflections>True</use_reflections>
<dimensions type="relativeToStage">
<width>25%</width>
<height>25%</height>
</dimensions>
<position type="relativeToStage">
<x>10%</x>
<y>40%</y>
</position>
</image_frame>
<label id="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="relativeToStage">
<width>25%</width>
<height>25%</height>
</dimensions>
<position type="relativeToStage">
<x>10%</x>
<y>40%</y>
</position>
</label>
</gloss-theme>

View File

@ -0,0 +1,272 @@
<gloss-theme>
<label_list id="music_play_screen_songs">
<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>50%</x>
<y>25%</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>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="blah">
<x>0</x>
<y>0</y>
</position>
</texture>
<texture id="image_up">
<image>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>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>
<image_frame id="music_playing_image">
<image>None</image>
<use_reflections>True</use_reflections>
<dimensions type="relativeToStage">
<width>30%</width>
<height>30%</height>
</dimensions>
<position type="relativeToStage">
<x>10%</x>
<y>35%</y>
</position>
</image_frame>
<progress_bar id="music_progress_bar">
<colour id="background">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
<colour id="foreground">
<r>255</r>
<g>255</g>
<b>255</b>
</colour>
<dimensions type="relativeToStage">
<width>90%</width>
<height>2%</height>
</dimensions>
<position type="relativeToStage">
<x>10%</x>
<y>35%</y>
</position>
</progress_bar>
<!-- These labels make up the currently playing song details -->
<group id="music_play_screen_song_details">
<dimensions type="relativeToStage">
<width>25%</width>
<height>20%</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
</group>
<label id="music_play_screen_song_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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>0</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_album_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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>40%</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_artist_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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>0</x>
<y>20%</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_song">
<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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>50%</x>
<y>0</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_artist">
<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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>50%</x>
<y>20%</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
<label id="music_play_screen_album">
<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>50%</width>
<height>15%</height>
</dimensions>
<position type="relativeToParent">
<x>50%</x>
<y>40%</y>
</position>
<colour id="colour">
<r>100</r>
<g>100</g>
<b>100</b>
</colour>
</label>
</gloss-theme>

View File

@ -21,8 +21,11 @@ class ImageClone(ImageFrame):
size = height
else:
size = width
size = img_frame.img_size
(anchor_x, anchor_y) = img_frame.get_anchor_point()
use_reflection = img_frame.use_reflection
opacity = img_frame.get_opacity()
(abs_x, abs_y) = img_frame.main_pic.get_abs_position()
else:
pixbuf = texture.get_pixbuf()
(width, height) = texture.get_abs_size()
@ -31,15 +34,16 @@ class ImageClone(ImageFrame):
else:
size = width
(anchor_x, anchor_y) = texture.get_anchor_point()
opacity = texture.get_opacity()
(abs_x, abs_y) = texture.get_abs_position()
ImageFrame.__init__(self, pixbuf, size, use_reflection = use_reflection)
#self.set_anchor_point(anchor_x, anchor_y)
#clutter.CloneTexture.__init__(self, texture)
(width, height) = texture.get_abs_size()
#(width, height) = texture.get_abs_size()
#self.set_size(width, height)
self.set_opacity(texture.get_opacity())
(abs_x, abs_y) = texture.get_abs_position()
self.set_opacity(opacity)
self.set_position(abs_x, abs_y)
"""

View File

@ -67,6 +67,7 @@ class ImageFrame(clutter.Group):
return pixbuf
def set_pixbuf(self, pixbuf):
self.orig_pixbuf = pixbuf
if pixbuf is None:
self.main_pic.hide()
if not self.reflection is None: self.reflection.hide()

View File

@ -12,7 +12,7 @@ class ThemeMgr:
currentTheme = "default"
currentTheme = "Pear"
#currentTheme = "Mich"
#currentTheme = "Gloxygen"
currentTheme = "Gloxygen"
def __init__(self, glossMgr):
self.stage = glossMgr.stage
@ -322,7 +322,7 @@ class ThemeMgr:
return texture
def get_font(self, name, element, subnode = False):
def get_font(self, name, element=None):
if element is None:
element = self.search_docs("font", name).childNodes
#Quick check to make sure we found something