Skip to content

Instantly share code, notes, and snippets.

@satanasov
Last active May 29, 2016 07:54
Show Gist options
  • Save satanasov/11a830f1a2d72b9593ae7e83f6c47b32 to your computer and use it in GitHub Desktop.
Save satanasov/11a830f1a2d72b9593ae7e83f6c47b32 to your computer and use it in GitHub Desktop.
--- Home.xml 2016-04-17 09:31:36.837865200 +0000
+++ /usr/local/share/kodi/addons/skin.confluence/720p/Home.xml 2016-05-25 12:35:00.303030040 +0000
@@ -1101,7 +1101,31 @@
<depth>DepthFooter</depth>
<left>20</left>
<top>55r</top>
- <include>Window_OpenClose_Animation</include>
+ <include>Window_OpenClose_Animation</include> <control type="button" id="22">
+ <description>Emulation Station</description>
+ <left>110</left>
+ <top>0</top>
+ <width>45</width>
+ <height>45</height>
+ <label>31009</label>
+ <font>-</font>
+ <onclick>System.Exec('/opt/retroswich.sh')</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>Emulation Station Icon</description>
+ <left>115</left>
+ <top>5</top>
+ <width>35</width>
+ <height>35</height>
+ <aspectratio>keep</aspectratio>
+ <texture>icon_addons.png</texture>
+ </control>
<control type="button" id="20">
<description>Power push button</description>
<left>55</left>
@@ -1114,7 +1138,7 @@
<texturefocus border="5">floor_buttonFO.png</texturefocus>
<texturenofocus border="5">floor_button.png</texturenofocus>
<onleft>21</onleft>
- <onright>21</onright>
+ <onright>22</onright>
<onup>9002</onup>
<ondown>9003</ondown>
</control>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment