mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-24 08:00:14 +00:00
Add Show Helm/Cloak checkboxes to Equipment tab; expose isHelmVisible/isCloakVisible
This commit is contained in:
parent
d072c852f3
commit
928f00de41
2 changed files with 14 additions and 0 deletions
|
|
@ -1121,6 +1121,18 @@ void InventoryScreen::renderCharacterScreen(game::GameHandler& gameHandler) {
|
|||
if (ImGui::BeginTabBar("##CharacterTabs")) {
|
||||
if (ImGui::BeginTabItem("Equipment")) {
|
||||
renderEquipmentPanel(inventory);
|
||||
ImGui::Spacing();
|
||||
ImGui::Separator();
|
||||
// Appearance visibility toggles
|
||||
bool helmVis = gameHandler.isHelmVisible();
|
||||
bool cloakVis = gameHandler.isCloakVisible();
|
||||
if (ImGui::Checkbox("Show Helm", &helmVis)) {
|
||||
gameHandler.toggleHelm();
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Checkbox("Show Cloak", &cloakVis)) {
|
||||
gameHandler.toggleCloak();
|
||||
}
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue