summaryrefslogtreecommitdiff
path: root/displaymenu.h
diff options
context:
space:
mode:
authorMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-11-09 16:49:57 +0100
committerMartin Schirrmacher <vdr.skinflatplus@schirrmacher.eu>2014-11-09 16:49:57 +0100
commita4cfb3c53d7c5dbd7904ccacb1c3f65773ef0c6f (patch)
tree70526941e6cccae13923f01a43b092b3fc20bffa /displaymenu.h
parent521a6dc17ed9fc515e5f1bc8bfaf95ce04e83e8c (diff)
downloadskin-flatplus-a4cfb3c53d7c5dbd7904ccacb1c3f65773ef0c6f.tar.gz
skin-flatplus-a4cfb3c53d7c5dbd7904ccacb1c3f65773ef0c6f.tar.bz2
add main menu widgets
Diffstat (limited to 'displaymenu.h')
-rw-r--r--displaymenu.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/displaymenu.h b/displaymenu.h
index ed6afa9e..3d803820 100644
--- a/displaymenu.h
+++ b/displaymenu.h
@@ -2,6 +2,7 @@
#include "baserender.h"
#include "complexcontent.h"
+#include <vdr/menu.h>
#include <list>
#include <ctype.h>
#include <iostream>
@@ -45,6 +46,9 @@ class cFlatDisplayMenu : public cFlatBaseRender, public cSkinDisplayMenu {
cComplexContent ComplexContent;
+ // Content for Widgets
+ cComplexContent contentWidget;
+
// TextScroller
cTextScrollers menuItemScroller;
@@ -86,6 +90,16 @@ class cFlatDisplayMenu : public cFlatBaseRender, public cSkinDisplayMenu {
static cBitmap bmCNew, bmCRec, bmCArrowTurn, bmCHD, bmCVPS;
void DrawItemExtraEvent(const cEvent *Event, cString EmptyText);
void DrawItemExtraRecording(const cRecording *Recording, cString EmptyText);
+ void DrawMainMenuWidgets(void);
+ int DrawMainMenuWidgetDVBDevices(int wLeft, int wWidth, int ContentTop);
+ int DrawMainMenuWidgetActiveTimers(int wLeft, int wWidth, int ContentTop);
+ int DrawMainMenuWidgetLastRecordings(int wLeft, int wWidth, int ContentTop);
+ int DrawMainMenuWidgetTimerConflicts(int wLeft, int wWidth, int ContentTop);
+ int DrawMainMenuWidgetSystemInformation(int wLeft, int wWidth, int ContentTop);
+ int DrawMainMenuWidgetSystemUpdates(int wLeft, int wWidth, int ContentTop);
+ int DrawMainMenuWidgetTemperaturs(int wLeft, int wWidth, int ContentTop);
+ int DrawMainMenuWidgetCommand(int wLeft, int wWidth, int ContentTop);
+
public:
cFlatDisplayMenu(void);
virtual ~cFlatDisplayMenu();