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.


Origin commit data
------------------
Commit: 706ed0f31f
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-26 (Tue, 26 Aug 2014)
This commit is contained in:
2014-08-26 22:56:27 +02:00
committed by [CST] Focus
parent 5b9a21685e
commit ff07cd2023
2 changed files with 26 additions and 0 deletions

View File

@@ -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();