mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
CMenuWidget: add member getItems() to get access to widget full item list
Origin commit data
------------------
Branch: ni/coolstream
Commit: d2e56858f7
Author: Thilo Graf <dbt@novatux.de>
Date: 2023-02-19 (Sun, 19 Feb 2023)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -643,6 +643,7 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals
|
||||
int getItemId(const char *name);
|
||||
int getItemsCount()const{return (int)items.size();};
|
||||
CMenuItem* getItem(const uint& item_id);
|
||||
std::vector<CMenuItem*>& getItems() {return items;}
|
||||
virtual void paint();
|
||||
virtual void hide();
|
||||
virtual int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
|
Reference in New Issue
Block a user