summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-09-21 11:16:58 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-09-23 14:26:13 +0200
commit3fbc60131516a19dcf9cdf756388a3a0c67b39fc (patch)
tree9381a75375ffce0c31fd302c6f1d198e87785a27 /setup.c
parent8c9a0d79258bd412d0cb82885d1f446003185937 (diff)
downloadvdr-plugin-skindesigner-1.2.8.5.tar.gz
vdr-plugin-skindesigner-1.2.8.5.tar.bz2
Refresh imgCache if OsdProvider was changed (simple fix)1.2.8.5
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.c b/setup.c
index c24d7d7..76c1ab2 100644
--- a/setup.c
+++ b/setup.c
@@ -134,6 +134,7 @@ cSkinDesignerSetup::cSkinDesignerSetup(skindesignerapi::cPluginStructure *skinPr
rerunMaxChannel = config.rerunMaxChannel;
numCustomTokens = config.numCustomTokens;
FPS = config.FPS;
+ fixForopenGL = config.fixForopenGL;
menuDisplayStyle[0] = tr("after one another");
menuDisplayStyle[1] = tr("at one go");
#ifndef DO_NOT_USE_SKININSTALLER
@@ -276,6 +277,7 @@ void cSkinDesignerSetup::Store(void) {
config.rerunMaxChannel = rerunMaxChannel;
config.numCustomTokens = numCustomTokens;
config.FPS = FPS;
+ config.fixForopenGL = fixForopenGL;
config.InitSetupIterator();
cSkinSetup *skinSetup = NULL;
@@ -302,6 +304,7 @@ void cSkinDesignerSetup::Store(void) {
SetupStore("RerunMaxChannel", rerunMaxChannel);
SetupStore("NumCustomTokens", numCustomTokens);
SetupStore("FPS", FPS);
+ SetupStore("FixForopenGL", fixForopenGL);
}
cOsdItem *cSkinDesignerSetup::InfoItem(const char *label) {
@@ -314,6 +317,7 @@ cOsdItem *cSkinDesignerSetup::InfoItem(const char *label) {
void cSkinDesignerSetup::PluginSetup(void) {
Add(InfoItem(tr("Plugin Setup")));
+ Add(new cMenuEditBoolItem(tr("Workaround for openGL"), &fixForopenGL));
Add(new cMenuEditIntItem(tr("Frames per Second to display animations"), &FPS, 10, 60));
Add(new cMenuEditIntItem(tr("Maximum number of custom tokens"), &numCustomTokens, 0, 100));