touchscreen support first pass
This commit is contained in:
parent
06663164b5
commit
21226e3f50
|
@ -58,6 +58,10 @@
|
|||
<!--weather-->
|
||||
<expression name="hasWeather">!String.IsEmpty(Window(Weather).Property(WeatherProvider)) + !String.String.IsEmpty(weather.temperature) + !String.String.IsEmpty(weather.conditions)</expression>
|
||||
|
||||
<!--touchscreen back function-->
|
||||
<expression name="openSideBlade">[window.isactive(pictures) + String.IsEqual(container.folderpath,] | String.IsEqual(container.folderpath,addons://sources/game) | [window.isactive(games) + String.IsEqual(container.folderpath,] | String.IsEqual(container.folderpath,sources://video/) | String.IsEqual(container.folderpath,special://videoplaylists/) | String.IsEqual(container.folderpath,addons://sources/video) | String.IsEqual(container.folderpath,pvr://recordings/tv/active/) | String.IsEqual(container.folderpath,sources://music/) | String.IsEqual(container.folderpath,addons://sources/audio) | String.IsEqual(container.folderpath,special://musicplaylists/) | String.IsEqual(container.folderpath,musicdb://genres/) | String.IsEqual(container.folderpath,musicdb://artists/) | String.IsEqual(container.folderpath,musicdb://albums/) | container.content(movies) | container.content(tvshows) | window.isactive(TVChannels) | window.isactive(RadioChannels) | window.isactive(TVGuide) | window.isactve(TVRecordings)</expression>
|
||||
|
||||
|
||||
<!--item fanart-->
|
||||
<include name="itemFanart">
|
||||
<control type="wraplist" id="99999">
|
||||
|
@ -302,32 +306,152 @@
|
|||
<include name="touchscreenControls">
|
||||
<control type="group">
|
||||
<visible>System.GetBool(input.enablemouse)</visible>
|
||||
<!--universal back button-->
|
||||
<control type="button" id="8542">
|
||||
<description>back button</description>
|
||||
<posx>0</posx>
|
||||
<posy>0</posy>
|
||||
|
||||
<!--standard back-->
|
||||
<control type="button" id="8542">
|
||||
<visible>!$EXP[openSideBlade]</visible>
|
||||
<description>back button</description>
|
||||
<posx>-5</posx>
|
||||
<posy>0</posy>
|
||||
<texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="overlay">colors/black.png</texturefocus>
|
||||
<focusedcolor>textActive</focusedcolor>
|
||||
<height>fullscreenHeight</height>
|
||||
<width>45</width>
|
||||
<onclick condition="String.Contains(container.folderpath,spotify)">back</onclick>
|
||||
<onclick condition="controlgroup(9000).hasfocus">activateWindow(home)</onclick>
|
||||
<onclick condition="!String.Contains(container.folderpath,spotify) + [container.content(addons) | container.content(tvshows) | container.content(movies) | window.isactive(TVChannels) | window.isactive(TVGuide) | window.isactve(TVRecordings) | container.content(artists) | [container.content(albums) + !String.Contains(container.folderpath,albumartistsonly)]]">setfocus(9000)</onclick>
|
||||
<onclick condition="!String.Contains(container.folderpath,spotify) + [String.Contains(Container.folderpath,plugin) | container.content(songs) | !container.content(tvshows) + !container.content(movies) + !window.isactive(TVChannels) + !window.isactive(TVGuide) + !window.isactve(TVRecordings) + !container.content(artists) + [container.content(albums) + String.Contains(container.folderpath,albumartistsonly)]]">Back</onclick>
|
||||
<height>807</height>
|
||||
<width>50</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>14</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<label></label>
|
||||
<onclick >back</onclick>
|
||||
</control>
|
||||
<!--universal player control button-->
|
||||
<control type="button" id="8539">
|
||||
<description>player controls</description>
|
||||
|
||||
<!--sideblade open-->
|
||||
<control type="button" id="8514">
|
||||
<visible>$EXP[openSideBlade]</visible>
|
||||
<description>back button</description>
|
||||
<posx>-5</posx>
|
||||
<posy>0</posy>
|
||||
<texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="overlay">colors/black.png</texturefocus>
|
||||
<height>807</height>
|
||||
<width>50</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>14</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<label></label>
|
||||
<onclick condition="!controlgroup(9000).hasfocus">setfocus(9000)</onclick>
|
||||
<onclick condition="controlgroup(9000).hasfocus">activateWindow(home)</onclick>
|
||||
</control>
|
||||
|
||||
<!--home-->
|
||||
<control type="button" id="8520">
|
||||
<description>home</description>
|
||||
<enabled>!window.isactive(home)</enabled>
|
||||
<posx>-5</posx>
|
||||
<posy>810</posy>
|
||||
<texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="overlay">colors/black.png</texturefocus>
|
||||
<height>267</height>
|
||||
<width>50</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>14</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<label></label>
|
||||
<onclick>activateWindow(home)</onclick>
|
||||
</control>
|
||||
|
||||
|
||||
<!--universal player control buttons-->
|
||||
<control type="group">
|
||||
<posx>45r</posx>
|
||||
<posy>0</posy>
|
||||
|
||||
<control type="button" id="8519">
|
||||
<description>Pause</description>
|
||||
<visible>player.playing</visible>
|
||||
<posx>0</posx>
|
||||
<posy>0</posy>
|
||||
<texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="overlay">colors/black.png</texturefocus>
|
||||
<focusedcolor>textActive</focusedcolor>
|
||||
<height>fullscreenHeight</height>
|
||||
<width>45</width>
|
||||
<onclick condition="player.playing + Player.PauseEnabled">action(pause)</onclick>
|
||||
<onclick condition="player.playing + !Player.PauseEnabled">action(stop)</onclick>
|
||||
<onclick condition="player.paused">action(play)</onclick>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<height>267</height>
|
||||
<width>50</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>14</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<label></label>
|
||||
<onclick>action(pause)</onclick>
|
||||
</control>
|
||||
|
||||
<control type="button" id="8518">
|
||||
<description>play</description>
|
||||
<visible>!player.playing</visible>
|
||||
<posx>0</posx>
|
||||
<posy>0</posy>
|
||||
<texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="overlay">colors/black.png</texturefocus>
|
||||
<height>267</height>
|
||||
<width>50</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>14</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<label></label>
|
||||
<onclick>action(play)</onclick>
|
||||
</control>
|
||||
|
||||
<control type="button" id="8517">
|
||||
<description>stop</description>
|
||||
<posx>0</posx>
|
||||
<posy>270</posy>
|
||||
<texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="overlay">colors/black.png</texturefocus>
|
||||
<height>267</height>
|
||||
<width>50</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>14</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<label></label>
|
||||
<onclick>action(stop)</onclick>
|
||||
</control>
|
||||
|
||||
<control type="button" id="8516">
|
||||
<description>volume up</description>
|
||||
<posx>0</posx>
|
||||
<posy>540</posy>
|
||||
<texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="overlay">colors/black.png</texturefocus>
|
||||
<height>267</height>
|
||||
<width>50</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>14</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<label></label>
|
||||
<onclick>action(volumeup)</onclick>
|
||||
</control>
|
||||
|
||||
<control type="button" id="8515">
|
||||
<description>volume down</description>
|
||||
<posx>0</posx>
|
||||
<posy>810</posy>
|
||||
<texturenofocus colordiffuse="overlay">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="overlay">colors/black.png</texturefocus>
|
||||
<height>270</height>
|
||||
<width>50</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>14</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<label></label>
|
||||
<onclick>action(volumedown)</onclick>
|
||||
</control>
|
||||
|
||||
</control>
|
||||
<!--page up-->
|
||||
<control type="button" id="8538">
|
||||
|
|
|
@ -284,6 +284,8 @@
|
|||
<description>Clear button</description>
|
||||
</control>
|
||||
</control>
|
||||
<!--touchscreen controls-->
|
||||
<include>touchscreenControls</include>
|
||||
<!--debugging-->
|
||||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
|
|
|
@ -173,7 +173,7 @@
|
|||
<include>DebugGrid</include>
|
||||
<control type="label">
|
||||
<include>DialogID</include>
|
||||
<label>MyPVRRecordings.xml</label>
|
||||
<label>MyPVRRecordings.xml path: $INFO[container.folderpath] folder: $INFO[container.foldername] content: $INFO[container.content]</label>
|
||||
</control>
|
||||
</controls>
|
||||
</window>
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<animation type="conditional" condition="true">
|
||||
<effect type="fade" end="90" time="0"/>
|
||||
</animation>
|
||||
<!--track info (no vis)-->
|
||||
<!--track info-->
|
||||
<control type="group">
|
||||
<posx>0</posx>
|
||||
<posy>0</posy>
|
||||
|
@ -119,6 +119,42 @@
|
|||
<label>$INFO[MusicPlayer.timeremaining]</label>
|
||||
<shadowcolor>99000000</shadowcolor>
|
||||
</control>
|
||||
<!--additional touchscreen controls-->
|
||||
<control type="group">
|
||||
<visible>System.GetBool(input.enablemouse)</visible>
|
||||
<control type="button" id="8514">
|
||||
<description>previous</description>
|
||||
<posx>7-col-gutter</posx>
|
||||
<posy>200</posy>
|
||||
<texturenofocus colordiffuse="99ffffff" diffuse="masks/circle.png">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="88ffffff" diffuse="masks/circle.png">colors/black.png</texturefocus>
|
||||
<focusedcolor>textActive</focusedcolor>
|
||||
<height>1-col</height>
|
||||
<width>1-col</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>24</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<label></label>
|
||||
<onclick>playercontrol(previous)</onclick>
|
||||
</control>
|
||||
<control type="button" id="8513">
|
||||
<description>next</description>
|
||||
<posx>1178</posx>
|
||||
<posy>200</posy>
|
||||
<texturenofocus colordiffuse="99ffffff" diffuse="masks/circle.png">colors/black.png</texturenofocus>
|
||||
<texturefocus colordiffuse="88ffffff" diffuse="masks/circle.png">colors/black.png</texturefocus>
|
||||
<focusedcolor>textActive</focusedcolor>
|
||||
<height>1-col</height>
|
||||
<width>1-col</width>
|
||||
<font>symbol</font>
|
||||
<textoffsetx>24</textoffsetx>
|
||||
<textcolor>22FFFFFF</textcolor>
|
||||
<focusedcolor>22FFFFFF</focusedcolor>
|
||||
<label></label>
|
||||
<onclick>playercontrol(next)</onclick>
|
||||
</control>
|
||||
</control>
|
||||
</control>
|
||||
</control>
|
||||
</control>
|
||||
|
|
|
@ -9,6 +9,7 @@ Built for the living room, Pellucid is a clean and carefully designed Kodi exper
|
|||
|
||||
- Skin Shortcuts addon support is available from the Krypton release onwards.
|
||||
- Full PVR / Live TV support
|
||||
- Support for touchscreens
|
||||
|
||||
Discussion thread: http://forum.kodi.tv/forumdisplay.php?fid=267
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</extension>
|
||||
<extension point="xbmc.addon.metadata">
|
||||
<summary lang="en_GB">A skin for Kodi by theDeadMan</summary>
|
||||
<description lang="en_GB">Built for the living room, Pellucid is a clean and simple kodi experience designed for maximum usability and minimum fuss. Skin Shortcuts addon support is available for full menu customisation. With thanks to Marco "Dadebue" Debus for the homescreen photography.</description>
|
||||
<description lang="en_GB">Built for the living room, Pellucid is a clean and carefully designed kodi experience designed for maximum usability and minimum fuss. Skin Shortcuts addon support is available for full menu customisation. With thanks to Marco "Dadebue" Debus for the homescreen photography.</description>
|
||||
<platform>all</platform>
|
||||
<license>Creative Commons Attribution-Noncommercial-Share Alike 3.0</license>
|
||||
<forum>https://forum.kodi.tv/forumdisplay.php?fid=267</forum>
|
||||
|
|
Loading…
Reference in New Issue