mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
CComponentsFooter: add members to set or get select a defined button
Origin commit data
------------------
Branch: ni/coolstream
Commit: cc5b17a620
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-08-25 (Mon, 25 Aug 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -249,6 +249,21 @@ void CComponentsFooter::showButtonContour(bool show)
|
||||
}
|
||||
}
|
||||
|
||||
void CComponentsFooter::setSelectedButton(size_t item_id)
|
||||
{
|
||||
if (chain)
|
||||
chain->setSelectedItem(item_id);
|
||||
}
|
||||
|
||||
int CComponentsFooter::getSelectedButton()
|
||||
{
|
||||
int ret = -1;
|
||||
if (chain)
|
||||
ret = chain->getSelectedItem();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
void CComponentsFooter::paintButtons(const int& x_pos,
|
||||
const int& y_pos,
|
||||
|
Reference in New Issue
Block a user