diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-15 10:51:37 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-15 10:51:37 +0100 |
commit | be9a6de0ef0bb282842f57a86d00075539f4156c (patch) | |
tree | 8b113d8bab495e6f812e4e01607ac92f53e3b841 /osdbase.h | |
parent | b3954aefd5290babbc2aa97b8f62b6112ff494f0 (diff) | |
download | vdr-be9a6de0ef0bb282842f57a86d00075539f4156c.tar.gz vdr-be9a6de0ef0bb282842f57a86d00075539f4156c.tar.bz2 |
Plugins can now implement the function SetMenuSortMode() in their skin objects derived from cSkinDisplayMenu, to get informed about the currently used sort mode
Diffstat (limited to 'osdbase.h')
-rw-r--r-- | osdbase.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osdbase.h 3.1 2013/09/22 14:00:47 kls Exp $ + * $Id: osdbase.h 3.2 2015/01/15 10:09:18 kls Exp $ */ #ifndef __OSDBASE_H @@ -92,6 +92,7 @@ private: int cols[cSkinDisplayMenu::MaxTabs]; int first, current, marked; eMenuCategory menuCategory; + eMenuSortMode menuSortMode; cOsdMenu *subMenu; const char *helpRed, *helpGreen, *helpYellow, *helpBlue; bool helpDisplayed; @@ -131,6 +132,7 @@ public: virtual ~cOsdMenu(); virtual bool NeedsFastResponse(void) { return subMenu ? subMenu->NeedsFastResponse() : cOsdObject::NeedsFastResponse(); } void SetMenuCategory(eMenuCategory MenuCategory); + void SetMenuSortMode(eMenuSortMode MenuSortMode); int Current(void) const { return current; } void Add(cOsdItem *Item, bool Current = false, cOsdItem *After = NULL); void Ins(cOsdItem *Item, bool Current = false, cOsdItem *Before = NULL); |