summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-04-22 13:51:48 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-04-22 13:51:48 +0200
commitc32864756051a976e87879cd5827f4d95b5d55d5 (patch)
treea33220d629f2a5108957f1f42547d4cdd0e70f6f /dvbapi.h
parentec9cb35acb536540003caed72b56156b960458d5 (diff)
downloadvdr-c32864756051a976e87879cd5827f4d95b5d55d5.tar.gz
vdr-c32864756051a976e87879cd5827f4d95b5d55d5.tar.bz2
Implemented Channel Display
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/dvbapi.h b/dvbapi.h
index 3c447cf1..8303d59f 100644
--- a/dvbapi.h
+++ b/dvbapi.h
@@ -4,7 +4,7 @@
* See the main source file 'osm.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.h 1.3 2000/04/15 13:36:10 kls Exp $
+ * $Id: dvbapi.h 1.4 2000/04/22 13:07:34 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -21,6 +21,9 @@ typedef unsigned char __u8;
#include <stdio.h>
#include "../DVB/driver/dvb.h"
+#define MenuLines 15
+#define MenuColumns 40
+
enum eDvbColor { clrBackground,
#ifndef DEBUG_OSD
clrOBSOLETE, //FIXME apparently color '1' can't be used as FgColor with e.g. clrRed as BgColor???
@@ -59,7 +62,7 @@ private:
int cols, rows;
void Cmd(OSD_Command cmd, int color = 0, int x0 = 0, int y0 = 0, int x1 = 0, int y1 = 0, const void *data = NULL);
public:
- void Open(int w, int h);
+ void Open(int w, int h, int d = 0);
void Close(void);
void Clear(void);
void Fill(int x, int y, int w, int h, eDvbColor color = clrBackground);