CComponentsFooter: add possibility to change font type

Origin commit data
------------------
Commit: 41c01cedad
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-04-30 (Wed, 30 Apr 2014)
This commit is contained in:
2014-04-30 11:12:57 +02:00
parent 1482cebcc6
commit 8fc9b3a6a7
2 changed files with 9 additions and 1 deletions

View File

@@ -60,6 +60,9 @@ class CComponentsFooter : public CComponentsHeader
///show button frame and background, default false
bool btn_contour;
///property: set font for label caption, see also setButtonFont()
Font* ccf_btn_font;
public:
CComponentsFooter(CComponentsForm *parent = NULL);
@@ -87,6 +90,9 @@ class CComponentsFooter : public CComponentsHeader
///causes show/hide countour of button frame and background, parameter bool show, default= true
void showButtonContour(bool show = true){btn_contour = show;};
///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;};
};
#endif