summaryrefslogtreecommitdiff
path: root/skins.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-17 12:31:16 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-17 12:31:16 +0100
commit54b4d4e4e752ce10142c1f0c61f39c3782e460d9 (patch)
treeba0522ff71b3d39da559c5d81ddb787dad25b1b7 /skins.h
parent28a82b318686d157135e2a6133b12490a72d3c2e (diff)
downloadvdr-54b4d4e4e752ce10142c1f0c61f39c3782e460d9.tar.gz
vdr-54b4d4e4e752ce10142c1f0c61f39c3782e460d9.tar.bz2
Implemented cSkin::SetScrollbar()
Diffstat (limited to 'skins.h')
-rw-r--r--skins.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/skins.h b/skins.h
index a0f03880..9e83c0ca 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.15 2007/01/04 13:08:55 kls Exp $
+ * $Id: skins.h 1.16 2008/02/17 11:30:56 kls Exp $
*/
#ifndef __SKINS_H
@@ -144,6 +144,11 @@ public:
virtual void SetItem(const cRecording *Recording, int Index, bool Current, bool Selectable);
--> false: call SetItem(text)
*/
+ virtual void SetScrollbar(int Total, int Offset);
+ ///< Sets the Total number of items in the currently displayed list, and the
+ ///< Offset of the first item that is currently displayed (the skin knows how
+ ///< many items it can display at once, see MaxItems()). This can be used to
+ ///< display a scollbar.
virtual void SetEvent(const cEvent *Event) = 0;
///< Sets the Event that shall be displayed, using the entire central area
///< of the menu. The Event's 'description' shall be displayed using a