mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
CComponentsHeader: add member 'setHeaderButtons()'
Gives possibility to set default button types, possible parameter types are: CC_BTN_HELP, CC_BTN_INFO, CC_BTN_MENU, CC_BTN_EXIT
This commit is contained in:
@@ -545,6 +545,7 @@ class CComponentsHeader : public CComponentsForm
|
|||||||
void setHeaderIcon(const char* icon_name);
|
void setHeaderIcon(const char* icon_name);
|
||||||
void addHeaderButton(const std::string& button_name);
|
void addHeaderButton(const std::string& button_name);
|
||||||
void removeHeaderButtons();
|
void removeHeaderButtons();
|
||||||
|
void setHeaderButtons(const int buttons){cch_buttons = buttons;};
|
||||||
};
|
};
|
||||||
|
|
||||||
class CComponentsWindow : public CComponentsForm
|
class CComponentsWindow : public CComponentsForm
|
||||||
|
Reference in New Issue
Block a user