summaryrefslogtreecommitdiff
path: root/PLUGINS/src/pictures/menu.h
diff options
context:
space:
mode:
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