mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
CMsgBox: add option to enable/disable button background
replaces var name btn_contour for better plausibility
Origin commit data
------------------
Commit: be740c1552
Author: Thilo Graf <dbt@novatux.de>
Date: 2016-08-18 (Thu, 18 Aug 2016)
This commit is contained in:
@@ -70,8 +70,8 @@ class CComponentsFooter : public CComponentsHeader
|
||||
fb_pixel_t color_body,
|
||||
fb_pixel_t color_shadow );
|
||||
|
||||
///show button frame and background, default false
|
||||
bool btn_contour;
|
||||
///show button with background, default false
|
||||
bool ccf_enable_button_bg;
|
||||
///enable/disable button frame in icon color, predefined for red, green, yellow and blue, default disabled
|
||||
bool btn_auto_frame_col;
|
||||
|
||||
@@ -126,8 +126,10 @@ class CComponentsFooter : public CComponentsHeader
|
||||
const int& alias_value = -1,
|
||||
const neutrino_msg_t& directKeyAlt = CRCInput::RC_nokey);
|
||||
|
||||
///causes show/hide countour of button frame and background, parameter bool show, default= true
|
||||
void showButtonContour(bool show = true);
|
||||
///enables background of buttons, parameter bool show, default= true
|
||||
void enableButtonBg(bool enable = true);
|
||||
///disables background of buttons
|
||||
void disableButtonBg(){enableButtonBg(false);}
|
||||
|
||||
///select a definied button, parameter1 as size_t
|
||||
void setSelectedButton(size_t item_id);
|
||||
|
Reference in New Issue
Block a user