mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Version 1.1.2
- Changed the cPlugin::Start() function to return a boolean value that indicates if the plugin will not be able to perform its task (suggested by Stefan Huelswitt). - Added the cPlugin::Housekeeping() function (suggested by Stefan Huelswitt). - Updated channels.conf.cable (thanks to Uwe Scheffler). - Added 'insert' capabilities to cList (suggested by Stefan Huelswitt). - Changed the 'package' target in the plugin's Makefile to produce a package that expands to a directory with just the plugin name and version number (suggested by Stefan Huelswitt). - Made the config directory available to plugins (suggested by Stefan Huelswitt). See PLUGINS.html, section "Configuration files" for details. - Improved the [eid]syslog() macros, so that the LOG_... macros don't need to be given any more.
This commit is contained in:
13
osd.c
13
osd.c
@@ -4,7 +4,7 @@
|
||||
* See the main source file 'vdr.c' for copyright information and
|
||||
* how to reach the author.
|
||||
*
|
||||
* $Id: osd.c 1.24 2002/05/01 11:53:24 kls Exp $
|
||||
* $Id: osd.c 1.25 2002/05/12 11:38:39 kls Exp $
|
||||
*/
|
||||
|
||||
#include "osd.h"
|
||||
@@ -161,9 +161,16 @@ void cOsdMenu::Del(int Index)
|
||||
first--;
|
||||
}
|
||||
|
||||
void cOsdMenu::Add(cOsdItem *Item, bool Current)
|
||||
void cOsdMenu::Add(cOsdItem *Item, bool Current, cOsdItem *After)
|
||||
{
|
||||
cList<cOsdItem>::Add(Item);
|
||||
cList<cOsdItem>::Add(Item, After);
|
||||
if (Current)
|
||||
current = Item->Index();
|
||||
}
|
||||
|
||||
void cOsdMenu::Ins(cOsdItem *Item, bool Current, cOsdItem *Before)
|
||||
{
|
||||
cList<cOsdItem>::Ins(Item, Before);
|
||||
if (Current)
|
||||
current = Item->Index();
|
||||
}
|
||||
|
Reference in New Issue
Block a user