Skip to content

Commit

Permalink
[epg] Skinning engine: epg grid: skin: reference implementation for s…
Browse files Browse the repository at this point in the history
…upport for alternative (horizontal) grid layout with channels as columns and timeline as rows.
  • Loading branch information
ksooo committed Dec 5, 2016
1 parent c094c44 commit 860acc8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 20 additions & 8 deletions addons/skin.estuary/xml/MyPVRGuide.xml
Expand Up @@ -28,6 +28,7 @@
<top>0</top>
<right>20</right>
<bottom>340</bottom>
<orientation>horizontal</orientation>
<pagecontrol>60</pagecontrol>
<scrolltime tween="quadratic" easing="out">300</scrolltime>
<timeblocks>34</timeblocks>
Expand All @@ -37,18 +38,29 @@
<onup>10</onup>
<ondown>10</ondown>
<viewtype label="19032">list</viewtype>
<progresstexture border="0,60,18,14" colordiffuse="button_focus">windows/pvr/epg_progress.png</progresstexture>
<rulerlayout height="45" width="1400">
<progresstexture border="5,10,5,10" colordiffuse="button_focus">windows/pvr/epg_progress_horizontal.png</progresstexture>
<rulerdatelayout height="45" width="1700">
<control type="label">
<width>365</width>
<width>1700</width>
<height>45</height>
<font>font24</font>
<label>$INFO[ListItem.Label]</label>
<textcolor>button_focus</textcolor>
<align>center</align>
<aligny>center</aligny>
</control>
</rulerdatelayout>
<rulerlayout height="45" width="150">
<control type="label">
<width>150</width>
<height>45</height>
<font>font12</font>
<label>$INFO[ListItem.Label]</label>
<textoffsetx>10</textoffsetx>
<textcolor>button_focus</textcolor>
</control>
</rulerlayout>
<channellayout height="62" width="350">
<channellayout height="62" width="310">
<control type="label">
<left>2</left>
<top>-2</top>
Expand All @@ -62,15 +74,15 @@
<control type="label" id="1">
<left>68</left>
<top>-2</top>
<width>350</width>
<width>240</width>
<height>60</height>
<font>font12</font>
<label>$INFO[ListItem.ChannelName]</label>
<aligny>center</aligny>
<textoffsetx>10</textoffsetx>
</control>
</channellayout>
<focusedchannellayout height="62" width="350">
<focusedchannellayout height="62" width="310">
<control type="label">
<left>2</left>
<top>-2</top>
Expand All @@ -85,7 +97,7 @@
<control type="label" id="1">
<left>68</left>
<top>-2</top>
<width>350</width>
<width>240</width>
<height>60</height>
<font>font12</font>
<label>$INFO[ListItem.ChannelName]</label>
Expand Down Expand Up @@ -158,7 +170,7 @@
</control>
<control type="scrollbar" id="60">
<right>0</right>
<top>47</top>
<top>105</top>
<width>12</width>
<bottom>340</bottom>
<onleft>10</onleft>
Expand Down

0 comments on commit 860acc8

Please sign in to comment.