mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -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;};
|
||||
|
||||
|
Reference in New Issue
Block a user