summaryrefslogtreecommitdiff
path: root/PLUGINS/src/pictures/menu.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-01-13 11:44:38 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-01-13 11:44:38 +0100
commitd607265f695510e357c67d78e43d0c8138f8c588 (patch)
tree3ebc47cbd0c765cb85441dcefb73a13ade798932 /PLUGINS/src/pictures/menu.h
parent0ec2063b5ad4a6b9574efa6365ac4bf026211e9d (diff)
downloadvdr-d607265f695510e357c67d78e43d0c8138f8c588.tar.gz
vdr-d607265f695510e357c67d78e43d0c8138f8c588.tar.bz2
Added the 'pictures' plugin
Diffstat (limited to 'PLUGINS/src/pictures/menu.h')
-rw-r--r--PLUGINS/src/pictures/menu.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/PLUGINS/src/pictures/menu.h b/PLUGINS/src/pictures/menu.h
new file mode 100644
index 00000000..eb85cb33
--- /dev/null
+++ b/PLUGINS/src/pictures/menu.h
@@ -0,0 +1,31 @@
+/*
+ * menu.h: A menu for still pictures
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ * $Id: menu.h 1.1 2008/01/13 11:32:52 kls Exp $
+ */
+
+#ifndef _MENU_H
+#define _MENU_H
+
+#include <vdr/osdbase.h>
+#include <vdr/tools.h>
+#include "entry.h"
+
+extern char PictureDirectory[PATH_MAX];
+
+class cPictureMenu : public cOsdMenu {
+private:
+ static cPictureEntry *pictures;
+ const cPictureEntry *pictureEntry;
+ void Set(const char *Path);
+ eOSState SelectItem(const char *Path = NULL, bool SlideShow = false);
+public:
+ cPictureMenu(const cPictureEntry *PictureEntry, const char *Path = NULL);
+ ~cPictureMenu();
+ virtual eOSState ProcessKey(eKeys Key);
+ static cPictureMenu *CreatePictureMenu(void);
+ };
+
+#endif //_MENU_H