mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
CComponentsButton: reinit button items after changed font type
This commit is contained in:
@@ -112,7 +112,7 @@ class CComponentsButton : public CComponentsFrmChain
|
|||||||
virtual neutrino_locale_t getCaptionLocale(){return cc_btn_capt_locale;};
|
virtual neutrino_locale_t getCaptionLocale(){return cc_btn_capt_locale;};
|
||||||
|
|
||||||
///property: set font for label caption, parameter as font object, value NULL causes usaage of dynamic font
|
///property: set font for label caption, parameter as font object, value NULL causes usaage of dynamic font
|
||||||
virtual void setButtonFont(Font* font){cc_btn_font = font;};
|
virtual void setButtonFont(Font* font){cc_btn_font = font; initCCBtnItems();};
|
||||||
|
|
||||||
///reinitialize items
|
///reinitialize items
|
||||||
virtual void Refresh(){initCCBtnItems();};
|
virtual void Refresh(){initCCBtnItems();};
|
||||||
|
Reference in New Issue
Block a user