summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-09-09 14:57:43 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-09-09 14:57:43 +0200
commitc00d4ea326e61d76d7ab5760a5c06646d6b88ab0 (patch)
tree2462fd5c1759f451d8f1c54cedc10b5b0d74cfd1 /osd.h
parentd4eb96f725bed149762665ddee275301c9f069a6 (diff)
downloadvdr-c00d4ea326e61d76d7ab5760a5c06646d6b88ab0.tar.gz
vdr-c00d4ea326e61d76d7ab5760a5c06646d6b88ab0.tar.bz2
Implemented 'channel grouping'
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/osd.h b/osd.h
index 1d4f4cf0..1fd4b209 100644
--- a/osd.h
+++ b/osd.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osd.h 1.9 2000/05/27 15:35:41 kls Exp $
+ * $Id: osd.h 1.10 2000/09/03 14:50:22 kls Exp $
*/
#ifndef __OSD_H
@@ -37,13 +37,17 @@ private:
eOSState state;
protected:
bool fresh;
+ bool userColor;
+ eDvbColor fgColor, bgColor;
public:
cOsdItem(eOSState State = osUnknown);
cOsdItem(char *Text, eOSState State = osUnknown);
virtual ~cOsdItem();
+ bool HasUserColor(void) { return userColor; }
void SetText(const char *Text, bool Copy = true);
+ void SetColor(eDvbColor FgColor, eDvbColor BgColor = clrBackground);
const char *Text(void) { return text; }
- void Display(int Offset = -1, bool Current = false);
+ void Display(int Offset = -1, eDvbColor FgColor = clrWhite, eDvbColor BgColor = clrBackground);
virtual void Set(void) {}
virtual eOSState ProcessKey(eKeys Key);
};
@@ -68,6 +72,7 @@ private:
const char *status;
protected:
bool visible;
+ bool SpecialItem(int idx);
void RefreshCurrent(void);
void DisplayCurrent(bool Current);
void CursorUp(void);