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

Fixed clearing color buttons in the 'curses' skin

This commit is contained in:
Klaus Schmidinger 2007-07-20 14:45:44 +02:00
parent bd36fb5111
commit 8ff2c73d9b
4 changed files with 8 additions and 4 deletions

View File

@ -1501,6 +1501,7 @@ Udo Richter <udo_richter@gmx.de>
for fixing a race condition with signal handlers at program exit for fixing a race condition with signal handlers at program exit
for fixing handling detached processes in SystemExec() for fixing handling detached processes in SystemExec()
for fixing handling single byte characters >0x7F in Utf8ToArray() for fixing handling single byte characters >0x7F in Utf8ToArray()
for fixing clearing color buttons in the 'curses' skin
Sven Kreiensen <svenk@kammer.uni-hannover.de> Sven Kreiensen <svenk@kammer.uni-hannover.de>
for his help in keeping 'channels.conf.terr' up to date for his help in keeping 'channels.conf.terr' up to date

View File

@ -5284,3 +5284,4 @@ Video Disk Recorder Revision History
- Fixed handling single byte characters >0x7F in Utf8ToArray() (thanks to Udo - Fixed handling single byte characters >0x7F in Utf8ToArray() (thanks to Udo
Richter). Richter).
- Improved numdigits(), isnumber() and strreplace() (thanks to Tobias Bratfisch). - Improved numdigits(), isnumber() and strreplace() (thanks to Tobias Bratfisch).
- Fixed clearing color buttons in the 'curses' skin (thanks to Udo Richter).

View File

@ -47,3 +47,7 @@ VDR Plugin 'skincurses' Revision History
2007-06-23: Version 0.1.1 2007-06-23: Version 0.1.1
- Fixed a name clash with the new cOsd position functions. - Fixed a name clash with the new cOsd position functions.
2007-07-20: Version 0.1.2
- Fixed clearing color buttons.

View File

@ -3,7 +3,7 @@
* *
* See the README file for copyright information and how to reach the author. * See the README file for copyright information and how to reach the author.
* *
* $Id: skincurses.c 1.14 2007/06/23 09:08:01 kls Exp $ * $Id: skincurses.c 1.15 2007/07/20 14:45:07 kls Exp $
*/ */
#include <ncurses.h> #include <ncurses.h>
@ -11,7 +11,7 @@
#include <vdr/plugin.h> #include <vdr/plugin.h>
#include <vdr/skins.h> #include <vdr/skins.h>
static const char *VERSION = "0.1.1"; static const char *VERSION = "0.1.2";
static const char *DESCRIPTION = "A text only skin"; static const char *DESCRIPTION = "A text only skin";
static const char *MAINMENUENTRY = NULL; static const char *MAINMENUENTRY = NULL;
@ -133,8 +133,6 @@ void cCursesOsd::RestoreRegion(void)
void cCursesOsd::DrawText(int x, int y, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font, int Width, int Height, int Alignment) void cCursesOsd::DrawText(int x, int y, const char *s, tColor ColorFg, tColor ColorBg, const cFont *Font, int Width, int Height, int Alignment)
{ {
if (!s)
return;
int w = Font->Width(s); int w = Font->Width(s);
int h = Font->Height(); int h = Font->Height();
if (Width || Height) { if (Width || Height) {