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:
2018-08-19 21:14:55 +02:00
committed by vanhofen
parent 60fff98ce7
commit 38b6899226
3 changed files with 17 additions and 2 deletions

View File

@@ -155,6 +155,8 @@ class CComponentsFooter : public CComponentsHeader, public CCButtonSelect
void enableButtonShadow(int mode = CC_SHADOW_ON, const int& shadow_width = OFFSET_SHADOW/2, bool force_paint = false);
///disable shadow for embedded buttons
void disbaleButtonShadow(){enableButtonShadow(CC_SHADOW_OFF);}
///get button label object with defined item id
CComponentsButton* getButtonLabel(const uint& item_id);
};