1
0
mirror of https://github.com/rofafor/vdr-plugin-femon.git synced 2023-10-10 13:36:53 +02:00

Replaced "Use single area (8bpp)" option with VDR's "Setup/OSD/Anti-alias".

This commit is contained in:
Rolf Ahrenberg 2008-11-23 02:22:13 +02:00
parent 219fc78226
commit c4fda38364
12 changed files with 9 additions and 87 deletions

View File

@ -317,3 +317,4 @@ VDR Plugin 'femon' Revision History
- Updated Italian translation (Thanks to Diego Pierotto). - Updated Italian translation (Thanks to Diego Pierotto).
- Fixed a memory leak. - Fixed a memory leak.
- Added a check for the minimum OSD height. - Added a check for the minimum OSD height.
- Replaced "Use single area (8bpp)" option with VDR's "Setup/OSD/Anti-alias".

View File

@ -108,7 +108,6 @@ bool cPluginFemon::SetupParse(const char *Name, const char *Value)
{ {
// Parse your own setup parameters and store their values. // Parse your own setup parameters and store their values.
if (!strcasecmp(Name, "HideMenu")) femonConfig.hidemenu = atoi(Value); if (!strcasecmp(Name, "HideMenu")) femonConfig.hidemenu = atoi(Value);
else if (!strcasecmp(Name, "UseSingleArea")) femonConfig.usesinglearea = atoi(Value);
else if (!strcasecmp(Name, "DisplayMode")) femonConfig.displaymode = atoi(Value); else if (!strcasecmp(Name, "DisplayMode")) femonConfig.displaymode = atoi(Value);
else if (!strcasecmp(Name, "Position")) femonConfig.position = atoi(Value); else if (!strcasecmp(Name, "Position")) femonConfig.position = atoi(Value);
else if (!strcasecmp(Name, "OSDHeight")) femonConfig.osdheight = atoi(Value); else if (!strcasecmp(Name, "OSDHeight")) femonConfig.osdheight = atoi(Value);
@ -311,9 +310,6 @@ void cMenuFemonSetup::Setup(void)
Add(new cMenuEditBoolItem(tr("Hide main menu entry"), &data.hidemenu)); Add(new cMenuEditBoolItem(tr("Hide main menu entry"), &data.hidemenu));
help.Append(tr("Define whether the main menu entry is hidden.")); help.Append(tr("Define whether the main menu entry is hidden."));
Add(new cMenuEditBoolItem(tr("Use single area (8bpp)"), &data.usesinglearea));
help.Append(tr("Define whether a single 8bpp OSD area is preferred.\n\nRequired by Truetype fonts and anti-aliasing."));
Add(new cMenuEditStraItem(tr("Default display mode"), &data.displaymode, eFemonModeMaxNumber, dispmodes)); Add(new cMenuEditStraItem(tr("Default display mode"), &data.displaymode, eFemonModeMaxNumber, dispmodes));
help.Append(tr("Define the default display mode at startup.")); help.Append(tr("Define the default display mode at startup."));
@ -372,7 +368,6 @@ void cMenuFemonSetup::Store(void)
Dprintf("%s()\n", __PRETTY_FUNCTION__); Dprintf("%s()\n", __PRETTY_FUNCTION__);
femonConfig = data; femonConfig = data;
SetupStore("HideMenu", femonConfig.hidemenu); SetupStore("HideMenu", femonConfig.hidemenu);
SetupStore("UseSingleArea", femonConfig.usesinglearea);
SetupStore("DisplayMode", femonConfig.displaymode); SetupStore("DisplayMode", femonConfig.displaymode);
SetupStore("Skin", femonConfig.skin); SetupStore("Skin", femonConfig.skin);
SetupStore("Theme", femonConfig.theme); SetupStore("Theme", femonConfig.theme);

View File

@ -13,7 +13,6 @@ cFemonConfig femonConfig;
cFemonConfig::cFemonConfig(void) cFemonConfig::cFemonConfig(void)
{ {
hidemenu = 0; hidemenu = 0;
usesinglearea = 0;
displaymode = 0; displaymode = 0;
skin = 0; skin = 0;
theme = 0; theme = 0;

View File

@ -24,7 +24,6 @@ struct cFemonConfig
public: public:
cFemonConfig(void); cFemonConfig(void);
int hidemenu; int hidemenu;
int usesinglearea;
int displaymode; int displaymode;
int skin; int skin;
int theme; int theme;

View File

@ -515,7 +515,7 @@ void cFemonOsd::Show(void)
if (m_Osd) { if (m_Osd) {
// try to use single 8bpp area // try to use single 8bpp area
tArea Areas1[] = { { 0, 0, OSDWIDTH, OSDHEIGHT, 8 } }; tArea Areas1[] = { { 0, 0, OSDWIDTH, OSDHEIGHT, 8 } };
if (femonConfig.usesinglearea && m_Osd->CanHandleAreas(Areas1, sizeof(Areas1) / sizeof(tArea)) == oeOk) { if (Setup.AntiAlias && m_Osd->CanHandleAreas(Areas1, sizeof(Areas1) / sizeof(tArea)) == oeOk) {
m_Osd->SetAreas(Areas1, sizeof(Areas1) / sizeof(tArea)); m_Osd->SetAreas(Areas1, sizeof(Areas1) / sizeof(tArea));
} }
else { else {

View File

@ -7,7 +7,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.6.3\n" "Project-Id-Version: femon 1.6.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-11-09 13:31+0200\n" "POT-Creation-Date: 2008-11-09 13:31+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
@ -71,15 +71,6 @@ msgstr "Hauptmen
msgid "Define whether the main menu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr "" msgstr ""
msgid "Use single area (8bpp)"
msgstr "Ein Bildbereich benutzen (8bpp)"
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr ""
msgid "Default display mode" msgid "Default display mode"
msgstr "Standard Anzeigemodus" msgstr "Standard Anzeigemodus"

View File

@ -5,7 +5,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.6.3\n" "Project-Id-Version: femon 1.6.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-11-09 13:31+0200\n" "POT-Creation-Date: 2008-11-09 13:31+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
@ -69,15 +69,6 @@ msgstr "Ocultar en el men
msgid "Define whether the main menu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr "" msgstr ""
msgid "Use single area (8bpp)"
msgstr ""
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr ""
msgid "Default display mode" msgid "Default display mode"
msgstr "Modo de visualización estandar" msgstr "Modo de visualización estandar"

View File

@ -5,7 +5,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.6.3\n" "Project-Id-Version: femon 1.6.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-11-09 13:31+0200\n" "POT-Creation-Date: 2008-11-09 13:31+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
@ -69,15 +69,6 @@ msgstr "Peida valik peamen
msgid "Define whether the main menu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr "" msgstr ""
msgid "Use single area (8bpp)"
msgstr ""
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr ""
msgid "Default display mode" msgid "Default display mode"
msgstr "Vaikimisi displei moodus" msgstr "Vaikimisi displei moodus"

View File

@ -5,7 +5,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.6.3\n" "Project-Id-Version: femon 1.6.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-11-09 13:31+0200\n" "POT-Creation-Date: 2008-11-09 13:31+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
@ -69,18 +69,6 @@ msgstr "Piilota valinta päävalikosta"
msgid "Define whether the main menu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr "Määrittele, näytetäänkö laajennoksen valinta päävalikossa." msgstr "Määrittele, näytetäänkö laajennoksen valinta päävalikossa."
msgid "Use single area (8bpp)"
msgstr "Käytä yksittäistä kuva-aluetta (8bpp)"
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr ""
"Määrittele, yritetäänkö käyttää yksittäistä 8bpp kuva-aluetta.\n"
"\n"
"Truetype-kirjasimet ja reunan pehmennys vaativat tämän asetuksen."
msgid "Default display mode" msgid "Default display mode"
msgstr "Oletusnäyttötila" msgstr "Oletusnäyttötila"

View File

@ -5,7 +5,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.6.3\n" "Project-Id-Version: femon 1.6.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-11-09 13:31+0200\n" "POT-Creation-Date: 2008-11-09 13:31+0200\n"
"PO-Revision-Date: 2008-01-26 09:59+0100\n" "PO-Revision-Date: 2008-01-26 09:59+0100\n"
@ -69,18 +69,6 @@ msgstr "Masquer dans le menu principal"
msgid "Define whether the main menu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr "Définit si l'entrée doit être masquée dans le menu principal." msgstr "Définit si l'entrée doit être masquée dans le menu principal."
msgid "Use single area (8bpp)"
msgstr "Utiliser zone unique (8bpp)"
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr ""
"Définit si une seule zone OSD de 8bpp est préférée.\n"
"\n"
"Requis par les polices Truetype et l'anti-aliasing."
msgid "Default display mode" msgid "Default display mode"
msgstr "Affichage par défaut" msgstr "Affichage par défaut"

View File

@ -6,7 +6,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.6.3\n" "Project-Id-Version: femon 1.6.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-11-09 13:31+0200\n" "POT-Creation-Date: 2008-11-09 13:31+0200\n"
"PO-Revision-Date: 2008-11-10 23:37+0100\n" "PO-Revision-Date: 2008-11-10 23:37+0100\n"
@ -70,18 +70,6 @@ msgstr "Nascondi voce menu principale"
msgid "Define whether the main menu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr "Definisci se la voce del menu principale è nascosta." msgstr "Definisci se la voce del menu principale è nascosta."
msgid "Use single area (8bpp)"
msgstr "Utilizza area singola (8bpp)"
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr ""
"Definisci se è preferita un'area OSD singola a 8bpp.\n"
"\n"
"Richiesto dai caratteri Truetype e anti-aliasing."
msgid "Default display mode" msgid "Default display mode"
msgstr "Modalità visualizz. predefinita" msgstr "Modalità visualizz. predefinita"

View File

@ -5,7 +5,7 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: femon 1.6.3\n" "Project-Id-Version: femon 1.6.4\n"
"Report-Msgid-Bugs-To: Rolf Ahrenberg\n" "Report-Msgid-Bugs-To: Rolf Ahrenberg\n"
"POT-Creation-Date: 2008-11-09 13:31+0200\n" "POT-Creation-Date: 2008-11-09 13:31+0200\n"
"PO-Revision-Date: 2007-08-12 23:22+0300\n" "PO-Revision-Date: 2007-08-12 23:22+0300\n"
@ -69,15 +69,6 @@ msgstr "
msgid "Define whether the main menu entry is hidden." msgid "Define whether the main menu entry is hidden."
msgstr "" msgstr ""
msgid "Use single area (8bpp)"
msgstr ""
msgid ""
"Define whether a single 8bpp OSD area is preferred.\n"
"\n"
"Required by Truetype fonts and anti-aliasing."
msgstr ""
msgid "Default display mode" msgid "Default display mode"
msgstr "ÀÕÖØÜ ßÞ ãÜÞÛçÐÝØî" msgstr "ÀÕÖØÜ ßÞ ãÜÞÛçÐÝØî"