mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 10:21:04 +02:00
CMenueWidget: add overloaded version of addIntroItems()
Allows additional usage of strings as text parameter.
Origin commit data
------------------
Commit: 167531e412
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-30 (Sat, 30 Mar 2019)
This commit is contained in:
@@ -630,7 +630,8 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals
|
||||
BRIEF_HINT_NO = 0,
|
||||
BRIEF_HINT_YES = 1
|
||||
};
|
||||
virtual void addIntroItems(neutrino_locale_t subhead_text = NONEXISTANT_LOCALE, neutrino_locale_t section_text = NONEXISTANT_LOCALE, int buttontype = BTN_TYPE_BACK, bool brief_hint = BRIEF_HINT_NO);
|
||||
void addIntroItems(neutrino_locale_t l_subhead_text = NONEXISTANT_LOCALE, neutrino_locale_t section_text = NONEXISTANT_LOCALE, int buttontype = BTN_TYPE_BACK, bool brief_hint = BRIEF_HINT_NO);
|
||||
void addIntroItems(const std::string& s_subhead_text, neutrino_locale_t section_text = NONEXISTANT_LOCALE, int buttontype = BTN_TYPE_BACK, bool brief_hint = BRIEF_HINT_NO);
|
||||
bool hasItem();
|
||||
void resetWidget(bool delete_items = false);
|
||||
void insertItem(const uint& item_id, CMenuItem* menuItem);
|
||||
|
Reference in New Issue
Block a user