2009-05-23, 05:18
needtotest Wrote:Looking forward to this!
Now that somebody is tweaking the huge volumebar - maybe you have seen the one on ubunto 9.04? It is a nice one on the top right with a speaker icon and something that looks like the progress bar (music/movie playing) currently used in aeon auriga. Maybe it fits better for aeon?
/needtotest
I'll look into that one, in the meantime, here's how to make the one I just did:
Here's my entire DialogVolumeBar.xml
Code:
<window id="104">
<zorder>1</zorder>
<coordinates>
<system>1</system>
<posx>0</posx>
<posy>0</posy>
</coordinates>
<include>Animation_DialogPopup</include>
<controls>
<control type="group" id="901">
<posx>287</posx>
<posy>520</posy>
<width>707</width>
<height>63</height><!-- 183 -->
<animation effect="slide" end="0,-200" time="200" easing="inout" tween="circle" condition="Window.IsActive(Home) + Skin.HasSetting(lowermainmenu)">Conditional</animation>
<animation effect="slide" end="0,-400" time="200" easing="inout" tween="circle" condition="Control.IsVisible(57)">Conditional</animation>
<control type="progress" id="20">
<description>Progressbar</description>
<posx>10</posx>
<posy>10</posy>
<width>688</width>
<height>43</height><!-- 163 -->
<texturebg>dialogs/progress_clear.png</texturebg>
<lefttexture>dialogs/progress_lefty.png</lefttexture>
<midtexture>dialogs/progress_middle.png</midtexture>
<righttexture>dialogs/progress_righty.png</righttexture>
<info>Player.Volume</info>
<overlaytexture>-</overlaytexture>
</control>
<control type="image">
<posx>10</posx>
<posy>10</posy>
<width>688</width>
<height>43</height><!-- 163 -->
<texture>dialogs/progress_backg.png</texture>
</control>
<control type="label" id="1">
<description>Heading Label</description>
<posx>30</posx><!-- 40 -->
<posy>20</posy><!-- 55 -->
<width>627</width>
<height>31</height><!-- 51 -->
<textcolor>a7ffffff</textcolor>
<align>left</align><!-- center -->
<font>Font_ProgressLabelSmall</font>
<label>31707</label>
</control>
<control type="label">
<description>Path</description>
<posx>90</posx><!-- 40 -->
<posy>20</posy><!-- 95 -->
<width>627</width>
<height>31</height><!-- 51 -->
<align>left</align><!-- center -->
<font>Font_ProgressLabelSmall</font><!-- <font>Font_ProgressLabelBig</font> -->
<textcolor>d0ffffff</textcolor>
<label>-</label>
<scroll>true</scroll>
<label>$INFO[Player.Volume]</label>
</control>
</control>
</controls>
</window>
As always, I left the original values in there commented out so people can see what I did.