mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
menue.h/cpp: add member to get item id by name
This commit is contained in:
@@ -639,7 +639,8 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals
|
||||
void resetWidget(bool delete_items = false);
|
||||
void insertItem(const uint& item_id, CMenuItem* menuItem);
|
||||
void removeItem(const uint& item_id);
|
||||
int getItemId(CMenuItem* menuItem);
|
||||
int getItemId(CMenuItem *menuItem);
|
||||
int getItemId(const char *name);
|
||||
int getItemsCount()const{return items.size();};
|
||||
CMenuItem* getItem(const uint& item_id);
|
||||
virtual void paint();
|
||||
|
Reference in New Issue
Block a user