summaryrefslogtreecommitdiff
path: root/osdbase.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-15 10:51:37 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-15 10:51:37 +0100
commitbe9a6de0ef0bb282842f57a86d00075539f4156c (patch)
tree8b113d8bab495e6f812e4e01607ac92f53e3b841 /osdbase.h
parentb3954aefd5290babbc2aa97b8f62b6112ff494f0 (diff)
downloadvdr-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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/osdbase.h b/osdbase.h
index 07dce352..5b8ae1cc 100644
--- a/osdbase.h
+++ b/osdbase.h
@@ -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);