Keyboard menu button storage can now be differentiated from internal button storage.

This commit is contained in:
2023-10-17 00:31:56 -05:00
parent daf94db505
commit 958a1866c7
6 changed files with 27 additions and 23 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ class Menu:IAttributable{
float buttonHoldTime=0;
std::map<int/*Y*/,std::vector<MenuComponent*>>buttons; //Buttons are stored in rows followed by their column order.
std::map<int/*Y*/,std::vector<MenuComponent*>>newButtonArrangement; //The new setup that the buttons will be at if a drag operation completes.
std::map<int/*Y*/,std::vector<MenuComponent*>>keyboardButtons; //Button ordered storage for keyboard/menu
std::vector<MenuComponent*>displayComponents; //Components that are only for displaying purposes.
vi2d selection={-1,-1};