CComponentsFooter: add members to set or get select a defined button

Origin commit data
------------------
Commit: cc5b17a620
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-25 (Mon, 25 Aug 2014)
This commit is contained in:
2014-08-25 10:49:43 +02:00
committed by [CST] Focus
parent d440422947
commit c0c42f9261
2 changed files with 20 additions and 0 deletions

View File

@@ -97,6 +97,11 @@ class CComponentsFooter : public CComponentsHeader
///causes show/hide countour of button frame and background, parameter bool show, default= true
void showButtonContour(bool show = true);
///select a definied button, parameter1 as size_t
void setSelectedButton(size_t item_id);
///returns id of select button, return value as int, -1 = nothing is selected
int getSelectedButton();
///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;};