mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
added viewelement <sortmode> in displaymenu to display the sort mode of the currently displayed menu
This commit is contained in:
@@ -15,6 +15,8 @@ enum ePluginMenuType {
|
||||
class cDisplayMenuRootView : public cView, public cViewHelpers {
|
||||
private:
|
||||
eMenuCategory cat;
|
||||
eMenuSortMode sortMode;
|
||||
eMenuSortMode sortModeLast;
|
||||
eSubView viewType;
|
||||
cTemplateView *subView;
|
||||
bool subViewAvailable;
|
||||
@@ -32,10 +34,12 @@ private:
|
||||
bool defaultButtonsDrawn;
|
||||
bool defaultDateTimeDrawn;
|
||||
bool defaultMessageDrawn;
|
||||
bool defaultSortmodeDrawn;
|
||||
void DrawBackground(void);
|
||||
void DrawHeader(void);
|
||||
void DrawDateTime(void);
|
||||
bool DrawTime(void);
|
||||
void DrawSortMode(void);
|
||||
void DrawColorButtons(void);
|
||||
void DrawMessage(eMessageType type, const char *text);
|
||||
void ClearRootView(void);
|
||||
@@ -45,6 +49,7 @@ public:
|
||||
virtual ~cDisplayMenuRootView();
|
||||
bool createOsd(void);
|
||||
void SetMenu(eMenuCategory menuCat, bool menuInit);
|
||||
void SetSortMode(eMenuSortMode sortMode);
|
||||
void CorrectDefaultMenu(void);
|
||||
void SetPluginMenu(string name, int menu, int type);
|
||||
void SetTitle(const char *title);
|
||||
|
||||
Reference in New Issue
Block a user