diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-31 15:44:56 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-05-31 15:44:56 +0200 |
commit | 916b740d99b6caa5f1c4e2e404fdea350a7bd1c9 (patch) | |
tree | 12a2b93d1be99f3492ed896622fc1c5e4ab5c3c1 /PLUGINS/src/skincurses | |
parent | b420ef67d29f8737fa3498766d3107ebf9b16311 (diff) | |
download | vdr-916b740d99b6caa5f1c4e2e404fdea350a7bd1c9.tar.gz vdr-916b740d99b6caa5f1c4e2e404fdea350a7bd1c9.tar.bz2 |
Fixed some default parameters in 'skincurses'
Diffstat (limited to 'PLUGINS/src/skincurses')
-rw-r--r-- | PLUGINS/src/skincurses/HISTORY | 6 | ||||
-rw-r--r-- | PLUGINS/src/skincurses/skincurses.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/PLUGINS/src/skincurses/HISTORY b/PLUGINS/src/skincurses/HISTORY index 9f459b4f..df673583 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 f0d069cf..e2b218da 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:14:00 kls Exp $ + * $Id: skincurses.c 1.2 2004/05/31 14:57:40 kls Exp $ */ #include <ncurses.h> @@ -11,7 +11,7 @@ #include <vdr/plugin.h> #include <vdr/skins.h> -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(); |