mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +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
Origin commit data
------------------
Branch: ni/coolstream
Commit: 9605d7438f
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-11-30 (Fri, 30 Nov 2012)
------------------
This commit was generated by Migit
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