summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-03-12 16:08:08 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-03-12 16:08:08 +0100
commit2bd17596a045fd77a5b0cf757d9a954c0f23d1f7 (patch)
treeda6bc587d47a7f5c38d6001c410587fb203001ff /osd.h
parent11cca8015c0c1b66a9a4bb9255ab0b1183cca529 (diff)
downloadvdr-2bd17596a045fd77a5b0cf757d9a954c0f23d1f7.tar.gz
vdr-2bd17596a045fd77a5b0cf757d9a954c0f23d1f7.tar.bz2
The original display size of subtitles is now used to scale them properly when displaying them on an HD OSD1.7.17
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/osd.h b/osd.h
index fce9d998..ebd27979 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 2.10 2011/03/08 15:52:12 kls Exp $
+ * $Id: osd.h 2.11 2011/03/12 16:06:48 kls Exp $
*/
#ifndef __OSD_H
@@ -273,6 +273,9 @@ public:
///< the 2^NewBpp most frequently used colors as defined in the current palette.
///< If NewBpp is not smaller than the bitmap's current color depth,
///< or if it is not one of 4bpp or 2bpp, nothing happens.
+ cBitmap *Scale(double FactorX, double FactorY);
+ ///< Creates a copy of this bitmap, scaled by the given factors.
+ ///< The caller must delete the returned bitmap once it is no longer used.
};
struct tArea {