2015-05-26, 18:06
2015-05-26, 18:35
(2015-05-26, 18:26)phil65 Wrote: Please always post your code when asking questions.
Code:
<control type="group" id="10">
<left>20</left>
<top>55r</top>
<include>Window_OpenClose_Animation</include>
<control type="button" id="20">
<description>Power push button</description>
<left>115</left>
<top>0</top>
<width>45</width>
<height>45</height>
<label>31003</label>
<font>-</font>
<onclick>ActivateWindow(ShutdownMenu)</onclick>
<texturefocus border="5">floor_buttonFO.png</texturefocus>
<texturenofocus border="5">floor_button.png</texturenofocus>
<onleft>21</onleft>
<onright>21</onright>
<onup>9002</onup>
<ondown>9003</ondown>
</control>
<control type="image">
<description>Power Icon</description>
<left>120</left>
<top>5</top>
<width>35</width>
<height>35</height>
<aspectratio>keep</aspectratio>
<texture>icon_power.png</texture>
</control>
<control type="button" id="21">
<description>Favourites push button</description>
<left>60</left>
<top>0</top>
<width>45</width>
<height>45</height>
<label>1036</label>
<font>-</font>
<onclick>ActivateWindow(Favourites)</onclick>
<texturefocus border="5">floor_buttonFO.png</texturefocus>
<texturenofocus border="5">floor_button.png</texturenofocus>
<onleft>20</onleft>
<onright>20</onright>
<onup>9002</onup>
<ondown>9003</ondown>
</control>
<control type="image">
<description>Favourites Icon</description>
<left>65</left>
<top>5</top>
<width>35</width>
<height>35</height>
<aspectratio>keep</aspectratio>
<texture>icon_favourites.png</texture>
</control>
<control type="button" id="5">
<description>Settings push button</description>
<left>5</left>
<top>0</top>
<width>45</width>
<height>45</height>
<label>31959</label>
<font>-</font>
<onclick>ActivateWindow(Settings)</onclick>
<texturefocus border="5">floor_buttonFO.png</texturefocus>
<texturenofocus border="5">floor_button.png</texturenofocus>
<onleft>59</onleft>
<onright>59</onright>
<onup>9002</onup>
<ondown>9003</ondown>
</control>
<control type="image">
<description>Settings Icon</description>
<left>10</left>
<top>5</top>
<width>35</width>
<height>35</height>
<aspectratio>keep</aspectratio>
<texture>icon_search.png</texture>
</control>
</control>
I did change in Home.xml.
My goal is make a Settings button and want to change the picture (search for now)
Thanks.
2015-05-26, 18:53
2015-05-26, 19:06
(2015-05-26, 18:14)Piers Wrote: Have you set an <onleft> etc. for the favourites button?
Thanks, I know what is means <onleft> or <onright>
Code:
<control type="button" id="5">
<description>Settings push button</description>
<left>5</left>
<top>0</top>
<width>45</width>
<height>45</height>
<label>31959</label>
<font>-</font>
<onclick>ActivateWindow(Settings)</onclick>
<texturefocus border="5">floor_buttonFO.png</texturefocus>
<texturenofocus border="5">floor_button.png</texturenofocus>
<onleft>20</onleft>
<onright>21</onright>
<onup>9002</onup>
<ondown>9003</ondown>
</control>
<control type="image">
<description>Settings Icon</description>
<left>10</left>
<top>5</top>
<width>35</width>
<height>35</height>
<aspectratio>keep</aspectratio>
<texture>icon_search.png</texture>
</control>
Next question:
How to change the image, right now I use icon_search.png. If I make new icon, how I upload to Kodi?
2015-05-26, 19:34
(2015-05-26, 19:16)sualfred Wrote: %skinfolder%/media
http://kodi.wiki/view/Skin_structure
Hi Need use TexturePacker. How to add more picture in existing Textures.xbt?
2015-05-26, 19:38