Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ContextMenu] improvements #1012

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions 1080i/Custom_Overlay.xml
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,19 @@
<align>left</align>
<label fallback="No Focus">$INFO[System.CurrentControlID,Current Focus: ]</label>
</control>
<control type="label">
<textcolor>FFFFFFFF</textcolor>
<font>Tiny</font>
<align>left</align>
<label fallback="TMDB helper widget container: none">$INFO[Window(Home).Property(TMDBHelper.WidgetContainer),TMDB helper widget container: , ]</label>
</control>
<control type="label">
<textcolor>FFFFFFFF</textcolor>
<font>Tiny</font>
<align>left</align>
<label>TMDB helper is updating: $INFO[Window(Home).Property(TMDBHelper.CurrentWindow),window: , ]$INFO[Window(Home).Property(TMDBHelper.IsUpdating),details: , ]$INFO[Window(Home).Property(TMDBHelper.IsUpdatingRatings),ratings: , ]</label>
<visible>Skin.HasSetting(DebugInfo.extended)</visible>
</control>
<control type="label">
<width>780</width>
<textcolor>FFFFFFFF</textcolor>
Expand Down Expand Up @@ -733,6 +746,23 @@
<label fallback="No Rating">$INFO[ListItem.mpaa,Current Rating: , - ]$VAR[RatingFlagVar]</label>
<visible>Skin.HasSetting(DebugInfo.extended)</visible>
</control>

<control type="label">
<textcolor>FFFFFFFF</textcolor>
<font>Tiny</font>
<align>left</align>
<label fallback="No poster">$INFO[ListItem.Art(poster)]</label>
<visible>Skin.HasSetting(DebugInfo.extended)</visible>
</control>
<control type="label">
<textcolor>FFFFFFFF</textcolor>
<font>Tiny</font>
<align>left</align>
<label fallback="No thumb">$INFO[ListItem.Art(thumb)]</label>
<visible>Skin.HasSetting(DebugInfo.extended)</visible>
</control>


<control type="label">
<textcolor>FFFFFFFF</textcolor>
<font>Tiny</font>
Expand Down
2 changes: 2 additions & 0 deletions 1080i/Defaults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
<constant name="HomeTimePerImage">12000</constant>
<constant name="NetflixPlotWidth">720</constant>
<constant name="OSDLabelsWidthWide">200</constant>
<constant name="ClearLogoMaxWidth">400</constant>
<constant name="ClearLogoMaxHeight">102</constant>
<default type="label">
<height>66</height>
<aligny>center</aligny>
Expand Down
60 changes: 3 additions & 57 deletions 1080i/DialogContextMenu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,64 +10,10 @@
<control type="group">
<include>Animation.ZoomIn</include>
<include>Animation.FadeOut</include>
<top>208</top>
<centertop>50%</centertop>
<centerleft>50%</centerleft>
<width>466</width>
<control type="image" id="999">
<description>background image</description>
<posx>8</posx>
<top>-15</top>
<posy>-16</posy>
<width>450</width>
<height>817</height>
<texture border="16" colordiffuse="White100">common/box.png</texture>
</control>
<control type="group">
<left>22</left>
<top>0</top>
<control type="label">
<description>Header Label</description>
<left>70</left>
<width>1000</width>
<posy>0</posy>
<include>FontTop</include>
<textcolor>Dark2</textcolor>
<label>10106</label>
</control>
<include>Kodi_Logo</include>

<!-- Lines -->
<control type="image">
<top>70</top>
<left>17</left>
<width>385</width>
<height>1</height>
<bottom>10</bottom>
<colordiffuse>Black12</colordiffuse>
<texture>common/white.png</texture>
</control>
</control>
<include content="Def_Gradient_Settings_Image">
<param name="controlid" value="996"/>
<param name="left" value="8"/>
<param name="top" value="90"/>
<param name="width" value="450"/>
</include>
<control type="grouplist" id="996">
<description>grouplist for context buttons</description>
<posx>8</posx>
<posy>0</posy>
<width>510</width>
<top>90</top>
<height max="700">auto</height>
<itemgap>0</itemgap>
<scrolltime>0</scrolltime>
<control type="button" id="1000">
<description>Buttons</description>
<include>DefContextButtonGradient</include>
<align>left</align>
</control>
</control>
<include condition="Skin.HasSetting(enable.extended.context.menu)">DialogContextMenuExtended</include>
<include condition="!Skin.HasSetting(enable.extended.context.menu)">DialogContextMenuStandard</include>
</control>
</controls>
</window>
Loading