MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / MenuCategory

Class MenuCategory

Applications/Shell/menu.cpp:34–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32};
33
34class MenuCategory : public MenuObject{
35public:
36 std::vector<Lemon::GUI::ContextMenuEntry> items;
37
38 MenuCategory(){
39
40 }
41
42 MenuCategory(std::string name){
43 this->name = name;
44 }
45
46 void Open(vector2i_t pos) final {
47 menuWindow->DisplayContextMenu(items, pos);
48 }
49};
50
51class MenuItem : public MenuObject{
52 std::string exec;

Callers 1

InitializeMenuFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected