mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
cc_frm_button: add methode getButtonFont()
Origin commit data
------------------
Commit: f434f2c584
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-12-07 (Mon, 07 Dec 2020)
This commit is contained in:
@@ -166,7 +166,9 @@ class CComponentsButton : public CComponentsFrmChain, public CCTextScreen
|
||||
///get caption, type as std::string
|
||||
std::string getCaptionString(){return cc_btn_text;};
|
||||
///get loacalized caption id, type = neutrino_locale_t
|
||||
neutrino_locale_t getCaptionLocale(){return cc_btn_text_locale;};
|
||||
neutrino_locale_t getCaptionLocale(){return cc_btn_text_locale;}
|
||||
///get font type of caption, type as Font*
|
||||
Font* getButtonFont(){return cc_btn_font;}
|
||||
|
||||
///property: set font for label caption, parameter as font object, value NULL causes usaage of dynamic font
|
||||
void setButtonFont(Font* font){cc_btn_font = font; initCCBtnItems();};
|
||||
|
Reference in New Issue
Block a user