2013-01-17 13:16:44 +01:00
|
|
|
#ifndef __TVGUIDE_SETUP_H
|
|
|
|
#define __TVGUIDE_SETUP_H
|
|
|
|
|
2013-12-07 15:51:50 +01:00
|
|
|
#include <vdr/menuitems.h>
|
|
|
|
#include "config.h"
|
|
|
|
|
2013-01-17 13:16:44 +01:00
|
|
|
class cTvguideSetup : public cMenuSetupPage {
|
2013-05-26 11:38:05 +02:00
|
|
|
public:
|
|
|
|
cTvguideSetup(void);
|
|
|
|
virtual ~cTvguideSetup();
|
|
|
|
private:
|
|
|
|
cTvguideConfig tmpTvguideConfig;
|
|
|
|
void Setup(void);
|
|
|
|
protected:
|
|
|
|
virtual eOSState ProcessKey(eKeys Key);
|
|
|
|
virtual void Store(void);
|
2013-01-17 13:16:44 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
class cMenuSetupSubMenu : public cOsdMenu {
|
2013-05-26 11:38:05 +02:00
|
|
|
protected:
|
|
|
|
cTvguideConfig *tmpTvguideConfig;
|
|
|
|
virtual eOSState ProcessKey(eKeys Key);
|
|
|
|
virtual void Set(void) = 0;
|
|
|
|
cOsdItem *InfoItem(const char *label, const char *value);
|
2013-12-21 11:25:03 +01:00
|
|
|
cString indent;
|
2013-05-26 11:38:05 +02:00
|
|
|
public:
|
|
|
|
cMenuSetupSubMenu(const char *Title, cTvguideConfig *data);
|
2013-01-17 13:16:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
class cMenuSetupGeneral : public cMenuSetupSubMenu {
|
2013-05-26 11:38:05 +02:00
|
|
|
protected:
|
2013-05-26 17:44:04 +02:00
|
|
|
virtual eOSState ProcessKey(eKeys Key);
|
2013-05-24 16:23:23 +02:00
|
|
|
cThemes themes;
|
2013-05-26 11:38:05 +02:00
|
|
|
const char * timeFormatItems[2];
|
2013-05-31 13:58:22 +02:00
|
|
|
const char * jumpMode[2];
|
2014-01-14 18:00:32 +01:00
|
|
|
const char * blueMode[3];
|
2013-12-23 09:12:19 +01:00
|
|
|
const char * numMode[2];
|
2013-05-26 17:44:04 +02:00
|
|
|
const char *useSubtitleRerunTexts[3];
|
2013-05-26 11:38:05 +02:00
|
|
|
void Set(void);
|
|
|
|
public:
|
|
|
|
cMenuSetupGeneral(cTvguideConfig *data);
|
2013-01-17 13:16:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
class cMenuSetupScreenLayout : public cMenuSetupSubMenu {
|
2013-05-26 11:38:05 +02:00
|
|
|
protected:
|
|
|
|
virtual eOSState ProcessKey(eKeys Key);
|
2013-05-24 16:23:23 +02:00
|
|
|
const char * displayModeItems[2];
|
2013-05-26 11:38:05 +02:00
|
|
|
const char * hideChannelLogosItems[2];
|
|
|
|
const char * logoExtensionItems[2];
|
|
|
|
void Set(void);
|
|
|
|
public:
|
|
|
|
cMenuSetupScreenLayout(cTvguideConfig *data);
|
2013-01-17 13:16:44 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
class cMenuSetupFont : public cMenuSetupSubMenu {
|
2013-05-26 11:38:05 +02:00
|
|
|
protected:
|
|
|
|
cStringList fontNames;
|
|
|
|
void Set(void);
|
|
|
|
public:
|
|
|
|
cMenuSetupFont(cTvguideConfig *data);
|
2013-01-17 13:16:44 +01:00
|
|
|
};
|
|
|
|
|
2014-01-19 13:52:05 +01:00
|
|
|
class cMenuSetupFavorites : public cMenuSetupSubMenu {
|
|
|
|
protected:
|
|
|
|
char description1[256];
|
|
|
|
char description2[256];
|
|
|
|
char description3[256];
|
|
|
|
char description4[256];
|
|
|
|
void Set(void);
|
|
|
|
virtual eOSState ProcessKey(eKeys Key);
|
|
|
|
public:
|
|
|
|
cMenuSetupFavorites(cTvguideConfig *data);
|
|
|
|
};
|
|
|
|
|
2013-12-21 11:25:03 +01:00
|
|
|
class cMenuSetupImageCache : public cMenuSetupSubMenu {
|
|
|
|
protected:
|
|
|
|
void Set(void);
|
|
|
|
public:
|
|
|
|
cMenuSetupImageCache(cTvguideConfig *data);
|
|
|
|
};
|
|
|
|
|
2013-01-17 13:16:44 +01:00
|
|
|
#endif //__TVGUIDE_SETUP_H
|