summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-05-14 11:22:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-05-14 11:22:56 +0200
commit3688b801c728934db95dc2f2d2738696f248c919 (patch)
treef5c49dd9d91d29f08ef6d4800331451c56b54d25 /osd.h
parente096b86ef698a2121b528816d3d22a0b056cbe5d (diff)
downloadvdr-3688b801c728934db95dc2f2d2738696f248c919.tar.gz
vdr-3688b801c728934db95dc2f2d2738696f248c919.tar.bz2
Made cOsd::isOpen an integer counter to avoid problems with messages when a cOsdObject uses the raw OSD
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/osd.h b/osd.h
index bd69084f..2f5de4d0 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.47 2004/10/16 10:33:44 kls Exp $
+ * $Id: osd.h 1.48 2005/05/14 11:15:55 kls Exp $
*/
#ifndef __OSD_H
@@ -210,7 +210,7 @@ struct tArea {
class cOsd {
friend class cOsdProvider;
private:
- static bool isOpen;
+ static int isOpen;
cBitmap *savedRegion;
cBitmap *bitmaps[MAXOSDAREAS];
int numBitmaps;
@@ -235,7 +235,7 @@ protected:
public:
virtual ~cOsd();
///< Shuts down the OSD.
- static bool IsOpen(void) { return isOpen; }
+ static int IsOpen(void) { return isOpen; }
int Left(void) { return left; }
int Top(void) { return top; }
int Width(void) { return width; }