mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
CComponentsButton: add extended properties for button objects
Allows to assign values for events, msg, results. So it is possible to evaluate/use these properties eg. directly in exec routines.
This commit is contained in:
@@ -118,6 +118,9 @@ void CComponentsButton::initVarButton( const int& x_pos, const int& y_pos, const
|
||||
cc_btn_font = NULL;
|
||||
cc_btn_icon = icon_name;
|
||||
cc_btn_capt = caption;
|
||||
cc_btn_msg = CRCInput::RC_nokey;
|
||||
cc_btn_result = -1;
|
||||
cc_btn_alias = -1;
|
||||
|
||||
initParent(parent);
|
||||
initCCBtnItems();
|
||||
|
Reference in New Issue
Block a user