Skip to content

Commit

Permalink
use custom background on settings window
Browse files Browse the repository at this point in the history
  • Loading branch information
bumpaneer committed Mar 5, 2017
1 parent 40d22ac commit e38b44f
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions 1080i/includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@
<param name="buttonbar-top" default="1010" />
<param name="buttonbar-height" default="70" />
<param name="background-visible" default="false" />
<param name="background-image" default="special://skin/backgrounds/settings.jpg" />
<definition>
<control type="group">
<left>$PARAM[dialog-left]</left>
Expand All @@ -471,13 +470,24 @@
</control>
<!--background image-->
<control type="image">
<visible>$PARAM[background-visible]</visible>
<description>Normal Default Background Image</description>
<left>0</left>
<top>0</top>
<width>$PARAM[dialog-width]</width>
<height>$PARAM[dialog-height]</height>
<aspectratio>stretch</aspectratio>
<texture background="true">$PARAM[background-image]</texture>
<aspectratio>scale</aspectratio>
<texture background="true">special://skin/backgrounds/settings.jpg</texture>
<visible>$PARAM[background-visible] + [!Skin.HasSetting(UseCustomBackground) | String.IsEmpty(Skin.String(CustomBackgroundPath))]</visible>
</control>
<control type="image">
<description>User Set Background Image</description>
<left>0</left>
<top>0</top>
<width>$PARAM[dialog-width]</width>
<height>$PARAM[dialog-height]</height>
<aspectratio>scale</aspectratio>
<texture background="true">$INFO[Skin.String(CustomBackgroundPath)]</texture>
<visible>$PARAM[background-visible] + Skin.HasSetting(UseCustomBackground) + !String.IsEmpty(Skin.String(CustomBackgroundPath))</visible>
</control>
<control type="group">
<visible>$PARAM[sidebar-visible]</visible>
Expand Down

0 comments on commit e38b44f

Please sign in to comment.