improving touchscreen support
This commit is contained in:
parent
ab7d3eb67f
commit
3d57fc1121
|
@ -340,6 +340,8 @@
|
|||
</control>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -285,6 +285,8 @@
|
|||
<description>Launch addon</description>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -220,6 +220,8 @@
|
|||
</control>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -105,6 +105,8 @@
|
|||
</content>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -54,6 +54,8 @@
|
|||
<width>12-col</width>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -109,6 +109,8 @@
|
|||
</focusedlayout>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -225,6 +225,8 @@
|
|||
<description>Help button</description>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -1080,6 +1080,8 @@
|
|||
</control>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -343,6 +343,8 @@
|
|||
<description>Cancel Button</description>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -765,6 +765,8 @@
|
|||
<label>20413</label>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -290,6 +290,8 @@
|
|||
</control>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -243,6 +243,8 @@
|
|||
<label>19687</label>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -48,6 +48,8 @@
|
|||
</focusedlayout>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -331,9 +331,10 @@
|
|||
<label>186</label>
|
||||
</control>
|
||||
</control>
|
||||
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -256,6 +256,8 @@
|
|||
</control>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -46,6 +46,8 @@
|
|||
<font>textbox</font>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -519,6 +519,8 @@
|
|||
<description>Trailer</description>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -154,6 +154,8 @@
|
|||
<visible>Control.IsVisible(570)</visible>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -229,6 +229,8 @@
|
|||
</control>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -297,6 +297,25 @@
|
|||
</control>
|
||||
</control>
|
||||
</include>
|
||||
|
||||
<!--touchscreen controls-->
|
||||
<include name="touchscreenControls">
|
||||
<control type="group">
|
||||
<visible>System.GetBool(input.enablemouse)</visible>
|
||||
<!--universal back button-->
|
||||
<control type="button" id="8542">
|
||||
<description>black button</description>
|
||||
<posx>0</posx>
|
||||
<posy>0</posy>
|
||||
<texturefocus colordiffuse="highlight">colors/white.png</texturefocus>
|
||||
<focusedcolor>textActive</focusedcolor>
|
||||
<height>fullscreenHeight</height>
|
||||
<width>12</width>
|
||||
<onclick>back</onclick>
|
||||
</control>
|
||||
</control>
|
||||
</include>
|
||||
|
||||
<!--debugging-->
|
||||
<include name="DialogID">
|
||||
<posx>15</posx>
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
<include>hubMenu</include>
|
||||
<!--mini window-->
|
||||
<include>miniVideoPlayer</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debug-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -64,6 +64,8 @@
|
|||
<include>hubMenu</include>
|
||||
<!--loading indicator-->
|
||||
<include>loadingIndicator</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -48,6 +48,8 @@
|
|||
<include>miniVideoPlayer</include>
|
||||
<!--hub menu-->
|
||||
<include>hubMenu</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -166,6 +166,8 @@
|
|||
<include>miniVideoPlayer</include>
|
||||
<!--hub menu-->
|
||||
<include>hubMenu</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -167,6 +167,8 @@
|
|||
<include>miniVideoPlayer</include>
|
||||
<!--hub menu-->
|
||||
<include>hubMenu</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -249,6 +249,8 @@
|
|||
</control>
|
||||
<!--hub menu-->
|
||||
<include>hubMenu</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -37,6 +37,8 @@
|
|||
<include>hubMenu</include>
|
||||
<!--mini window-->
|
||||
<include>miniVideoPlayer</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debug-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -51,6 +51,8 @@
|
|||
<include>miniVideoPlayer</include>
|
||||
<!--hub menu-->
|
||||
<include>hubMenu</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -138,6 +138,8 @@
|
|||
<include>miniVideoPlayer</include>
|
||||
<!--hub menu-->
|
||||
<include>hubMenu</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -63,6 +63,8 @@
|
|||
<include>hubMenu</include>
|
||||
<!--loading indicator-->
|
||||
<include>loadingIndicator</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -207,6 +207,8 @@
|
|||
<onright>Weather.LocationNext</onright>
|
||||
<onleft>Weather.LocationPrevious</onleft>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -8,24 +8,28 @@
|
|||
</coordinates>
|
||||
<controls>
|
||||
<control type="image" id="1">
|
||||
<visible>!Skin.HasSetting(hideMouse)</visible>
|
||||
<description>Pointer</description>
|
||||
<width>45</width>
|
||||
<height>45</height>
|
||||
<texture>UIControls/PointerNF.png</texture>
|
||||
</control>
|
||||
<control type="image" id="2">
|
||||
<visible>!Skin.HasSetting(hideMouse)</visible>
|
||||
<description>Pointer Focus</description>
|
||||
<width>45</width>
|
||||
<height>45</height>
|
||||
<texture>UIControls/PointerFO.png</texture>
|
||||
</control>
|
||||
<control type="image" id="3">
|
||||
<visible>!Skin.HasSetting(hideMouse)</visible>
|
||||
<description>Pointer Drag</description>
|
||||
<width>45</width>
|
||||
<height>45</height>
|
||||
<texture>UIControls/PointerDrag.png</texture>
|
||||
</control>
|
||||
<control type="image" id="4">
|
||||
<visible>!Skin.HasSetting(hideMouse)</visible>
|
||||
<description>pointer_click</description>
|
||||
<width>45</width>
|
||||
<height>45</height>
|
||||
|
|
|
@ -233,6 +233,8 @@
|
|||
<onup>9000</onup>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -148,6 +148,8 @@
|
|||
<description>Change settings level</description>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -163,6 +163,8 @@
|
|||
</focusedlayout>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -61,6 +61,8 @@
|
|||
<align>center</align>
|
||||
<label></label>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -208,7 +208,6 @@
|
|||
<label2>$INFO[System.BuildVersion][CR]$INFO[System.BuildDate]</label2>
|
||||
<property name="itemIcon">></property>
|
||||
<thumb></thumb>
|
||||
|
||||
</item>
|
||||
<item id="2">
|
||||
<description>Connectivity</description>
|
||||
|
@ -216,7 +215,6 @@
|
|||
<label2>$INFO[Network.IPAddress][CR]$INFO[Network.MacAddress]</label2>
|
||||
<property name="itemIcon">></property>
|
||||
<thumb></thumb>
|
||||
|
||||
</item>
|
||||
<item id="3">
|
||||
<description>Storage</description>
|
||||
|
@ -224,7 +222,6 @@
|
|||
<label2>$INFO[System.TotalSpace][CR]$INFO[System.FreeSpace]</label2>
|
||||
<property name="itemIcon">></property>
|
||||
<thumb></thumb>
|
||||
|
||||
</item>
|
||||
<item id="4">
|
||||
<description>Memory</description>
|
||||
|
@ -232,7 +229,6 @@
|
|||
<label2>$INFO[System.Memory(total),, $LOCALIZE[20161]][CR]$INFO[System.FreeMemory] / $INFO[System.Memory(free.percent),, $LOCALIZE[156]]</label2>
|
||||
<property name="itemIcon">></property>
|
||||
<thumb></thumb>
|
||||
|
||||
</item>
|
||||
<item id="5">
|
||||
<description>CPU</description>
|
||||
|
@ -240,7 +236,6 @@
|
|||
<label2>$INFO[System.CpuFrequency][CR]$LOCALIZE[139]$INFO[System.CPUTemperature, ,]</label2>
|
||||
<property name="itemIcon">></property>
|
||||
<thumb></thumb>
|
||||
|
||||
</item>
|
||||
<item id="6">
|
||||
<description>Screen Resolution</description>
|
||||
|
@ -248,7 +243,6 @@
|
|||
<label2>$INFO[System.ScreenWidth] x $INFO[System.ScreenHeight][CR]$INFO[System.FPS,, $LOCALIZE[31144]]</label2>
|
||||
<property name="itemIcon">></property>
|
||||
<thumb></thumb>
|
||||
|
||||
</item>
|
||||
<item id="7">
|
||||
<description>Media</description>
|
||||
|
@ -256,7 +250,6 @@
|
|||
<label2>$INFO[Window(Home).Property(Movies.Count),$LOCALIZE[20342]: ,][CR]$INFO[Window(Home).Property(TVShows.Count),$LOCALIZE[20343]: ,][CR]$INFO[Window(Home).Property(Music.AlbumsCount),$LOCALIZE[132]: ,]</label2>
|
||||
<property name="itemIcon">></property>
|
||||
<thumb></thumb>
|
||||
|
||||
</item>
|
||||
<item id="8">
|
||||
<visible>PVR.HasTVChannels</visible>
|
||||
|
@ -265,7 +258,6 @@
|
|||
<label2>$INFO[Pvr.BackendName][CR]$INFO[PVR.BackendDiskspace]</label2>
|
||||
<property name="itemIcon">></property>
|
||||
<thumb></thumb>
|
||||
|
||||
</item>
|
||||
<item id="9">
|
||||
<visible>!PVR.HasTVChannels</visible>
|
||||
|
@ -274,7 +266,6 @@
|
|||
<label2>$LOCALIZE[31118]</label2>
|
||||
<property name="itemIcon">></property>
|
||||
<thumb></thumb>
|
||||
|
||||
</item>
|
||||
</content>
|
||||
</control>
|
||||
|
@ -291,6 +282,8 @@
|
|||
<autoscroll delay="5000" repeat="7500" time="5000">true</autoscroll>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -123,6 +123,15 @@
|
|||
<onleft>8000</onleft>
|
||||
<itemgap>0</itemgap>
|
||||
<orientation>vertical</orientation>
|
||||
|
||||
<control type="radiobutton" id="21">
|
||||
<visible>Container(8000).Hasfocus(1)</visible>
|
||||
<description>Hide mouse pointer</description>
|
||||
<width>14-col</width>
|
||||
<label>31248</label>
|
||||
<onclick>Skin.ToggleSetting(hideMouse)</onclick>
|
||||
<selected>Skin.HasSetting(hideMouse)</selected>
|
||||
</control>
|
||||
<control type="radiobutton" id="6">
|
||||
<visible>Container(8000).Hasfocus(1)</visible>
|
||||
<description>Stop video on return to menu</description>
|
||||
|
@ -148,6 +157,7 @@
|
|||
<onclick>Skin.Reset(homeBackground)</onclick>
|
||||
<textwidth>8-col</textwidth>
|
||||
</control>
|
||||
|
||||
<control type="radiobutton" id="1">
|
||||
<visible>Container(8000).Hasfocus(1)</visible>
|
||||
<description>Reverse power down options</description>
|
||||
|
@ -258,6 +268,8 @@
|
|||
</control>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -91,6 +91,8 @@
|
|||
<shadowcolor></shadowcolor>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -402,6 +402,8 @@
|
|||
</content>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -207,6 +207,8 @@
|
|||
<description>Clear Bookmark button</description>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -124,6 +124,14 @@
|
|||
</control>
|
||||
<!--hidden buttons to handle dialog autohide-->
|
||||
<control type="button" id="9876">
|
||||
<visible>System.GetBool(input.enablemouse)</visible>
|
||||
<include>dimensionsFullscreen</include>
|
||||
<texturefocus></texturefocus>
|
||||
<texturenofocus></texturenofocus>
|
||||
<onclick>activatewindow(1105)</onclick>
|
||||
</control>
|
||||
<control type="button" id="9876">
|
||||
<visible>!System.GetBool(input.enablemouse)</visible>
|
||||
<posx>-100</posx>
|
||||
<posy>-100</posy>
|
||||
<height>1-col</height>
|
||||
|
@ -134,6 +142,8 @@
|
|||
<onright>playercontrol(next)</onright>
|
||||
<onclick>activatewindow(1105)</onclick>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -270,6 +270,8 @@
|
|||
</control>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -207,6 +207,8 @@
|
|||
<include>hubMenu</include>
|
||||
<!--loading indicator-->
|
||||
<include>loadingIndicator</include>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -154,6 +154,8 @@
|
|||
</focusedlayout>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -1016,3 +1016,7 @@ msgstr ""
|
|||
msgctxt "#31247"
|
||||
msgid "Import content"
|
||||
msgstr ""
|
||||
|
||||
msgctxt "#31248"
|
||||
msgid "Hide mouse pointer"
|
||||
msgstr ""
|
Loading…
Reference in New Issue