Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Seekbar Gradients] added gradients to seekbar #959

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
22 changes: 22 additions & 0 deletions 1080i/Custom_DialogCustomSettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@
<onfocus>ClearProperty(starscolor.button,home)</onfocus>
<onfocus>ClearProperty(focuscolor2.button,home)</onfocus>
<onfocus>ClearProperty(selectbarcolor.button,home)</onfocus>
<onfocus>ClearProperty(seekbarcolor.button,home)</onfocus>
<onfocus>ClearProperty(seekbarhighlightcolor.button,home)</onfocus>
<onfocus>SetProperty(focuscolor.button,$INFO[ListItem.Property(focuscolor.name)],home)</onfocus>
<onfocus>SetProperty(squarecolor.button,$INFO[ListItem.Property(squarecolor.name)],home)</onfocus>
<onfocus>SetProperty(squarecolor2.button,$INFO[ListItem.Property(squarecolor2.name)],home)</onfocus>
Expand All @@ -127,6 +129,8 @@
<onfocus>SetProperty(starscolor.button,$INFO[ListItem.Property(starscolornew.name)],home)</onfocus>
<onfocus>SetProperty(focuscolor2.button,$INFO[ListItem.Property(focuscolor2.name)],home)</onfocus>
<onfocus>SetProperty(selectbarcolor.button,$INFO[ListItem.Property(selectbarcolor.name)],home)</onfocus>
<onfocus>SetProperty(seekbarcolor.button,$INFO[ListItem.Property(seekbarcolor.name)],home)</onfocus>
<onfocus>SetProperty(seekbarhighlightcolor.button,$INFO[ListItem.Property(seekbarhighlightcolor.name)],home)</onfocus>
</control>
</focusedlayout>
<content>
Expand Down Expand Up @@ -261,6 +265,24 @@
</include>
</control>
</control>
<control type="grouplist">
<left>844</left>
<orientation>horizontal</orientation>
<top>284</top>
<width>300</width>
<itemgap>2</itemgap>
<visible>String.IsEqual(Window(Home).Property(includesetting),ColorSettings)</visible>
<control type="radiobutton">
<include content="DefContextButtonColorbox2">
<param name="colorcode" value="$INFO[Window(home).Property(seekbarcolor.button)]"/>
</include>
</control>
<control type="radiobutton">
<include content="DefContextButtonColorbox2">
<param name="colorcode" value="$INFO[Window(home).Property(seekbarhighlightcolor.button)]"/>
</include>
</control>
</control>
<include>DialogSelectlabelInclude</include>
</control>
</controls>
Expand Down
4 changes: 4 additions & 0 deletions 1080i/Custom_SaveColorConfiguration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
<onclick>Skin.Reset(starscolornew.name.own)</onclick>
<onclick>Skin.Reset(focuscolor2.name.own)</onclick>
<onclick>Skin.Reset(selectbarcolor.name.own)</onclick>
<onclick>Skin.Reset(seekbarcolor.name.own)</onclick>
<onclick>Skin.Reset(seekbarhighlightcolor.name.own)</onclick>

<!-- Set new config values -->
<onclick condition="!String.IsEmpty(Skin.String(focuscolor.name))">Skin.SetString(focuscolor.name.own,$INFO[Skin.String(focuscolor.name)])</onclick>
Expand All @@ -62,6 +64,8 @@
<onclick condition="!String.IsEmpty(Skin.String(starscolornew.name))">Skin.SetString(starscolornew.name.own,$INFO[Skin.String(starscolornew.name)])</onclick>
<onclick condition="!String.IsEmpty(Skin.String(focuscolor2.name))">Skin.SetString(focuscolor2.name.own,$INFO[Skin.String(focuscolor2.name)])</onclick>
<onclick condition="!String.IsEmpty(Skin.String(selectbarcolor.name))">Skin.SetString(selectbarcolor.name.own,$INFO[Skin.String(selectbarcolor.name)])</onclick>
<onclick condition="!String.IsEmpty(Skin.String(seekbarcolor.name))">Skin.SetString(seekbarcolor.name.own,$INFO[Skin.String(seekbarcolor.name)])</onclick>
<onclick condition="!String.IsEmpty(Skin.String(seekbarhighlightcolor.name))">Skin.SetString(seekbarhighlightcolor.name.own,$INFO[Skin.String(seekbarhighlightcolor.name)])</onclick>

<!-- Set config name -->
<onclick>Skin.SetString(color.preset.name.own)</onclick>
Expand Down
4 changes: 2 additions & 2 deletions 1080i/Defaults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@
</default>
<default type="progress">
<texturebg colordiffuse="2f5f5f5f">osd/progress-bg.png</texturebg>
<lefttexture colordiffuse="$VAR[ColorHighlight]">osd/progress-end.png</lefttexture>
<midtexture colordiffuse="$VAR[ColorHighlight]">osd/progress-end.png</midtexture>
<lefttexture colordiffuse="$VAR[ColorSeekBar]">osd/progress-end.png</lefttexture>
<midtexture colordiffuse="$VAR[ColorSeekBar]">osd/progress-end.png</midtexture>
<righttexture colordiffuse="PanelWhite70">osd/progress-end.png</righttexture>
<overlaytexture />
</default>
Expand Down
7 changes: 7 additions & 0 deletions 1080i/DialogSeekBar.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,12 @@

<!-- Clock -->
<include>Furniture_OSDClock</include>

<control type="progress" id="2000">
<width>100%</width>
<bottom>-50</bottom>
<height>8</height>
<info>Player.Progress</info>
</control>
</controls>
</window>
Loading