summaryrefslogtreecommitdiff
path: root/osdbase.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-08-25 18:00:00 +0200
committerKlaus Schmidinger <kls (at) cadsoft (dot) de>2002-08-25 18:00:00 +0200
commita2a215d5e12ad35df8d0731dd00b6e41d5dd77fa (patch)
treecb13aa5088a06e52ca9ef762224ed1708e19465f /osdbase.h
parented643353b100bee75459c4ef2d0330e7a04e1f2a (diff)
downloadvdr-patch-lnbsharing-a2a215d5e12ad35df8d0731dd00b6e41d5dd77fa.tar.gz
vdr-patch-lnbsharing-a2a215d5e12ad35df8d0731dd00b6e41d5dd77fa.tar.bz2
Version 1.1.8vdr-1.1.8
- Fixed replaying the last few seconds of a recording. - Added some missing #includes to files in libdtv for gcc 3.2 (thanks to Jürgen Zimmermann). - Added cDevice::NewOsd() to allow a derived cDevice class to implement its own OSD capabilities (thanks to Andreas Schultz). - Added cPalette::AllColors() for plugins that need to get the color entries of a cPalette (see osdbase.h). - The new SVDRP command CLRE can be used to clear the entire EPG data (suggested by Matthias Schniedermeyer). - Fixed handling one-shot timers that were already recording and had their start time changed into the future (thanks to Matthias Schniedermeyer for reporting this one).
Diffstat (limited to 'osdbase.h')
-rw-r--r--osdbase.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/osdbase.h b/osdbase.h
index 1800482..3922126 100644
--- a/osdbase.h
+++ b/osdbase.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.h 1.4 2002/07/13 14:45:55 kls Exp $
+ * $Id: osdbase.h 1.5 2002/08/25 10:01:00 kls Exp $
*/
#ifndef __OSDBASE_H
@@ -56,7 +56,18 @@ public:
cPalette(int Bpp);
int Index(eDvbColor Color);
void Reset(void);
- const eDvbColor *Colors(int &FirstColor, int &LastColor);
+ const eDvbColor *NewColors(int &FirstColor, int &LastColor);
+ // With every call this function returns a consecutive range of
+ // color entries that have been added since the last call. The
+ // return value is the address of the first new color, and the
+ // index of the first and last new color are returned in the given
+ // int parameters. If there are no new color entries, NULL will
+ // be returned.
+ const eDvbColor *AllColors(int &NumColors);
+ // Returns a pointer to the complete color table and stores the
+ // number of valid entries in NumColors. If no colors have been
+ // stored yet, NumColors will be set to 0 and the function will
+ // return NULL.
void Take(const cPalette &Palette, tIndexes *Indexes = NULL);
};