mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
32 lines
757 B
C
32 lines
757 B
C
|
/*
|
||
|
* 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
|