From 2f1ce35ee3ce1a0143db69ade5a9bc6f10c7608b Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 7 Jan 2022 22:15:37 +0100 Subject: [PATCH] cc_frm_button: add methode to get current icon name Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/9f186203e7b9674fb7f3400174243713f08b7a6b Author: Thilo Graf Date: 2022-01-07 (Fri, 07 Jan 2022) --- src/gui/components/cc_frm_button.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/components/cc_frm_button.h b/src/gui/components/cc_frm_button.h index 22e43714d..cafd7df07 100644 --- a/src/gui/components/cc_frm_button.h +++ b/src/gui/components/cc_frm_button.h @@ -268,6 +268,8 @@ class CComponentsButton : public CComponentsFrmChain, public CCTextScreen ///assigns icon to button object, parameter1 as std::string 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 sigc::signal OnPressedButton;