[BUG] Current build does not properly start and has two stub functions MenuComponent.cpp lines 214 and 224

This commit is contained in:
2024-01-16 00:53:29 -06:00
parent c0ae0697b7
commit e669968bc3
19 changed files with 43 additions and 57 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ void Menu::InitializeInventoryWindow(){
auto inventoryDisplay=inventoryWindow->ADD("Inventory Display - "+category,RowInventoryScrollableWindowComponent)(geom2d::rect<float>{{72,28},{150,inventoryWindow->size.y-44}},"Item Name Label","Item Description Label",DO_NOTHING,
[](MenuFuncData data){
Component<MenuItemItemButton>(data.menu.GetType(),"Item Icon")->SetItem(DYNAMIC_POINTER_CAST<RowItemDisplay>(data.component.lock())->GetItem());
Component<MenuItemItemButton>(data.menu.GetType(),"Item Icon")->SetItem(dynamic_pointer_cast<RowItemDisplay>(data.component.lock())->GetItem());
return true;
},
[](MenuFuncData data){