Add destructors for all menu components and sub components. Finish menu navigation for class selection window and class info window.

This commit is contained in:
2023-10-22 23:19:47 -05:00
parent 5d939e866f
commit 800a5767f2
10 changed files with 108 additions and 9 deletions
+1
View File
@@ -37,6 +37,7 @@ protected:
public:
MenuComponent(MenuType parent,geom2d::rect<float>rect,std::string label,MenuFunc onClick,bool selectable=true,bool selectableViaKeyboard=true);
MenuComponent(MenuType parent,geom2d::rect<float>rect,std::string label,MenuType menuDest,MenuFunc onClick,bool selectable=true,bool selectableViaKeyboard=true);
virtual ~MenuComponent();
void _Update(Crawler*game);
void _Draw(Crawler*game,vf2d parentPos,bool focused);
void _DrawDecal(Crawler*game,vf2d parentPos,bool focused);