vdr-plugin-tvguide/setup.h

56 lines
1.5 KiB
C
Raw Normal View History

2013-01-17 13:16:44 +01:00
#ifndef __TVGUIDE_SETUP_H
#define __TVGUIDE_SETUP_H
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);
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-24 16:23:23 +02:00
cThemes themes;
const char * blendingMethods[3];
2013-05-26 11:38:05 +02:00
const char * timeFormatItems[2];
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
};
#endif //__TVGUIDE_SETUP_H