CComponentsFooter: apply showButtonContour() after init of labels

Function was without effect after adding of button objects,
showButtonContour() now changes property explicit for all items, also
after their addition to chain.


Origin commit data
------------------
Branch: ni/coolstream
Commit: f7860fed35
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-05-02 (Fri, 02 May 2014)



------------------
This commit was generated by Migit
This commit is contained in:
2014-05-02 00:32:32 +02:00
parent 113c07a27a
commit 12e0a4b02e
2 changed files with 11 additions and 1 deletions

View File

@@ -91,7 +91,7 @@ class CComponentsFooter : public CComponentsHeader
void setButtonLabel(const char *button_icon, const neutrino_locale_t& locale, const int& chain_width = 0, const int& label_width = 0);
///causes show/hide countour of button frame and background, parameter bool show, default= true
void showButtonContour(bool show = true){btn_contour = show;};
void showButtonContour(bool show = true);
///property: set font for label caption, parameter as font object, value NULL causes usage of dynamic font
void setButtonFont(Font* font){ccf_btn_font = font;};