summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-04-23 15:38:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-04-23 15:38:16 +0200
commit160c6ec5eb369d309350e9fdf588e29d4ea215bd (patch)
treee3fc59f1dba568d3b2f895c6fca2626045a609dd /osd.h
parent88f13b1b296218589a44dac227964a8a47a75e50 (diff)
downloadvdr-160c6ec5eb369d309350e9fdf588e29d4ea215bd.tar.gz
vdr-160c6ec5eb369d309350e9fdf588e29d4ea215bd.tar.bz2
Implemented replay progress display
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/osd.h b/osd.h
index 5ec13349..3b92467a 100644
--- a/osd.h
+++ b/osd.h
@@ -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);