diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-02-11 09:48:02 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-02-11 09:48:02 +0100 |
commit | 22106f6dd33097905c4d76f78a84661bd2c805d0 (patch) | |
tree | afe3200e22f96eb4275ec43dfc2957c4d5621785 /UPDATE-2.2.0 | |
parent | 89f5244007965c047ddf7943daf285cb3832b733 (diff) | |
download | vdr-22106f6dd33097905c4d76f78a84661bd2c805d0.tar.gz vdr-22106f6dd33097905c4d76f78a84661bd2c805d0.tar.bz2 |
cOsd::RenderPixmaps() now returns a pointer to cPixmap instead of cPixmapMemory; a cPixmap with a negative layer no longer marks any portion of the OSD's view port as "dirty"; Added a missing initialization of "panning" to the constructor of cPixmapMemory
Diffstat (limited to 'UPDATE-2.2.0')
-rw-r--r-- | UPDATE-2.2.0 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/UPDATE-2.2.0 b/UPDATE-2.2.0 index bb3058c8..566da1f5 100644 --- a/UPDATE-2.2.0 +++ b/UPDATE-2.2.0 @@ -127,6 +127,15 @@ Plugins: - Added cOsdProvider::OsdSizeChanged(), which plugins that implement an output device can call to signal a change in the OSD that requires a redraw of the currently displayed object. +- cOsd::RenderPixmaps() now returns a pointer to cPixmap instead of cPixmapMemory + This is necessary to allow plugins with derived cPixmap implementations to use this + function. Plugins that use this function with cPixmapMemory now need to add + a dynamic cast to the call, as in + + cPixmapMemory *pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps())); + + They also need to call DestroyPixmap(pm) instead of "delete pm" to properly release + the resulting pixmap after use. Skins: @@ -220,6 +229,15 @@ OSD: is unexpected at this point. You can still navigate to the last replayed recording (if any) by pressing Ok repeatedly in the Recordings menu. +- cOsd::RenderPixmaps() now returns a pointer to cPixmap instead of cPixmapMemory + This is necessary to allow plugins with derived cPixmap implementations to use this + function. Plugins that use this function with cPixmapMemory now need to add + a dynamic cast to the call, as in + + cPixmapMemory *pm = dynamic_cast<cPixmapMemory *>(RenderPixmaps())); + + They also need to call DestroyPixmap(pm) instead of "delete pm" to properly release + the resulting pixmap after use. Channels: |