summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-06-12 13:30:11 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-06-12 13:30:11 +0200
commit8108d4587faf7c9e6d05c5ce2dd42e3a866b2dd0 (patch)
treee8541a80ded13b9dd263123d4adf1e941f902ce8 /osd.h
parentc3144c9ab81a02469f65bded3285d643a3111ebc (diff)
downloadvdr-8108d4587faf7c9e6d05c5ce2dd42e3a866b2dd0.tar.gz
vdr-8108d4587faf7c9e6d05c5ce2dd42e3a866b2dd0.tar.bz2
Some improvements in cOsd creation
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/osd.h b/osd.h
index 947e076f..172c4757 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.45 2004/06/05 12:38:44 kls Exp $
+ * $Id: osd.h 1.46 2004/06/12 13:14:48 kls Exp $
*/
#ifndef __OSD_H
@@ -208,13 +208,14 @@ struct tArea {
#define MAXOSDAREAS 16
class cOsd {
+ friend class cOsdProvider;
private:
static bool isOpen;
cBitmap *savedRegion;
cBitmap *bitmaps[MAXOSDAREAS];
int numBitmaps;
int left, top, width, height;
-public:
+protected:
cOsd(int Left, int Top);
///< Initializes the OSD with the given coordinates.
///< By default it is assumed that the full area will be able to display
@@ -231,6 +232,7 @@ public:
///< and should require only the minimum necessary color depth. This is
///< because a derived cOsd class may or may not be able to handle more
///< than one area.
+public:
virtual ~cOsd();
///< Shuts down the OSD.
static bool IsOpen(void) { return isOpen; }