Work in progress Character menu buttons.
All checks were successful
Emscripten Build / Build_and_Deploy_Web_Build (push) Successful in 7m1s

This commit is contained in:
sigonasr2 2025-05-19 06:57:14 -05:00
parent 2b77818001
commit 667c5d2da6
3 changed files with 5 additions and 5 deletions

View File

@ -165,14 +165,14 @@ void Menu::InitializeCharacterMenuWindow(){
return attrStr;
};
auto equipmentTab = characterMenuWindow->ADD("Equipment Tab",MenuComponent)(geom2d::rect<float>{{31,16},{20,8}},"Equipment",[](MenuFuncData data){
auto equipmentTab = characterMenuWindow->ADD("Equipment Tab",MenuComponent)(geom2d::rect<float>{{2,30},{58,10}},"Equipment",[](MenuFuncData data){
return true;
})END;
},ButtonAttr::FIT_TO_LABEL)END;
equipmentTab->SetSelectionType(HIGHLIGHT);
equipmentTab->SetSelected(true);
auto skillsTab = characterMenuWindow->ADD("Skills Tab",MenuComponent)(geom2d::rect<float>{{54,16},{20,8}},"Skills",[](MenuFuncData data){
auto skillsTab = characterMenuWindow->ADD("Skills Tab",MenuComponent)(geom2d::rect<float>{{62,30},{56,10}},"Skills",[](MenuFuncData data){
return true;
})END;
},ButtonAttr::FIT_TO_LABEL)END;
skillsTab->SetSelectionType(HIGHLIGHT);
skillsTab->SetSelected(false);

View File

@ -39,7 +39,7 @@ All rights reserved.
#define VERSION_MAJOR 1
#define VERSION_MINOR 3
#define VERSION_PATCH 0
#define VERSION_BUILD 12197
#define VERSION_BUILD 12204
#define stringify(a) stringify_(a)
#define stringify_(a) #a