summaryrefslogtreecommitdiff
path: root/vdr_menu.h
diff options
context:
space:
mode:
authorLarsAC <LarsAC@e10066b5-e1e2-0310-b819-94efdf66514b>2004-02-02 19:17:44 +0000
committerLarsAC <LarsAC@e10066b5-e1e2-0310-b819-94efdf66514b>2004-02-02 19:17:44 +0000
commit0ca80f90d20394d3d4679f73e95986f4d86af40a (patch)
treecc55ae6aea573a0728f28d89bec99f3a396e5b7c /vdr_menu.h
parentf47b07b342a6e37e76b41b1ab40101190918dbe5 (diff)
downloadvdr-plugin-muggle-0ca80f90d20394d3d4679f73e95986f4d86af40a.tar.gz
vdr-plugin-muggle-0ca80f90d20394d3d4679f73e95986f4d86af40a.tar.bz2
Added generic filter handling to OSD
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@17 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'vdr_menu.h')
-rw-r--r--vdr_menu.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/vdr_menu.h b/vdr_menu.h
index a0807a4..a4bfed4 100644
--- a/vdr_menu.h
+++ b/vdr_menu.h
@@ -2,10 +2,15 @@
/*! \file vdr_menu.h
* \brief Implements menu handling for broswing media libraries within VDR
********************************************************************
- * \version $Revision: 1.2 $
- * \date $Date: 2004/02/01 22:12:56 $
+ * \version $Revision: 1.3 $
+ * \date $Date: 2004/02/02 19:17:44 $
* \author Ralf Klueber, Lars von Wedel, Andreas Kellner
- * \author file owner: $Author: RaK $
+ * \author file owner: $Author: LarsAC $
+ *
+ * $Log: vdr_menu.h,v $
+ * Revision 1.3 2004/02/02 19:17:44 LarsAC
+ * Added generic filter handling to OSD
+ *
*/
/*******************************************************************/
@@ -21,6 +26,8 @@
#include <vdr/osd.h>
#endif
+#include <list>
+
class mgMedia;
class mgSelectionTreeNode;
class mgPlaylist;
@@ -35,10 +42,14 @@ class mgMenuTreeItem : public cOsdItem
mgSelectionTreeNode *Node();
void Set();
+
+ void setChildIndex( int index );
+ int getChildIndex( );
private:
mgSelectionTreeNode *m_node;
+ int m_child_index;
};
@@ -49,6 +60,7 @@ class mgMainMenu : public cOsdMenu
mgMainMenu();
mgSelectionTreeNode *CurrentNode();
+ mgMenuTreeItem *CurrentItem();
eOSState ProcessKey(eKeys Key);
void Move( int from, int to);
@@ -89,6 +101,8 @@ class mgMainMenu : public cOsdMenu
int m_year_min, m_year_max, m_filter;
MuggleStatus m_state;
+
+ std::list<int> m_indices;
};
#endif