summaryrefslogtreecommitdiff
path: root/PLUGINS/src/skincurses
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-06-03 14:46:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-06-03 14:46:36 +0200
commit0d4cf40b79951b8301ee2b9a3bc359c9f9c85c82 (patch)
tree4cf021d807ea68a461757018ea393a7c7afd4ec9 /PLUGINS/src/skincurses
parent56744b1f4e4da2bdcf64a44be11cc05c0e0c5c00 (diff)
downloadvdr-0d4cf40b79951b8301ee2b9a3bc359c9f9c85c82.tar.gz
vdr-0d4cf40b79951b8301ee2b9a3bc359c9f9c85c82.tar.bz2
When the 'skincurses' plugin is loaded, it automatically sets the 'curses' skin as the current one
Diffstat (limited to 'PLUGINS/src/skincurses')
-rw-r--r--PLUGINS/src/skincurses/HISTORY2
-rw-r--r--PLUGINS/src/skincurses/skincurses.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/PLUGINS/src/skincurses/HISTORY b/PLUGINS/src/skincurses/HISTORY
index 6c870957..c58423df 100644
--- a/PLUGINS/src/skincurses/HISTORY
+++ b/PLUGINS/src/skincurses/HISTORY
@@ -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.
diff --git a/PLUGINS/src/skincurses/skincurses.c b/PLUGINS/src/skincurses/skincurses.c
index f9e15dd2..a75375b5 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.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;
}