summaryrefslogtreecommitdiff
path: root/PLUGINS/src
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-02-19 12:44:08 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-02-19 12:44:08 +0100
commitbcdbfe95e77113c76d1b3b51b96e9321e523571a (patch)
tree689128fd64bd4efa9bdd7e5ccb4bed1490b25aaa /PLUGINS/src
parent8260adafc29a0bb78eca4f895ceee3ae56463d4a (diff)
downloadvdr-bcdbfe95e77113c76d1b3b51b96e9321e523571a.tar.gz
vdr-bcdbfe95e77113c76d1b3b51b96e9321e523571a.tar.bz2
The demos in the "osddemo" plugin can now also be ended with the "Back" key
Diffstat (limited to 'PLUGINS/src')
-rw-r--r--PLUGINS/src/osddemo/HISTORY4
-rw-r--r--PLUGINS/src/osddemo/osddemo.c6
2 files changed, 8 insertions, 2 deletions
diff --git a/PLUGINS/src/osddemo/HISTORY b/PLUGINS/src/osddemo/HISTORY
index 4f4ace3a..56ccbb8a 100644
--- a/PLUGINS/src/osddemo/HISTORY
+++ b/PLUGINS/src/osddemo/HISTORY
@@ -51,3 +51,7 @@ VDR Plugin 'osddemo' Revision History
- Added demos of the DrawEllipse() and DrawSlope() function (press '1' or '2',
respectively).
+
+2013-02-19: Version 0.3.1
+
+- The demos can now also be ended with the "Back" key.
diff --git a/PLUGINS/src/osddemo/osddemo.c b/PLUGINS/src/osddemo/osddemo.c
index 0d289e89..7a36f42c 100644
--- a/PLUGINS/src/osddemo/osddemo.c
+++ b/PLUGINS/src/osddemo/osddemo.c
@@ -3,13 +3,13 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: osddemo.c 2.10 2013/02/17 13:16:34 kls Exp $
+ * $Id: osddemo.c 2.11 2013/02/19 12:43:19 kls Exp $
*/
#include <vdr/osd.h>
#include <vdr/plugin.h>
-static const char *VERSION = "0.3.0";
+static const char *VERSION = "0.3.1";
static const char *DESCRIPTION = "Demo of arbitrary OSD setup";
static const char *MAINMENUENTRY = "Osd Demo";
@@ -157,6 +157,7 @@ eOSState cLineGame::ProcessKey(eKeys Key)
return osContinue;
case k2: DrawSlopes(osd);
return osContinue;
+ case kBack:
case kOk: return osEnd;
default: return state;
}
@@ -533,6 +534,7 @@ eOSState cTrueColorDemo::ProcessKey(eKeys Key)
SetArea();
DrawSlopes(osd);
break;
+ case kBack:
case kOk: return osEnd;
default: return state;
}