cc_frm_button: add methode to get current icon name

Origin commit data
------------------
Commit: 9f186203e7
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-01-07 (Fri, 07 Jan 2022)
This commit is contained in:
2022-01-07 22:15:37 +01:00
committed by vanhofen
parent 22fa6ad9be
commit 2f1ce35ee3

View File

@@ -268,6 +268,8 @@ class CComponentsButton : public CComponentsFrmChain, public CCTextScreen
///assigns icon to button object, parameter1 as std::string ///assigns icon to button object, parameter1 as std::string
void setButtonIcon(const std::string& icon); void setButtonIcon(const std::string& icon);
///returns icon file name from button object, see also cc_btn_icon
std::string getButtonIcon() {return cc_btn_icon;}
///signal on pressed key/button ///signal on pressed key/button
sigc::signal<void> OnPressedButton; sigc::signal<void> OnPressedButton;