diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-03-08 16:40:01 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-03-08 16:40:01 +0100 |
commit | 735fb20ac6bba137423eabf8eb49ec59dc207d84 (patch) | |
tree | a3a452252e26773e59b0c0468cc8a87ff2853e45 /osd.h | |
parent | a429eefbe723a992edff8a9d60502fa62f01b71e (diff) | |
download | vdr-735fb20ac6bba137423eabf8eb49ec59dc207d84.tar.gz vdr-735fb20ac6bba137423eabf8eb49ec59dc207d84.tar.bz2 |
Added cOsd::MaxPixmapSize()
Diffstat (limited to 'osd.h')
-rw-r--r-- | osd.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: osd.h 3.6 2015/02/11 09:48:02 kls Exp $ + * $Id: osd.h 4.1 2015/03/08 13:54:09 kls Exp $ */ #ifndef __OSD_H @@ -722,6 +722,7 @@ class cOsd { private: static int osdLeft, osdTop, osdWidth, osdHeight; static cVector<cOsd *> Osds; + static cSize maxPixmapSize; static cMutex mutex; bool isTrueColor; cBitmap *savedBitmap; @@ -820,6 +821,8 @@ public: ///< in order to preset the bitmap's palette won't crash. ///< Use of this function outside of derived classes is deprecated and it ///< may be made 'protected' in a future version. + virtual const cSize &MaxPixmapSize(void) const; + ///< Returns the maximum possible size of a pixmap this OSD can create. virtual cPixmap *CreatePixmap(int Layer, const cRect &ViewPort, const cRect &DrawPort = cRect::Null); ///< Creates a new true color pixmap on this OSD (see cPixmap for details). ///< The caller must not delete the returned object, it will be deleted when |