From bcdbfe95e77113c76d1b3b51b96e9321e523571a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 19 Feb 2013 12:44:08 +0100 Subject: The demos in the "osddemo" plugin can now also be ended with the "Back" key --- PLUGINS/src/osddemo/osddemo.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'PLUGINS/src/osddemo/osddemo.c') 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 #include -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; } -- cgit v1.2.3