Commit Graph

92 Commits

Author SHA1 Message Date
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
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 1d3495a0f0 Made several functions threadsafe 2004-12-19 16:33:34 +01:00
Klaus Schmidinger 27895be475 cOsdProvider::NewOsd() now always returns a valid pointer 2004-10-16 11:05:14 +02:00
Klaus Schmidinger 35724f07bd Making sure the OSD reports oeWrongAlignment errors before any oeAreasOverlap error 2004-07-18 09:28:38 +02:00
Klaus Schmidinger a7a2bc6b06 Fixed checking the last area for misalignment in cOsd::CanHandleAreas() 2004-07-17 13:46:15 +02:00
Klaus Schmidinger 480afc6bc8 Fixed a memory leak in theme description handling 2004-06-18 15:06:21 +02:00
Klaus Schmidinger dcee5cb967 Fixed calculating the OSD width and height 2004-06-12 14:04:01 +02:00
Klaus Schmidinger 8108d4587f Some improvements in cOsd creation 2004-06-12 13:30:11 +02:00
Klaus Schmidinger 2dc9309d2d Fixed ignoring unused "none" color entries in XPM files (there was an unnecessary log entry) 2004-06-05 16:52:51 +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 2a5a55cee7 Fixed cBitmap::DrawPixel(), which messed with other bitmaps' palettes in case the pixel coordinates were outside this bitmap 2004-06-05 11:24:37 +02:00
Klaus Schmidinger 887194ccc1 cBitmap::DrawBitmap() now also resets the palette if the entire bitmap area is covered 2004-05-28 15:33:22 +02:00
Klaus Schmidinger 8eff25b8de When processing XPM data, the color name "None" is no mapped to #00000000 2004-05-22 13:53:32 +02:00
Klaus Schmidinger 5d99df7b77 Implemented 'skins' and 'themes' 2004-05-16 10:35:36 +02:00
Klaus Schmidinger 5f39e62ea1 Improved performance when paging through very long menu lists 2004-03-14 10:34:56 +01:00
Klaus Schmidinger b845ef01b5 Fixed handling the current menu item 2004-03-05 15:29:04 +01:00
Klaus Schmidinger 2a651d0ed0 Fixed OSD access in case none of the devices provides one 2003-06-06 12:28:29 +02:00