diff --git a/platformcode/keymaptools.py b/platformcode/keymaptools.py index 88f2cd15..ac98cfac 100644 --- a/platformcode/keymaptools.py +++ b/platformcode/keymaptools.py @@ -10,12 +10,14 @@ import channelselector addon_icon = filetools.join( config.__settings__.getAddonInfo( "path" ),'resources', 'media', 'logo.png' ) background = 'FF232323' +overlay = '77232323' text = 'FFFFFFFF' select = 'FF0082C2' if config.get_setting('icon_set') == 'dark': background = 'FFDCDCDC' + overlay = '77DCDCDC' text = 'FF232323' - select = '880082C2' + select = 'FF78BDDF' class KeyListener(xbmcgui.WindowXMLDialog): TIMEOUT = 10 @@ -122,13 +124,15 @@ class Main(xbmcgui.WindowXMLDialog): def menulist(self, menu): itemlist = [] + self.getControl(200).setLabel(background) + self.getControl(201).setLabel(overlay) + self.getControl(202).setLabel(select) + self.getControl(203).setLabel(text) for menuentry in menu: # if not menuentry.channel: menuentry.channel = 'news' + title = re.sub(r'(\[[/]?COLOR[^\]]*\])','',menuentry.title) item = xbmcgui.ListItem(title) - item.setProperty('background', background) - item.setProperty('text', text) - item.setProperty('select', select) item.setProperty('channel', menuentry.channel) item.setProperty('focus', '0') item.setProperty('thumbnail', menuentry.thumbnail) diff --git a/resources/skins/Default/720p/ShortCutMenu.xml b/resources/skins/Default/720p/ShortCutMenu.xml index c7b53108..5df800e4 100644 --- a/resources/skins/Default/720p/ShortCutMenu.xml +++ b/resources/skins/Default/720p/ShortCutMenu.xml @@ -6,14 +6,31 @@ 0 + + Background Color + False + + + Overlay Color + False + + + Selection Color + False + + + Text Color + False + + Close Button 0 0 100% 100% - white.png - white.png + white.png + white.png WindowOpen WindowClose Action(close) @@ -44,7 +61,7 @@ 0 100% 100% - white.png + white.png @@ -52,7 +69,7 @@ 0 0 100% - 220 + 100% vertical @@ -68,6 +85,7 @@ 61 + Icon 220 220 $INFO[ListItem.Property(thumbnail)] @@ -77,12 +95,15 @@ - 1 - 220 - 218 - white.png + Selection + 0 + 0 + 100% + 100% + white.png + Icon 220 220 $INFO[ListItem.Property(thumbnail)] @@ -90,13 +111,13 @@ center - Selected Item + Item Title 0 180 100% 40 font13 - FFFFFFFF + Control.GetLabel(203) center center @@ -117,6 +138,7 @@ 61 + Icon 220 220 $INFO[ListItem.Property(thumbnail)] @@ -126,12 +148,15 @@ - 1 - 220 - 218 - white.png + Selection + 0 + 0 + 100% + 100% + white.png + Icon 220 220 $INFO[ListItem.Property(thumbnail)] @@ -139,13 +164,13 @@ center - Selected Item + Item Title 0 180 100% 40 font13 - FFFFFFFF + Control.GetLabel(203) center center @@ -155,38 +180,28 @@ + Row Down !String.IsEmpty(Container(1).ListItem.Property(sub)) + !Control.HasFocus(2) + !Control.HasFocus(102) Conditional - - 520 - 240 - 60 - 60 - down.png - down.png + 540 + 260 + 20 + 20 + dd.png + dd.png keep + Row Up !Control.HasFocus(1) + !Control.HasFocus(101) Conditional - - 520 + 540 -80 - 60 - 60 - up.png - up.png + 20 + 20 + uu.png + uu.png keep diff --git a/resources/skins/Default/media/dd.png b/resources/skins/Default/media/dd.png new file mode 100644 index 00000000..8fff3288 Binary files /dev/null and b/resources/skins/Default/media/dd.png differ diff --git a/resources/skins/Default/media/uu.png b/resources/skins/Default/media/uu.png new file mode 100644 index 00000000..14ba6b1d Binary files /dev/null and b/resources/skins/Default/media/uu.png differ