summaryrefslogtreecommitdiff
path: root/menunoselectitem.h
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2012-06-18 22:18:47 +0200
committerMartin Dummer <martin.dummer@gmx.net>2012-06-18 22:18:47 +0200
commit699d66c8380cac5e22fd48cc57e274bafbfeaa6b (patch)
tree83a78ed2c01242ca403e2a4f21060edd2801d924 /menunoselectitem.h
parent5c5d72ee401f48587ef385637496a3445fee94c9 (diff)
downloadvdr-plugin-undelete-0.0.4.tar.gz
vdr-plugin-undelete-0.0.4.tar.bz2
import of version 0.0.4v0.0.4
Diffstat (limited to 'menunoselectitem.h')
-rw-r--r--menunoselectitem.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/menunoselectitem.h b/menunoselectitem.h
new file mode 100644
index 0000000..1a43127
--- /dev/null
+++ b/menunoselectitem.h
@@ -0,0 +1,29 @@
+/*
+ * autotimeredit: A plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ * $Id: menunoselectitem.h 0.4 2005/11/16 18:39:18 hflor Exp $
+ */
+
+#ifndef __MENUNOSELECTITEM_H
+#define __MENUNOSELECTITEM_H
+
+#include <vdr/osd.h>
+
+// --- cMenuOsdNoSelectItem -----------------------------------------------------
+
+class cMenuOsdNoSelectItem : public cOsdItem {
+public:
+#if VDRVERSNUM >= 10307
+ cMenuOsdNoSelectItem(const char *Text):cOsdItem(Text) { SetSelectable(false); }
+#else
+ #ifdef HAVE_ELCHI
+ cMenuOsdNoSelectItem(const char *Text):cOsdItem(Text) { SetColor(Setup.Theme == themeVanilla ? clrCyan : clrScrolLine, clrBackground); }
+ #else
+ cMenuOsdNoSelectItem(const char *Text):cOsdItem(Text) { SetColor(clrCyan, clrBackground); }
+ #endif
+#endif
+ };
+
+#endif //__MENUNOSELECTITEM_H