diff options
| author | Martin Schirrmacher <vdr.skinflat@schirrmacher.eu> | 2013-08-20 21:23:53 +0200 |
|---|---|---|
| committer | Martin Schirrmacher <vdr.skinflat@schirrmacher.eu> | 2013-08-20 21:23:53 +0200 |
| commit | 42659e5b1b4ba8e8fa8344310b1cb2b48cfed7df (patch) | |
| tree | d1430f7232e9a0428b38a2941923bee90a626687 /displaymenu.h | |
| parent | 85e4985984c836c5800b7d548ec3ed84d523eb38 (diff) | |
| download | skin-flat-42659e5b1b4ba8e8fa8344310b1cb2b48cfed7df.tar.gz skin-flat-42659e5b1b4ba8e8fa8344310b1cb2b48cfed7df.tar.bz2 | |
first try menu itemchannel
Diffstat (limited to 'displaymenu.h')
| -rw-r--r-- | displaymenu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/displaymenu.h b/displaymenu.h index 77ab33b..7298245 100644 --- a/displaymenu.h +++ b/displaymenu.h @@ -6,7 +6,7 @@ class cFlatDisplayMenu : public cFlatBaseRender, public cSkinDisplayMenu { private: cPixmap *menuPixmap; - int menuWidth; + int menuTop, menuWidth; eMenuCategory menuCategory; int VideoDiskUsageState = -1; @@ -16,7 +16,7 @@ class cFlatDisplayMenu : public cFlatBaseRender, public cSkinDisplayMenu { cPixmap *scrollbarPixmap; int scrollBarTop, scrollBarWidth, scrollBarHeight; - int itemHeight; + int itemHeight, itemChannelHeight; void DrawScrollbar(int Total, int Offset, int Shown, int Top, int Height, bool CanScrollUp, bool CanScrollDown); int ItemsHeight(void); @@ -37,7 +37,7 @@ class cFlatDisplayMenu : public cFlatBaseRender, public cSkinDisplayMenu { //virtual bool SetItemEvent(const cEvent *Event, int Index, bool Current, bool Selectable, const cChannel *Channel, bool WithDate, eTimerMatch TimerMatch); //virtual bool SetItemTimer(const cTimer *Timer, int Index, bool Current, bool Selectable); - //virtual bool SetItemChannel(const cChannel *Channel, int Index, bool Current, bool Selectable, bool WithProvider); + virtual bool SetItemChannel(const cChannel *Channel, int Index, bool Current, bool Selectable, bool WithProvider); //virtual bool SetItemRecording(const cRecording *Recording, int Index, bool Current, bool Selectable, int Level, int Total, int New); virtual void SetScrollbar(int Total, int Offset); |
