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.c | |
parent | a429eefbe723a992edff8a9d60502fa62f01b71e (diff) | |
download | vdr-735fb20ac6bba137423eabf8eb49ec59dc207d84.tar.gz vdr-735fb20ac6bba137423eabf8eb49ec59dc207d84.tar.bz2 |
Added cOsd::MaxPixmapSize()
Diffstat (limited to 'osd.c')
-rw-r--r-- | osd.c | 8 |
1 files changed, 7 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.c 3.5 2015/02/11 09:48:02 kls Exp $ + * $Id: osd.c 4.1 2015/03/08 13:54:47 kls Exp $ */ #include "osd.h" @@ -1641,6 +1641,7 @@ int cOsd::osdLeft = 0; int cOsd::osdTop = 0; int cOsd::osdWidth = 0; int cOsd::osdHeight = 0; +cSize cOsd::maxPixmapSize(2048, 2048); cVector<cOsd *> cOsd::Osds; cMutex cOsd::mutex; @@ -1705,6 +1706,11 @@ cBitmap *cOsd::GetBitmap(int Area) return Area < numBitmaps ? (isTrueColor ? bitmaps[0] : bitmaps[Area]) : NULL; } +const cSize &cOsd::MaxPixmapSize(void) const +{ + return maxPixmapSize; +} + cPixmap *cOsd::CreatePixmap(int Layer, const cRect &ViewPort, const cRect &DrawPort) { if (isTrueColor) { |