blob: 8a726f625487cd747ae8df26ed8007697af61f8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*
* menu.h: Main Menu
*
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
* $Id: menu.h,v 1.8 2010-01-19 22:45:45 phintuka Exp $
*
*/
#ifndef __XINELIB_MENU_H
#define __XINELIB_MENU_H
#include "features.h"
#include <vdr/menuitems.h>
class cMenuXinelib : public cMenuSetupPage
{
private:
int compression;
int autocrop;
int overscan;
int novideo;
// Hotkeys
enum { hkInit, hkSeen, hkNone } hotkey_state;
static time_t g_LastHotkeyTime;
static eKeys g_LastHotkey;
virtual eOSState ProcessHotkey(eKeys Key);
#ifdef HAVE_XV_FIELD_ORDER
cOsdItem *video_ctrl_interlace_order;
#endif
cOsdItem *audio_ctrl_compress;
cOsdItem *ctrl_autocrop;
cOsdItem *ctrl_overscan;
cOsdItem *ctrl_novideo;
protected:
virtual void Store(void);
public:
cMenuXinelib(void);
virtual ~cMenuXinelib();
virtual eOSState ProcessKey(eKeys Key);
static cOsdMenu *CreateMenuBrowseFiles(eMainMenuMode mode, bool Queue=true);
};
#endif //__XINELIB_SETUP_MENU_H
|