When the 'skincurses' plugin is loaded, it automatically sets the 'curses' skin as the current one

This commit is contained in:
Klaus Schmidinger
2006-06-03 14:46:36 +02:00
parent 56744b1f4e
commit 0d4cf40b79
5 changed files with 26 additions and 7 deletions

View File

@@ -33,3 +33,5 @@ VDR Plugin 'skincurses' Revision History
2006-06-03: Version 0.0.7
- Fixed handling tabbed item display.
- When the 'skincurses' plugin is loaded, it automatically sets the 'curses'
skin as the current one.

View File

@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: skincurses.c 1.9 2006/06/03 13:21:33 kls Exp $
* $Id: skincurses.c 1.10 2006/06/03 14:20:39 kls Exp $
*/
#include <ncurses.h>
@@ -787,7 +787,9 @@ bool cPluginSkinCurses::Initialize(void)
bool cPluginSkinCurses::Start(void)
{
// Start any background activities the plugin shall perform.
new cSkinCurses;
cSkin *Skin = new cSkinCurses;
// This skin is normally used for debugging, so let's make it the current one:
Skins.SetCurrent(Skin->Name());
return true;
}