mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 13:36:53 +02:00
155 lines
3.7 KiB
C
155 lines
3.7 KiB
C
/*
|
|
* Frontend Status Monitor plugin for the Video Disk Recorder
|
|
*
|
|
* See the README file for copyright information and how to reach the author.
|
|
*
|
|
*/
|
|
|
|
#include <string.h>
|
|
|
|
#include "femonconfig.h"
|
|
|
|
cFemonConfig FemonConfig;
|
|
|
|
cFemonConfig::cFemonConfig(void)
|
|
{
|
|
hidemenu = 0;
|
|
displaymode = 0;
|
|
skin = 0;
|
|
theme = 0;
|
|
position = 1;
|
|
downscale = 0;
|
|
redlimit = 33;
|
|
greenlimit = 66;
|
|
updateinterval = 5;
|
|
analyzestream = 1;
|
|
calcinterval = 20;
|
|
usesvdrp = 0;
|
|
svdrpport = 6419;
|
|
strncpy(svdrpip, "0.0.0.0", sizeof(svdrpip));
|
|
}
|
|
|
|
const cFemonTheme FemonTheme[eFemonThemeMaxNumber] =
|
|
{
|
|
{
|
|
// eFemonThemeClassic
|
|
4, // bpp
|
|
0x7F000000, // clrBackground
|
|
0xFFFCFCFC, // clrTitleBackground
|
|
0xFF000000, // clrTitleText
|
|
0xFFFCC024, // clrActiveText
|
|
0xFFFCFCFC, // clrInactiveText
|
|
0xFFFC1414, // clrRed
|
|
0xFFFCC024, // clrYellow
|
|
0xFF24FC24, // clrGreen
|
|
},
|
|
{
|
|
// eFemonThemeElchi
|
|
4, // bpp
|
|
0xC8000066, // clrBackground
|
|
0xC833AAEE, // clrTitleBackground
|
|
0xFF000000, // clrTitleText
|
|
0xFFCCBB22, // clrActiveText
|
|
0xFFFFFFFF, // clrInactiveText
|
|
0xFFFF0000, // clrRed
|
|
0xFFFFEE00, // clrYellow
|
|
0xFF33CC33, // clrGreen
|
|
},
|
|
{
|
|
// eFemonThemeSTTNG
|
|
4, // bpp
|
|
0x7F000000, // clrBackground
|
|
0xFFFCC024, // clrTitleBackground
|
|
0xFF000000, // clrTitleText
|
|
0xFF00FCFC, // clrActiveText
|
|
0xFFFCC024, // clrInactiveText
|
|
0xFFFC1414, // clrRed
|
|
0xFFFCC024, // clrYellow
|
|
0xFF24FC24, // clrGreen
|
|
},
|
|
{
|
|
// eFemonThemeDeepBlue
|
|
4, // bpp
|
|
0xC80C0C0C, // clrBackground
|
|
0xC832557A, // clrTitleBackground
|
|
0xFF000000, // clrTitleText
|
|
0xFFCE7B00, // clrActiveText
|
|
0xFF9A9A9A, // clrInactiveText
|
|
0xFF992900, // clrRed
|
|
0xFFCE7B00, // clrYellow
|
|
0xFF336600, // clrGreen
|
|
},
|
|
{
|
|
// eFemonThemeMoronimo
|
|
4, // bpp
|
|
0xDF294A6B, // clrBackground
|
|
0xDF3E5578, // clrTitleBackground
|
|
0xFF9BBAD7, // clrTitleText
|
|
0xFFCE7B00, // clrActiveText
|
|
0xFF9A9A9A, // clrInactiveText
|
|
0xFF992900, // clrRed
|
|
0xFFCE7B00, // clrYellow
|
|
0xFF336600, // clrGreen
|
|
},
|
|
{
|
|
// eFemonThemeEnigma
|
|
4, // bpp
|
|
0xB8DEE5FA, // clrBackground
|
|
0xB84158BC, // clrTitleBackground
|
|
0xFFFFFFFF, // clrTitleText
|
|
0xFF000000, // clrActiveText
|
|
0xFF000000, // clrInactiveText
|
|
0xB8C40000, // clrRed
|
|
0xB8C4C400, // clrYellow
|
|
0xB800C400, // clrGreen
|
|
},
|
|
{
|
|
// eFemonThemeEgalsTry
|
|
4, // bpp
|
|
0xCA2B1B9E, // clrBackground
|
|
0xDFBEBAC3, // clrTitleBackground
|
|
0xFF280249, // clrTitleText
|
|
0xFFD4D7DB, // clrActiveText
|
|
0xDFCFCFCF, // clrInactiveText
|
|
0xFFFF0000, // clrRed
|
|
0xFFFCC024, // clrYellow
|
|
0xFF20980B, // clrGreen
|
|
},
|
|
{
|
|
// eFemonThemeDuotone
|
|
2, // bpp
|
|
0x7F000000, // clrBackground
|
|
0xFFFCFCFC, // clrTitleBackground
|
|
0x7F000000, // clrTitleText
|
|
0xFFFCFCFC, // clrActiveText
|
|
0xFFFCFCFC, // clrInactiveText
|
|
0xFFFC1414, // clrRed
|
|
0xFFFCFCFC, // clrYellow
|
|
0xFFFCFCFC, // clrGreen
|
|
},
|
|
{
|
|
// eFemonThemeSilverGreen
|
|
4, // bpp
|
|
0xD9526470, // clrBackground
|
|
0xD9293841, // clrTitleBackground
|
|
0xFFB3BDCA, // clrTitleText
|
|
0xFFCE7B00, // clrActiveText
|
|
0xFFB3BDCA, // clrInactiveText
|
|
0xFF992900, // clrRed
|
|
0xFFCE7B00, // clrYellow
|
|
0xFF336600, // clrGreen
|
|
},
|
|
{
|
|
// eFemonThemePearlHD
|
|
4, // bpp
|
|
0x90000000, // clrBackground
|
|
0xCC000000, // clrTitleBackground
|
|
0xFFBEBEBE, // clrTitleText
|
|
0xFF4E78B1, // clrActiveText
|
|
0xFFBEBEBE, // clrInactiveText
|
|
0xAAFF0000, // clrRed
|
|
0xAAF8F800, // clrYellow
|
|
0x6000ff00, // clrGreen
|
|
},
|
|
};
|