summaryrefslogtreecommitdiff
path: root/osd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-03-08 16:40:01 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-03-08 16:40:01 +0100
commit735fb20ac6bba137423eabf8eb49ec59dc207d84 (patch)
treea3a452252e26773e59b0c0468cc8a87ff2853e45 /osd.c
parenta429eefbe723a992edff8a9d60502fa62f01b71e (diff)
downloadvdr-735fb20ac6bba137423eabf8eb49ec59dc207d84.tar.gz
vdr-735fb20ac6bba137423eabf8eb49ec59dc207d84.tar.bz2
Added cOsd::MaxPixmapSize()
Diffstat (limited to 'osd.c')
-rw-r--r--osd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/osd.c b/osd.c
index a475488e..79ed5447 100644
--- a/osd.c
+++ b/osd.c
@@ -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) {