aboutsummaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorGarrett Brown <themagnificentmrb@gmail.com>2024-08-10 18:38:14 -0700
committerGarrett Brown <themagnificentmrb@gmail.com>2024-08-24 21:19:19 -0700
commit4cc349dfa9c9ba428374579fd943b92e27019f53 (patch)
tree267a2a285a43f9cb3b91d0ea3a9781eae4f627d5 /addons
parent031877fd4b833028b25a7d3f59f269907e9b4403 (diff)
RetroPlayer: Show emulator name and icon in Advanced Settings dialog
Diffstat (limited to 'addons')
-rw-r--r--addons/skin.estuary/xml/DialogAddonSettings.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/addons/skin.estuary/xml/DialogAddonSettings.xml b/addons/skin.estuary/xml/DialogAddonSettings.xml
index 38349c1800..737366dfdd 100644
--- a/addons/skin.estuary/xml/DialogAddonSettings.xml
+++ b/addons/skin.estuary/xml/DialogAddonSettings.xml
@@ -123,6 +123,44 @@
<param name="label" value="" />
</include>
</control>
+ <control type="group">
+ <description>Currently-playing emulator name and icon</description>
+ <visible>Player.HasGame + String.IsEqual(Window(addonsettings).Property(Addon.Type),kodi.gameclient)</visible>
+ <left>1510</left>
+ <width>300</width>
+ <top>528</top>
+ <height>260</height>
+ <control type="label">
+ <description>Emulator name</description>
+ <height>30</height>
+ <font>font23_narrow</font>
+ <textoffsetx>20</textoffsetx>
+ <textcolor>button_focus</textcolor>
+ <shadowcolor>text_shadow</shadowcolor>
+ <align>center</align>
+ <label>$INFO[Window(addonsettings).Property(GameClient.Name)]</label>
+ </control>
+ <control type="label">
+ <description>Emulator version</description>
+ <top>30</top>
+ <height>30</height>
+ <font>font23_narrow</font>
+ <textoffsetx>20</textoffsetx>
+ <textcolor>button_focus</textcolor>
+ <shadowcolor>text_shadow</shadowcolor>
+ <align>center</align>
+ <label>$INFO[Window(addonsettings).Property(Addon.Version)]</label>
+ </control>
+ <control type="image">
+ <description>Emulator icon</description>
+ <left>50</left>
+ <top>70</top>
+ <height>200</height>
+ <width>200</width>
+ <aspectratio>keep</aspectratio>
+ <texture>$INFO[Window(addonsettings).Property(Addon.Icon)]</texture>
+ </control>
+ </control>
<control type="radiobutton" id="20">
<left>29</left>
<top>700</top>