Kodi Community Forum
Req default button in OSD - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Metropolis (https://forum.kodi.tv/forumdisplay.php?fid=162)
+---- Thread: Req default button in OSD (/showthread.php?tid=173856)



default button in OSD - e6on - 2013-09-19

In OSD menu the default highlighted button is pause. It would be nice to make the subtitle button as the default, or make an option to choose one.


RE: default button in OSD - MacGyver - 2013-11-02

That's easy, simply change the default focus.

<onfocus>SetFocus(14)</onfocus>

where "14" is the button ID

<control type="button" id="14">
<description>OSD Subtitles</description>
<include>Animation_ButtonFocus</include>
<height>60</height>
<width>60</width>
<texturefocus>osd/osd_button_sub_fo.png</texturefocus>
<texturenofocus>osd/osd_button_sub_nf.png</texturenofocus>
<onclick>Close</onclick>
<onclick>ShowSubtitles</onclick>
<visible>VideoPlayer.HasSubtitles</visible>
</control>


RE: default button in OSD - MacGyver - 2014-01-27

So I got bored and implemented this in Metropolis, it's in my branch if the author wants it.
Image