@ -82,8 +82,8 @@ void Menu::InitializeConsumableInventoryWindow(){
//We don't have to actually populate the inventory list because now when an item gets added, it will automatically add the correct component in for us.
inventoryWindow - > ADD ( " Inventory Type Label " , MenuLabel ) ( { { 0 , 0 } , { windowSize . x - 1 , 18 } } , " Consumables " , 2 , ComponentAttr : : SHADOW | ComponentAttr : : BACKGROUND | ComponentAttr : : OUTLINE ) END ;
inventoryWindow - > ADD ( " itemName " , MenuLabel ) ( geom2d : : rect < float > ( vf2d { 2 , 100 .f} , { windowSize . x - 4 , windowSize . y - 108 } ) , " " , 1 , ComponentAttr : : SHADOW ) END ;
inventoryWindow - > ADD ( " itemDescription " , MenuLabel ) ( geom2d : : rect < float > ( vf2d { 2 , 11 2.f } , { windowSize . x - 4 , windowSize . y - 108 } ) , " " , 1 , ComponentAttr : : SHADOW ) END ;
inventoryWindow - > ADD ( " itemName " , MenuLabel ) ( geom2d : : rect < float > ( vf2d { 2 , 95 .f} , { windowSize . x - 4 , windowSize . y - 108 } ) , " " , 1 , ComponentAttr : : SHADOW ) END ;
inventoryWindow - > ADD ( " itemDescription " , MenuLabel ) ( geom2d : : rect < float > ( vf2d { 2 , 12 2.f } , { windowSize . x - 4 , windowSize . y - 108 } ) , " " , 1 , ComponentAttr : : SHADOW ) END ;
auto okButton = inventoryWindow - > ADD ( " OK Button " , MenuComponent ) ( { { windowSize . x / 2 - 24 , 15 8.f } , { 48 , 12 } } , " Ok " , [ ] ( MenuFuncData data ) { Menu : : CloseMenu ( ) ; return true ; } ) END ;
auto okButton = inventoryWindow - > ADD ( " OK Button " , MenuComponent ) ( { { windowSize . x / 2 - 24 , 17 8.f } , { 48 , 12 } } , " Ok " , [ ] ( MenuFuncData data ) { Menu : : CloseMenu ( ) ; return true ; } ) END ;
}