mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
CComponentsFooter: simplify implementation of button labels
button_label_l and button_label_s are now
merged to button_label_cc with prepared default values for text and locales.This type contains all possible
button label properties. Values for locales and string
are evaluated in setButtonLabels(), so it's possible to remove some
overloaded methodes.
Origin commit data
------------------
Branch: ni/coolstream
Commit: c766a970dc
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-11 (Sat, 11 Mar 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
Günther@tuxbox.berlios.org
|
||||
|
||||
Implementation of CComponent Window class.
|
||||
Copyright (C) 2014-2016 Thilo Graf 'dbt'
|
||||
Copyright (C) 2014-2017 Thilo Graf 'dbt'
|
||||
|
||||
License: GPL
|
||||
|
||||
@@ -117,8 +117,8 @@ void CMsgBox::initTimeOut()
|
||||
|
||||
void CMsgBox::initButtons()
|
||||
{
|
||||
button_label_s btn;
|
||||
vector<button_label_s> v_buttons;
|
||||
button_label_cc btn;
|
||||
vector<button_label_cc> v_buttons;
|
||||
|
||||
//evaluate combinations
|
||||
if (mb_show_button & mbAll)
|
||||
|
Reference in New Issue
Block a user