summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-03-09 10:46:41 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-03-09 10:46:41 +0100
commitb526a70071b5a01a06f31ba86ef18b5b0df2c954 (patch)
tree3205da21c37bf91b872e75d573c756b6ec30aa9e
parentd08777ed87b68faca08959d561e1134563f91073 (diff)
downloadvdr-b526a70071b5a01a06f31ba86ef18b5b0df2c954.tar.gz
vdr-b526a70071b5a01a06f31ba86ef18b5b0df2c954.tar.bz2
The LCARS skin now calls SetAntiAliasGranularity(20, 16) in order to reserve enough fixed colors on 8bpp displays with anti-aliasing
-rw-r--r--HISTORY4
-rw-r--r--skinlcars.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 092979c8..8b3a8641 100644
--- a/HISTORY
+++ b/HISTORY
@@ -7689,7 +7689,7 @@ Video Disk Recorder Revision History
- When sorting recordings by name, folders are now always at the top of the list.
- Updated the Russian OSD texts (thanks to Oleg Roitburd).
-2013-03-08: Version 1.7.40
+2013-03-09: Version 1.7.40
- The "Recording info" page of the skins that come with VDR now displays the name of
the channel (if available) from which this recording was taken.
@@ -7724,3 +7724,5 @@ Video Disk Recorder Revision History
- Fixed resuming replay of PES recordings (reported by Oliver Endriss).
- Limited the Goto() call in cDvbPlayer::SetAudioTrack() to the main thread, in order
to avoid a crash when the track is automatically set from the player thread.
+- The LCARS skin now calls SetAntiAliasGranularity(20, 16) in order to reserve enough
+ fixed colors on 8bpp displays with anti-aliasing.
diff --git a/skinlcars.c b/skinlcars.c
index 5914f4e6..72e8302e 100644
--- a/skinlcars.c
+++ b/skinlcars.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skinlcars.c 2.20 2013/03/03 15:23:58 kls Exp $
+ * $Id: skinlcars.c 2.21 2013/03/09 10:43:34 kls Exp $
*/
// "Star Trek: The Next Generation"(R) is a registered trademark of Paramount Pictures,
@@ -210,6 +210,7 @@ static cOsd *CreateOsd(int Left, int Top, int x0, int y0, int x1, int y1)
Area.bpp = Bpp[i];
if (Osd->CanHandleAreas(&Area, 1) == oeOk) {
Osd->SetAreas(&Area, 1);
+ Osd->SetAntiAliasGranularity(20, 16);
TwoColors = Area.bpp == 1;
break;
}