vdr 2.7.4
PLUGINS/src/pictures/menu.h
Go to the documentation of this file.
1/*
2 * menu.h: A menu for still pictures
3 *
4 * See the README file for copyright information and how to reach the author.
5 *
6 * $Id: menu.h 1.1 2008/01/13 11:32:52 kls Exp $
7 */
8
9#ifndef _MENU_H
10#define _MENU_H
11
12#include <vdr/osdbase.h>
13#include <vdr/tools.h>
14#include "entry.h"
15
16extern char PictureDirectory[PATH_MAX];
17
18class cPictureMenu : public cOsdMenu {
19private:
22 void Set(const char *Path);
23 eOSState SelectItem(const char *Path = NULL, bool SlideShow = false);
24public:
25 cPictureMenu(const cPictureEntry *PictureEntry, const char *Path = NULL);
27 virtual eOSState ProcessKey(eKeys Key);
28 static cPictureMenu *CreatePictureMenu(void);
29 };
30
31#endif //_MENU_H
char PictureDirectory[PATH_MAX]
cOsdMenu(const char *Title, int c0=0, int c1=0, int c2=0, int c3=0, int c4=0)
Definition osdbase.c:83
static cPictureEntry * pictures
void Set(const char *Path)
eOSState SelectItem(const char *Path=NULL, bool SlideShow=false)
static cPictureMenu * CreatePictureMenu(void)
const cPictureEntry * pictureEntry
cPictureMenu(const cPictureEntry *PictureEntry, const char *Path=NULL)
virtual eOSState ProcessKey(eKeys Key)
eKeys
Definition keys.h:16
eOSState
Definition osdbase.h:18