Added a way to move menus around

This commit is contained in:
Ryzerth
2021-07-09 04:29:16 +02:00
parent 29ec14d3f0
commit cf3c976651
4 changed files with 160 additions and 15 deletions

View File

@@ -28,5 +28,13 @@ public:
private:
bool isInOrderList(std::string name);
bool menuClicked = false;
std::string clickedMenuName = "";
std::string draggedMenuName = "";
std::vector<float> headerTops;
int insertBefore = -1;
std::string insertBeforeName = "";
std::vector<std::string> displayedNames;
std::map<std::string, MenuItem_t> items;
};