mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
CMenueWidget: use native header as sub header
This commit is contained in:
@@ -230,7 +230,7 @@ class CMenuSeparator : public CMenuItem
|
||||
ALIGN_CENTER = 4,
|
||||
ALIGN_LEFT = 8,
|
||||
ALIGN_RIGHT = 16,
|
||||
SUB_HEAD = 32
|
||||
SUB_HEAD = 0 //32 deprecated and invalid, only here for compatibility //TODO: remove global
|
||||
};
|
||||
|
||||
|
||||
@@ -552,8 +552,9 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals
|
||||
CComponentsDetailsLine *details_line;
|
||||
CComponentsInfoBox *info_box;
|
||||
int hint_height;
|
||||
CComponentsHeader *header;
|
||||
CComponentsHeader *header, *sub_header;
|
||||
CComponentsFooter *footer;
|
||||
std::string subhead_text;
|
||||
unsigned int saveScreen_width ;
|
||||
unsigned int saveScreen_height;
|
||||
unsigned int saveScreen_y;
|
||||
@@ -609,6 +610,7 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals
|
||||
void restoreScreen();
|
||||
void setMenuPos(const int& menu_width);
|
||||
void initHeader();
|
||||
void initSubHeader();
|
||||
|
||||
public:
|
||||
CMenuWidget();
|
||||
|
Reference in New Issue
Block a user