summaryrefslogtreecommitdiff
path: root/skins.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-02 15:11:44 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-02 15:11:44 +0100
commit0b3a801ab463186519e9e1c14ea891924c64dff5 (patch)
tree9795fd31fa77a909b5a9cd19ee89a7062d381685 /skins.h
parent286af66cfb787b76ee7289c920a75a3dd21ce795 (diff)
downloadvdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.gz
vdr-0b3a801ab463186519e9e1c14ea891924c64dff5.tar.bz2
Implemented audio track menu
Diffstat (limited to 'skins.h')
-rw-r--r--skins.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/skins.h b/skins.h
index c20dece0..618fd61f 100644
--- a/skins.h
+++ b/skins.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: skins.h 1.4 2004/12/26 11:57:54 kls Exp $
+ * $Id: skins.h 1.5 2005/01/02 14:36:19 kls Exp $
*/
#ifndef __SKINS_H
@@ -66,8 +66,6 @@ public:
Red = Video options
Green = Info now
Yellow = Info next
- Blue = Audio options
- AudioOptions
VideoOptions
*/
};
@@ -223,6 +221,14 @@ public:
///< indicator shall be displayed.
};
+class cSkinDisplayTracks : public cSkinDisplay {
+ ///< This class implements the track display.
+public:
+ virtual void SetTrack(int Index, const char * const *Tracks) = 0;
+ ///< Sets the current track to the one given by Index, which
+ ///< points into the Tracks array of strings.
+ };
+
class cSkinDisplayMessage : public cSkinDisplay {
///< This class implements a simple message display.
public:
@@ -275,6 +281,12 @@ public:
virtual cSkinDisplayVolume *DisplayVolume(void) = 0;
///< Creates and returns a new object for displaying the current volume.
///< The caller must delete the object after use.
+ virtual cSkinDisplayTracks *DisplayTracks(const char *Title, int NumTracks, const char * const *Tracks) = 0;
+ ///< Creates and returns a new object for displaying the available tracks.
+ ///< NumTracks indicates how many entries in Tracks are available.
+ ///< Tracks will be valid throughout the entire lifetime of the returned
+ ///< cSkinDisplayTrack object.
+ ///< The caller must delete the object after use.
virtual cSkinDisplayMessage *DisplayMessage(void) = 0;
///< Creates and returns a new object for displaying a message.
///< The caller must delete the object after use.