From c281d01c089f4c9410a2756d3bcd99a56f702c86 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 6 Jun 2004 18:00:00 +0200 Subject: =?UTF-8?q?Version=201.3.10=20-=20Fixed=20some=20default=20paramet?= =?UTF-8?q?ers=20in=20'skincurses'.=20-=20Fixed=20cBitmap::DrawPixel(),=20?= =?UTF-8?q?which=20messed=20with=20other=20bitmaps'=20palettes=20in=20case?= =?UTF-8?q?=20=20=20the=20pixel=20coordinates=20were=20outside=20this=20bi?= =?UTF-8?q?tmap=20(thanks=20to=20Sascha=20Volkenandt=20for=20=20=20reporti?= =?UTF-8?q?ng=20this=20one).=20-=20The=20cBitmap::DrawText()=20function=20?= =?UTF-8?q?now=20doesn't=20set=20any=20background=20pixels=20if=20the=20?= =?UTF-8?q?=20=20given=20background=20color=20is=20clrTransparent.=20This?= =?UTF-8?q?=20allows=20drawing=20"transparent"=20=20=20texts=20(suggested?= =?UTF-8?q?=20by=20Sascha=20Volkenandt).=20-=20The=20cBitmap::SetXpm()=20f?= =?UTF-8?q?unction=20now=20ignores=20unused=20"none"=20color=20entries,=20?= =?UTF-8?q?which=20=20=20some=20broken=20graphics=20tools=20write=20into?= =?UTF-8?q?=20XPM=20files=20(suggested=20by=20Sascha=20Volkenandt).=20-=20?= =?UTF-8?q?No=20longer=20setting=20lnb=20voltage=20if=20the=20frontend=20i?= =?UTF-8?q?s=20not=20DVB-S=20(thanks=20to=20Marco=20=20=20Schl=C3=BC=C3=9F?= =?UTF-8?q?ler).=20-=20Fixed=20displaying=20the=20current=20channel=20when?= =?UTF-8?q?=20switching=20via=20the=20SVDRP=20command=20CHAN=20=20=20(than?= =?UTF-8?q?ks=20to=20J=C3=BCrgen=20Schmitz=20for=20reporting=20this=20one)?= =?UTF-8?q?.=20-=20Fixed=20missing=20audio=20after=20replaying=20a=20DVD?= =?UTF-8?q?=20(thanks=20to=20Marco=20Schl=C3=BC=C3=9Fler).=20-=20Added=20a?= =?UTF-8?q?=20note=20about=20the=20default=20assignment=20of=20the=20color?= =?UTF-8?q?=20keys=20to=20MANUAL.=20-=20Added=20a=20note=20about=20NPTL=20?= =?UTF-8?q?("Native=20Posix=20Thread=20Library")=20to=20the=20INSTALL=20fi?= =?UTF-8?q?le=20=20=20(apparently=20the=20"fix"=20in=20version=201.3.0=20d?= =?UTF-8?q?idn't=20really=20fix=20this).=20-=20Modified=20'libsi'=20to=20r?= =?UTF-8?q?equire=20callers=20to=20state=20the=20buffer=20sizes=20when=20g?= =?UTF-8?q?etting=20=20=20strings=20in=20order=20to=20avoid=20buffer=20ove?= =?UTF-8?q?rflows=20(thanks=20to=20Philip=20Lawatsch=20for=20=20=20debuggi?= =?UTF-8?q?ng=20a=20buffer=20overflow=20in=20eit.c).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PLUGINS/src/skincurses/HISTORY | 6 +++++- PLUGINS/src/skincurses/skincurses.c | 6 +++--- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'PLUGINS') diff --git a/PLUGINS/src/skincurses/HISTORY b/PLUGINS/src/skincurses/HISTORY index 9f459b4..df67358 100644 --- a/PLUGINS/src/skincurses/HISTORY +++ b/PLUGINS/src/skincurses/HISTORY @@ -1,6 +1,10 @@ VDR Plugin 'skincurses' Revision History ---------------------------------------- -2004-05-29: Version 0.0.1 +2004-05-31: Version 0.0.1 - Initial revision. + +2004-05-31: Version 0.0.2 + +- Fixed some default parameters. diff --git a/PLUGINS/src/skincurses/skincurses.c b/PLUGINS/src/skincurses/skincurses.c index 38c297a..e2b218d 100644 --- a/PLUGINS/src/skincurses/skincurses.c +++ b/PLUGINS/src/skincurses/skincurses.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: skincurses.c 1.1 2004/05/31 14:01:49 kls Exp $ + * $Id: skincurses.c 1.2 2004/05/31 14:57:40 kls Exp $ */ #include @@ -11,7 +11,7 @@ #include #include -static const char *VERSION = "0.0.1"; +static const char *VERSION = "0.0.2"; static const char *DESCRIPTION = "A text only skin"; static const char *MAINMENUENTRY = NULL; @@ -133,7 +133,7 @@ void cCursesOsd::RestoreRegion(void) } } -void cCursesOsd::DrawText(int x, int y, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font, int Width = 0, int Height = 0, int Alignment = taDefault) +void cCursesOsd::DrawText(int x, int y, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font, int Width, int Height, int Alignment) { int w = Font->Width(s); int h = Font->Height(); -- cgit v1.2.3