diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-14 11:22:56 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-05-14 11:22:56 +0200 |
commit | 3688b801c728934db95dc2f2d2738696f248c919 (patch) | |
tree | f5c49dd9d91d29f08ef6d4800331451c56b54d25 /osd.h | |
parent | e096b86ef698a2121b528816d3d22a0b056cbe5d (diff) | |
download | vdr-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |