2009-07-15, 04:49
The osd when adjusting audio and subtitle offsets was covering most of the screen so I implemented the SliderDialog.xml that is in XBMC SVN. The mod consists two modified files and two new files.
Modded file #1 VideoOSDSettings.xml add
right before the code (which should be around line 12)
and
right before
at the end of the file.
Modded file #2 VideoOSD.xml line 11 changed from
to
Added file #1 DialogSlider.xml in the 720p Directory
Added file #2 delay.png in the media/dialogs directory.
Modded file #1 VideoOSDSettings.xml add
PHP Code:
<control type="group">
<animation effect="fade" start="100" end="0" time="200" condition="Window.IsVisible(SliderDialog)">conditional</animation>
right before the code (which should be around line 12)
PHP Code:
<control type="image">
<description>Panel</description>
and
PHP Code:
</control>
right before
PHP Code:
</controls>
</window>
at the end of the file.
Modded file #2 VideoOSD.xml line 11 changed from
PHP Code:
<visible>!Window.IsActive(125)</visible>
to
PHP Code:
<visible>!Window.IsActive(125) + !Window.IsVisible(SliderDialog)</visible>
PHP Code:
<window id="145">
<defaultcontrol>11</defaultcontrol>
<animation effect="fade" time="200">WindowOpen</animation>
<animation effect="fade" time="200">WindowClose</animation>
<coordinates>
<system>1</system>
<posx>235</posx>
<posy>450</posy>
</coordinates>
<controls>
<include>Dialogs_Group</include>
<include>Dialogs_Tablet</include>
<control type="image">
<posx>6</posx>
<posy>4</posy>
<width>81</width>
<height>82</height>
<texture>dialogs/delay.png</texture>
</control>
<control type="label" id="10">
<description>Dialog header</description>
<include>Dialogs_Label1</include>
<aligny>center</aligny>
</control>
<control type="label" id="12">
<description>Slider Value</description>
<posx>105</posx>
<width>390</width>
<height>21</height>
<textcolor>FFF5F5F5</textcolor>
<font>Font_ProgressLabel</font>
<posy>26</posy>
<align>center</align>
<aligny>center</aligny>
</control>
<control type="slider" id="11">
<description>Slider</description>
<posy>15</posy>
<posx>105</posx>
<width>390</width>
<align>center</align>
<sliderwidth>211</sliderwidth>
<sliderheight>65</sliderheight>
<texturesliderbar>osd/osd_sliderback.png</texturesliderbar>
<textureslidernib>osd/osd_slidernub.png</textureslidernib>
<textureslidernibfocus>osd/osd_slidernubf.png</textureslidernibfocus>
<onup>11</onup>
<ondown>11</ondown>
<onleft>11</onleft>
<onright>11</onright>
</control>
</controls>
</window>
Added file #2 delay.png in the media/dialogs directory.