Skip to content

Commit

Permalink
[skins] allow vendors to supply their own logo
Browse files Browse the repository at this point in the history
  • Loading branch information
ronie committed Sep 15, 2019
1 parent f95ee82 commit abffca6
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 29 deletions.
Binary file removed addons/skin.estouchy/media/kodi_logo.png
Binary file not shown.
8 changes: 4 additions & 4 deletions addons/skin.estouchy/xml/Includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@
<control type="image">
<description>Kodi Logo</description>
<posx>22</posx>
<posy>2</posy>
<width>150</width>
<height>75</height>
<texture>kodi_logo.png</texture>
<posy>16</posy>
<width>160</width>
<height>44</height>
<texture>special://xbmc/media/vendor_logo.png</texture>
<include>VisibleFadeEffect</include>
</control>
</control>
Expand Down
8 changes: 4 additions & 4 deletions addons/skin.estouchy/xml/IncludesPlayerControls.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
<control type="image">
<description>Kodi Logo</description>
<posx>22</posx>
<posy>2</posy>
<width>150</width>
<height>75</height>
<texture>kodi_logo.png</texture>
<posy>16</posy>
<width>160</width>
<height>44</height>
<texture>special://xbmc/media/vendor_logo.png</texture>
<include>VisibleFadeEffect</include>
</control>
<control type="group">
Expand Down
Binary file removed addons/skin.estuary/media/icons/logo-text.png
Binary file not shown.
Binary file removed addons/skin.estuary/media/icons/logo.png
Binary file not shown.
14 changes: 4 additions & 10 deletions addons/skin.estuary/xml/Home.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1083,18 +1083,12 @@
<top>30</top>
<left>90</left>
<control type="image">
<aspectratio>keep</aspectratio>
<width>56</width>
<height>56</height>
<texture colordiffuse="button_focus">icons/logo.png</texture>
</control>
<control type="image">
<left>40</left>
<top>10</top>
<left>4</left>
<top>0</top>
<aspectratio>keep</aspectratio>
<width>192</width>
<height>36</height>
<texture>icons/logo-text.png</texture>
<height>56</height>
<texture>special://xbmc/media/vendor_logo.png</texture>
</control>
</control>
</control>
Expand Down
4 changes: 2 additions & 2 deletions addons/skin.estuary/xml/Includes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -809,9 +809,9 @@
<texturenofocus />
<label></label>
<textureradioofffocus colordiffuse="EEFFFFFF">dialogs/close.png</textureradioofffocus>
<textureradiooffnofocus colordiffuse="EEFFFFFF">icons/logo.png</textureradiooffnofocus>
<textureradiooffnofocus colordiffuse="EEFFFFFF">special://xbmc/media/vendor_icon.png</textureradiooffnofocus>
<textureradioonfocus colordiffuse="EEFFFFFF">dialogs/close.png</textureradioonfocus>
<textureradioonnofocus colordiffuse="EEFFFFFF">icons/logo.png</textureradioonnofocus>
<textureradioonnofocus colordiffuse="EEFFFFFF">special://xbmc/media/vendor_icon.png</textureradioonnofocus>
<onclick>Action(close)</onclick>
<visible>!Skin.HasSetting(touchmode)</visible>
</control>
Expand Down
12 changes: 3 additions & 9 deletions addons/skin.estuary/xml/LoginScreen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,12 @@
<width>250</width>
<height>112</height>
<control type="image">
<width>112</width>
<height>112</height>
<aspectratio aligny="top" align="center">keep</aspectratio>
<texture colordiffuse="button_focus">icons/logo.png</texture>
</control>
<control type="image">
<left>138</left>
<left>0</left>
<top>0</top>
<width>112</width>
<width>250</width>
<height>112</height>
<aspectratio aligny="center" align="center">keep</aspectratio>
<texture>icons/logo-text.png</texture>
<texture>special://xbmc/media/vendor_logo.png</texture>
</control>
</control>
<control type="textbox">
Expand Down
Binary file added media/vendor_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/vendor_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit abffca6

Please sign in to comment.