summaryrefslogtreecommitdiff
path: root/src/menusetup.cpp
diff options
context:
space:
mode:
authorsvntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-08-25 21:43:58 +0000
committersvntcreutz <svntcreutz@cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f>2007-08-25 21:43:58 +0000
commit6c42c17749cdbb4d733fdfb9e1a06508e4635fe0 (patch)
treeeb5f1cc45fee86a9faf36f7600847679dde729f9 /src/menusetup.cpp
parent8ba068032518c32762b32468ef1f4415fefe7574 (diff)
downloadvdr-plugin-menuorg-6c42c17749cdbb4d733fdfb9e1a06508e4635fe0.tar.gz
vdr-plugin-menuorg-6c42c17749cdbb4d733fdfb9e1a06508e4635fe0.tar.bz2
first changes for the OSD Setup Menu
git-svn-id: file:///home/tobias/sandbox/vdr/--/vdr-pkg/vdr-pkg/menuorg/trunk@5991 cd0d6b48-d4f9-0310-940f-ab8c4eb44d3f
Diffstat (limited to 'src/menusetup.cpp')
-rw-r--r--src/menusetup.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/menusetup.cpp b/src/menusetup.cpp
new file mode 100644
index 0000000..a9f9495
--- /dev/null
+++ b/src/menusetup.cpp
@@ -0,0 +1,38 @@
+/*
+ * vdr-menuorg - A plugin for the Linux Video Disk Recorder
+ * Copyright (C) 2007 Thomas Creutz, Tobias Grimm
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * $Id$
+ *
+ */
+
+#include <vdr/menu.h>
+#include "menusetup.h"
+
+cMenuSetup::cMenuSetup(void)
+:cOsdMenu(tr("MENU"),25)
+{
+ //TODO
+
+}
+
+eOSState cMenuSetup::ProcessKey(eKeys Key)
+{
+ eOSState state=cOsdMenu::ProcessKey(Key);
+ if(state==osUnknown && Key==kOk) state=osBack;
+ return state;
+}