summaryrefslogtreecommitdiff
path: root/PLUGINS
diff options
context:
space:
mode:
Diffstat (limited to 'PLUGINS')
-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;
}