diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-23 15:38:16 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-04-23 15:38:16 +0200 |
commit | 160c6ec5eb369d309350e9fdf588e29d4ea215bd (patch) | |
tree | e3fc59f1dba568d3b2f895c6fca2626045a609dd /osd.h | |
parent | 88f13b1b296218589a44dac227964a8a47a75e50 (diff) | |
download | vdr-160c6ec5eb369d309350e9fdf588e29d4ea215bd.tar.gz vdr-160c6ec5eb369d309350e9fdf588e29d4ea215bd.tar.bz2 |
Implemented replay progress display
Diffstat (limited to 'osd.h')
-rw-r--r-- | osd.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'osm.c' for copyright information and * how to reach the author. * - * $Id: osd.h 1.2 2000/03/05 11:33:11 kls Exp $ + * $Id: osd.h 1.3 2000/04/23 09:53:19 kls Exp $ */ #ifndef __OSD_H @@ -28,7 +28,7 @@ enum eOSState { osUnknown, class cOsdItem : public cListObject { private: - char *text; + const char *text; int offset; eOSState state; protected: @@ -37,8 +37,8 @@ public: cOsdItem(eOSState State = osUnknown); cOsdItem(char *Text, eOSState State = osUnknown); virtual ~cOsdItem(); - void SetText(char *Text, bool Copy = true); - char *Text(void) { return text; } + void SetText(const char *Text, bool Copy = true); + const char *Text(void) { return text; } void Display(int Offset = -1, bool Current = false); virtual void Set(void) {} virtual eOSState ProcessKey(eKeys Key); |