1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
Commit Graph

110 Commits

Author SHA1 Message Date
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
cfb62845ec Fixed upscaling bitmaps 2013-01-24 11:42:15 +01:00
Klaus Schmidinger
40bfe40368 Fixed cOsd::GetBitmap() to always return NULL if a non-exising area is requested 2012-12-15 11:57:16 +01:00
Klaus Schmidinger
c020b708a5 Fixed several spelling errors 2012-06-09 14:40:26 +02:00
Klaus Schmidinger
2de28295fc Now making sure that the "small font" is never larger than the "osd font" 2012-06-02 13:35:54 +02: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
1f5cf1db58 Fixed cPixmapMemory::DrawEllipse() for quadrants -1 and -4 2012-03-28 10:43:15 +02:00
Klaus Schmidinger
55f0978c32 Added some missing member initializations in cBitmap 2012-03-05 10:34:49 +01:00
Klaus Schmidinger
78c1fee7f8 Now checking for NULL in cOsd::AddPixmap() 2012-03-03 13:25:22 +01:00
Klaus Schmidinger
1e3f6d6da2 Replaced min(max()) calls with the new function constrain() 2012-03-02 10:51:46 +01:00
Klaus Schmidinger
a3d37dfc71 Fixed upscaling cBitmaps with anti-aliasing 2012-02-22 17:15:31 +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
40278ec121 Added some missing braces 2011-05-22 15:18:59 +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
8768a9c321 Added anti-aliasing when upscaling bitmaps 2011-03-27 11:50:17 +02:00
Klaus Schmidinger
06a16e7fba Added a missing 'default' case in cPixmapMemory::DrawEllipse() 2011-03-13 13:53:08 +01: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
cd3c26b815 Fixed rendering pixmaps in case there is more than one dirty rectangle 2011-02-27 11:57:37 +01:00
Klaus Schmidinger
8253754cc3 Improved alpha blending 2011-02-27 10:14:43 +01:00
Klaus Schmidinger
0b8356aa92 Improved and cleaned up transparent text drawing 2011-02-26 12:13:59 +01:00
Klaus Schmidinger
e145ee45e2 Optimization in AlphaBlend() 2011-02-20 21:35:48 +01:00
Klaus Schmidinger
6c7089afd2 Implemented support for TrueColor OSD 2011-02-20 15:12:56 +01:00
Klaus Schmidinger
c8cc3a6e36 Fixed inclusion of <stdarg.h> 2010-12-24 11:34:11 +01:00
Klaus Schmidinger
c19c63530e Fixed handling "none" color entries in XPM files 2010-05-02 13:59:11 +02:00
Klaus Schmidinger
eb394c68f1 cPalette::ClosestColor() now treats fully transparent colors as "equal"; improved cDvbSpuBitmap::getMinBpp() (cont'd) 2010-01-22 15:58:39 +01:00
Klaus Schmidinger
40bb2f21e0 cPalette::ClosestColor() now treats fully transparent colors as "equal"; improved cDvbSpuBitmap::getMinBpp() 2010-01-17 13:48:44 +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
6a208294be Several code modifications to avoid compiler warnings 2009-12-06 12:57:45 +01:00
Klaus Schmidinger
bf543736b6 Implemented cSetup::OSDAspect 2009-05-09 10:42:35 +02: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
48da9ba9c8 Changed cBitmap::DrawText() to always draw the background unless ColorBg is clrTransparent 2007-08-17 15:31:18 +02:00
Klaus Schmidinger
dbcc517354 cBitmap::SetXpm() now checks whether the given Xpm pointer is not NULL 2007-08-12 11:36:14 +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
cc385f5292 Fixed a possible crash when loading an invalid XPM file 2007-02-17 16:10:46 +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
c65133979f Changed all "illegal" to "invalid" in error messages 2005-12-30 15:43:21 +01:00
Klaus Schmidinger
52f17c043b Removed '\n' from several syslog() calls 2005-11-04 14:22:04 +01:00
Klaus Schmidinger
ba24e93d82 Added a check against MAXOSDAREAS in cOsd::CanHandleAreas() 2005-10-02 08:49:36 +02:00
Klaus Schmidinger
d68b0a87ae Implemented palette replace mode in the OSD bitmaps 2005-06-19 10:47:06 +02:00
Klaus Schmidinger
3513e3d07e Removed an unnecessary #include from osd.c 2005-06-11 14:32:26 +02:00