Add in selection highlight buttons outline for the new skills tab.
All checks were successful
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 11m56s
All checks were successful
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 11m56s
This commit is contained in:
parent
25c196a563
commit
532d846ea4
@ -165,6 +165,17 @@ void Menu::InitializeCharacterMenuWindow(){
|
||||
return attrStr;
|
||||
};
|
||||
|
||||
auto equipmentTab = characterMenuWindow->ADD("Equipment Tab",MenuComponent)(geom2d::rect<float>{{31,16},{20,8}},"Equipment",[](MenuFuncData data){
|
||||
return true;
|
||||
})END;
|
||||
equipmentTab->SetSelectionType(HIGHLIGHT);
|
||||
equipmentTab->SetSelected(true);
|
||||
auto skillsTab = characterMenuWindow->ADD("Skills Tab",MenuComponent)(geom2d::rect<float>{{54,16},{20,8}},"Skills",[](MenuFuncData data){
|
||||
return true;
|
||||
})END;
|
||||
skillsTab->SetSelectionType(HIGHLIGHT);
|
||||
skillsTab->SetSelected(false);
|
||||
|
||||
int equipSlot=1;
|
||||
for(int i=0;i<8;i++){
|
||||
float x=31+(i%2)*33;
|
||||
|
Loading…
x
Reference in New Issue
Block a user