blob: 1a43127ad2ad58a0f8c23152692321ef8c4d6237 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
|