Commit Graph

92 Commits

Author SHA1 Message Date
Klaus Schmidinger 115eb9fdb4 The macro DEPRECATED_GETBITMAP and the related code has been removed 2021-05-21 12:54:08 +02:00
Klaus Schmidinger bbd36d0610 Implemented anti-aliasing for cPixmap::DrawSlope() 2020-09-29 14:09:26 +02:00
Klaus Schmidinger 96aa4cacae The default maximum size of a cPixmap has been raised to the maximum possible value 2019-05-24 21:28:35 +02:00
Klaus Schmidinger d8523b0db8 The macros used to control deprecated code or functions have been changed to hold numeric values; the default for DEPRECATED_VDR_CHARSET_OVERRIDE has been set to 0 2017-11-02 15:04:56 +01:00
Klaus Schmidinger 5499d5ae84 The function cOsd::GetBitmap() is now 'protected' 2015-04-19 12:22:29 +02:00
Klaus Schmidinger 0bcf5d6da6 Added some comment to cPixmap about the relation between OSD, ViewPort and DrawPort 2015-03-13 15:09:45 +01:00
Klaus Schmidinger 57513db5c4 Added cOsd::MaxPixmapSize() (cont'd) 2015-03-13 15:06:48 +01:00
Klaus Schmidinger 735fb20ac6 Added cOsd::MaxPixmapSize() 2015-03-08 16:40:01 +01:00
Klaus Schmidinger 22106f6dd3 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 2015-02-11 09:48:02 +01:00
Klaus Schmidinger 66c65beea7 Added cOsdProvider::OsdSizeChanged() 2015-01-15 11:33:58 +01:00
Klaus Schmidinger db47cdaa1a Use of the function cOsd::GetBitmap() outside of derived classes is now deprecated 2015-01-14 10:50:55 +01:00
Klaus Schmidinger fc0094231d Added cOsd::DrawScaledBitmap() 2015-01-04 15:53:47 +01:00
Klaus Schmidinger e8fb500819 Fixed displaying DVB subtitles (cont'd) 2013-09-06 12:37:27 +02:00
Klaus Schmidinger f34be6f5f0 Fixed a typo 2013-09-02 07:53:54 +02:00
Klaus Schmidinger e5295be30a Fixed the description of the OSD drawing functions DrawEllipse() 2013-02-12 13:42:00 +01:00
Klaus Schmidinger 245ae52d36 There is no more fixed limit to the maximum number of cPixmap objects an OSD can create 2013-02-08 10:29:32 +01:00
Klaus Schmidinger 7cd8ab4686 Fixed some spellings in osd.h and svdrp.c 2012-12-03 13:51:23 +01:00
Klaus Schmidinger 41b1160f01 The new function RgbShade() (include osd.h) can be used to generate a brighter or darker version of a given color 2012-06-02 10:44:24 +02:00
Klaus Schmidinger c1ddc63fda Implemented taBorder alignment flag 2012-05-17 16:38:50 +02:00
Klaus Schmidinger fe0a011611 Fixed several spelling errors 2011-12-04 13:40:52 +01:00
Klaus Schmidinger fc4bed511d Added a mutex to protect cOsd::Osds from simultaneous access from different threads 2011-08-15 09:37:54 +02:00
Klaus Schmidinger 914b04c1d2 Fixed handling the bitmap color depth for scaled subtitles 2011-04-17 14:40:58 +02:00
Klaus Schmidinger 08d5ad047a Renamed cBitmap::Scale() to Scaled() 2011-03-27 11:54:07 +02:00
Klaus Schmidinger 2bd17596a0 The original display size of subtitles is now used to scale them properly when displaying them on an HD OSD 2011-03-12 16:08:08 +01:00
Klaus Schmidinger 5e09783947 Added some notes about locking cPixmaps 2011-03-08 15:52:12 +01:00
Klaus Schmidinger cd3c26b815 Fixed rendering pixmaps in case there is more than one dirty rectangle 2011-02-27 11:57:37 +01:00
Klaus Schmidinger 750d98f1e6 Added a note about how to implement cOsd::Flush() for true color OSDs 2011-02-26 14:10:30 +01:00
Klaus Schmidinger 0b8356aa92 Improved and cleaned up transparent text drawing 2011-02-26 12:13:59 +01:00
Klaus Schmidinger 6c7089afd2 Implemented support for TrueColor OSD 2011-02-20 15:12:56 +01:00
Klaus Schmidinger 27939266f1 Added plain text error messages to log entries from cOsd::SetAreas() 2010-01-17 13:32:12 +01:00
Klaus Schmidinger f936db2ac6 Implemented cDevice::GetOsdSize(); fixed the way the OSD size is determined on full featured DVB cards 2009-05-09 10:11:16 +02:00
Klaus Schmidinger f161d1b2fe OSD sizes in percent; automatic update of OSD size 2009-05-03 14:15:21 +02:00
Klaus Schmidinger 9ff445dce4 Added missing virtual destructor to cPalette 2009-04-05 10:20:58 +02:00
Klaus Schmidinger 329d7da4ec Added some missing 'const' statements to cBitmap 2009-01-16 14:39:27 +01:00
Klaus Schmidinger 0c8cda9bd0 Implemented handling DVB subtitles 2007-10-12 14:52:30 +02:00
Klaus Schmidinger a80915ff22 There can now be more than one OSD at the same time 2007-08-26 09:58:10 +02:00
Klaus Schmidinger 2f528db30a Fixed a typo in the function name of cOsd::SetOsdPosition() and added a range check to it 2007-07-20 14:57:37 +02:00
Klaus Schmidinger 549a26af27 Implemented cOsd::SetOsdPosition() etc 2007-06-17 14:02:02 +02:00
Klaus Schmidinger c6f8a14957 Freetype font support; full UTF-8 support; dropped pixel fonts 2007-06-10 13:02:43 +02:00
Klaus Schmidinger 1bb79d05b0 Added some missing comment 2006-02-26 14:45:05 +01:00
Klaus Schmidinger 3cd87d3c47 The DrawBitmap() function now has a new parameter 'Overlay' that allows a bitmap to be drawn with a transparent background 2006-02-26 14:43:00 +01:00
Klaus Schmidinger 7b97eb6e97 Made all font and image data 'const' 2006-02-05 13:55:58 +01:00
Klaus Schmidinger 7a0af2292c Fixed handling OSD areas that have invalid sizes 2005-12-18 12:58:31 +01:00
Klaus Schmidinger d68b0a87ae Implemented palette replace mode in the OSD bitmaps 2005-06-19 10:47:06 +02:00
Klaus Schmidinger 3688b801c7 Made cOsd::isOpen an integer counter to avoid problems with messages when a cOsdObject uses the raw OSD 2005-05-14 11:22:56 +02:00
Klaus Schmidinger 27895be475 cOsdProvider::NewOsd() now always returns a valid pointer 2004-10-16 11:05:14 +02:00
Klaus Schmidinger 8108d4587f Some improvements in cOsd creation 2004-06-12 13:30:11 +02:00
Klaus Schmidinger 32e9db211d Ignoring unused "none" color entries in XPM files written by some broken graphics tools 2004-06-05 13:20:19 +02:00
Klaus Schmidinger 00645daa93 Implemented drawing "transparent" texts 2004-06-05 11:42:08 +02:00
Klaus Schmidinger d6f2f1675c Made some functions of cFont virtual to allow implementing dummy fonts for the 'curses' skin 2004-05-31 14:09:52 +02:00