CMenuWidget: use CComponentsFooter for paint footers in menues

Another step for more unified window designs.
This commit is contained in:
2017-08-13 20:58:14 +02:00
parent f2ec46311c
commit 7f7054018b
2 changed files with 45 additions and 19 deletions

View File

@@ -525,6 +525,7 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals
CComponentsInfoBox *info_box;
int hint_height;
CComponentsHeader *header;
CComponentsFooter *footer;
unsigned int saveScreen_width ;
unsigned int saveScreen_height;
unsigned int saveScreen_y;
@@ -558,8 +559,8 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals
bool brief_hints;
bool hint_painted; // is hint painted
int fbutton_width;
int fbutton_height;
int footer_width;
int footer_height;
int fbutton_count;
const struct button_label *fbutton_labels;