summaryrefslogtreecommitdiff
path: root/osd.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-14 10:50:55 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-14 10:50:55 +0100
commitdb47cdaa1a0c7f57fc826d7906a01e5e98dd719a (patch)
tree01e794e3a76853fc63d8190c581426b85d412a72 /osd.h
parent7062583ab40bec2ee63e84adbbd8e3e1740729bf (diff)
downloadvdr-db47cdaa1a0c7f57fc826d7906a01e5e98dd719a.tar.gz
vdr-db47cdaa1a0c7f57fc826d7906a01e5e98dd719a.tar.bz2
Use of the function cOsd::GetBitmap() outside of derived classes is now deprecated
Diffstat (limited to 'osd.h')
-rw-r--r--osd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/osd.h b/osd.h
index 8c262451..5195f8d6 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 3.3 2015/01/04 15:51:03 kls Exp $
+ * $Id: osd.h 3.4 2015/01/14 10:50:55 kls Exp $
*/
#ifndef __OSD_H
@@ -817,6 +817,8 @@ public:
///< If this is a true color OSD, a pointer to a dummy bitmap with 8bpp
///< is returned. This is done so that skins that call this function
///< 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 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