mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
src/gui/components/cc_frm_footer.cpp: add member getButtonLabel()
Allows to get button label object from button collection.
Origin commit data
------------------
Branch: ni/coolstream
Commit: b943f99f9a
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-08-19 (Sun, 19 Aug 2018)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -417,3 +417,10 @@ void CComponentsFooter::initDefaultFonts()
|
||||
l_font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_TITLE];
|
||||
s_font = g_Font[SNeutrinoSettings::FONT_TYPE_MENU_FOOT];
|
||||
}
|
||||
|
||||
CComponentsButton* CComponentsFooter::getButtonLabel(const uint& item_id)
|
||||
{
|
||||
if (btn_container)
|
||||
return static_cast<CComponentsButton*>(btn_container->getCCItem(item_id));
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user