Hover functionality moved out to MenuComponent so any component can utilize them.
This commit is contained in:
@@ -57,7 +57,7 @@ void Menu::InitializeCharacterMenuWindow(){
|
||||
Menu*characterMenuWindow=CreateMenu(CHARACTER_MENU,CENTERED,windowSize);
|
||||
|
||||
characterMenuWindow->ADD("Character Label",MenuLabel)({{0,-4},{float(windowSize.x)-1,24}},"Character",2,ComponentAttr::SHADOW|ComponentAttr::OUTLINE|ComponentAttr::BACKGROUND)END;
|
||||
characterMenuWindow->ADD("Equip Slot Outline",MenuComponent)({{0,28},{120,windowSize.y-48}},"",DO_NOTHING,ButtonAttr::UNSELECTABLE)END;
|
||||
characterMenuWindow->ADD("Equip Slot Outline",MenuComponent)({{0,28},{120,windowSize.y-37}},"",DO_NOTHING,ButtonAttr::UNSELECTABLE)END;
|
||||
characterMenuWindow->ADD("Character Rotating Display",CharacterRotatingDisplay)({{135,28},{90,windowSize.y-48}},GFX[classutils::GetClassInfo(game->GetPlayer()->GetClassName()).classFullImgName].Decal())END;
|
||||
|
||||
const static std::array<ItemAttribute,7>displayAttrs{
|
||||
@@ -90,7 +90,7 @@ void Menu::InitializeCharacterMenuWindow(){
|
||||
}
|
||||
equipmentWindowOpened=false;
|
||||
return true;
|
||||
})END;
|
||||
})DEPTH 0 END;
|
||||
|
||||
equipSelectionSelectButton->Enable(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user