mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 13:36:53 +02:00
Minor modification for DEBUG mode. Added preliminary support for themes and some GUI tweaks. Added horizontal offset setup option.
71 lines
1.1 KiB
C++
71 lines
1.1 KiB
C++
/*
|
|
* Frontend Status Monitor plugin for the Video Disk Recorder
|
|
*
|
|
* See the README file for copyright information and how to reach the author.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef __FEMONCFG_H
|
|
#define __FEMONCFG_H
|
|
|
|
#ifdef DEBUG
|
|
#define Dprintf(x...) printf(x);
|
|
#else
|
|
#define Dprintf(x...) ;
|
|
#endif
|
|
|
|
enum eFemonModes
|
|
{
|
|
eFemonModeBasic,
|
|
eFemonModeTransponder,
|
|
eFemonModeStream,
|
|
eFemonModeAC3,
|
|
eFemonModeMaxNumber
|
|
};
|
|
|
|
struct cFemonConfig
|
|
{
|
|
public:
|
|
cFemonConfig(void);
|
|
int hidemenu;
|
|
int displaymode;
|
|
int theme;
|
|
int position;
|
|
int redlimit;
|
|
int greenlimit;
|
|
int updateinterval;
|
|
int analyzestream;
|
|
int calcinterval;
|
|
int syslogoutput;
|
|
int showcasystem;
|
|
int osdheight;
|
|
int osdoffset;
|
|
};
|
|
|
|
extern cFemonConfig femonConfig;
|
|
|
|
enum eFemonThemes
|
|
{
|
|
eFemonThemeClassic,
|
|
eFemonThemeElchi,
|
|
eFemonThemeDeepBlue,
|
|
eFemonThemeMaxNumber
|
|
};
|
|
|
|
struct cFemonTheme
|
|
{
|
|
int clrBackground;
|
|
int clrTitleBackground;
|
|
int clrTitleText;
|
|
int clrActiveText;
|
|
int clrInactiveText;
|
|
int clrRed;
|
|
int clrYellow;
|
|
int clrGreen;
|
|
};
|
|
|
|
extern const cFemonTheme femonTheme[eFemonThemeMaxNumber];
|
|
|
|
#endif // __FEMONCFG_H
|