mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-26 10:08:51 -05:00
ADD: Item Tracker V2
This commit is contained in:
parent
6db0d94e92
commit
fa393bff48
@ -1752,6 +1752,14 @@ namespace SohImGui {
|
||||
needs_save = true;
|
||||
customWindows["Item Tracker"].enabled = CVar_GetS32("gItemTrackerEnabled", 0);
|
||||
}
|
||||
InsertPadding();
|
||||
if (ImGui::Button(GetWindowButtonText("Item Tracker Settings", CVar_GetS32("gItemTrackerSettingsEnabled", 0)).c_str(), buttonSize))
|
||||
{
|
||||
bool currentValue = CVar_GetS32("gItemTrackerSettingsEnabled", 0);
|
||||
CVar_SetS32("gItemTrackerSettingsEnabled", !currentValue);
|
||||
needs_save = true;
|
||||
customWindows["Item Tracker Settings"].enabled = CVar_GetS32("gItemTrackerSettingsEnabled", 0);
|
||||
}
|
||||
ImGui::PopStyleVar(3);
|
||||
ImGui::PopStyleColor(1);
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user