diff options
Diffstat (limited to 'menunoselectitem.h')
-rw-r--r-- | menunoselectitem.h | 29 |
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 |