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:
2023-02-19 22:33:10 +01:00
committed by vanhofen
parent 5365a394be
commit 2be773e96b

View File

@@ -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);