mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-10-31 15:45:06 -04:00
Remove hardcoded indent values
This commit is contained in:
parent
50873c452d
commit
56acf74d9f
@ -482,118 +482,118 @@ void InputViewerSettingsWindow::DrawElement() {
|
|||||||
UIWidgets::EnhancementCheckbox("Show A-Button Layers", "gInputViewer.ABtn", false, "",
|
UIWidgets::EnhancementCheckbox("Show A-Button Layers", "gInputViewer.ABtn", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.ABtn", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.ABtn", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.ABtnOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.ABtnOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.BBtn
|
// gInputViewer.BBtn
|
||||||
UIWidgets::EnhancementCheckbox("Show B-Button Layers", "gInputViewer.BBtn", false, "",
|
UIWidgets::EnhancementCheckbox("Show B-Button Layers", "gInputViewer.BBtn", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.BBtn", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.BBtn", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.BBtnOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.BBtnOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.CUp
|
// gInputViewer.CUp
|
||||||
UIWidgets::EnhancementCheckbox("Show C-Up Layers", "gInputViewer.CUp", false, "",
|
UIWidgets::EnhancementCheckbox("Show C-Up Layers", "gInputViewer.CUp", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.CUp", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.CUp", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.CUpOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.CUpOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.CRight
|
// gInputViewer.CRight
|
||||||
UIWidgets::EnhancementCheckbox("Show C-Right Layers", "gInputViewer.CRight", false, "",
|
UIWidgets::EnhancementCheckbox("Show C-Right Layers", "gInputViewer.CRight", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.CRight", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.CRight", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.CRightOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.CRightOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.CDown
|
// gInputViewer.CDown
|
||||||
UIWidgets::EnhancementCheckbox("Show C-Down Layers", "gInputViewer.CDown", false, "",
|
UIWidgets::EnhancementCheckbox("Show C-Down Layers", "gInputViewer.CDown", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.CDown", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.CDown", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.CDownOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.CDownOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.CLeft
|
// gInputViewer.CLeft
|
||||||
UIWidgets::EnhancementCheckbox("Show C-Left Layers", "gInputViewer.CLeft", false, "",
|
UIWidgets::EnhancementCheckbox("Show C-Left Layers", "gInputViewer.CLeft", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.CLeft", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.CLeft", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.CLeftOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.CLeftOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.LBtn
|
// gInputViewer.LBtn
|
||||||
UIWidgets::EnhancementCheckbox("Show L-Button Layers", "gInputViewer.LBtn", false, "",
|
UIWidgets::EnhancementCheckbox("Show L-Button Layers", "gInputViewer.LBtn", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.LBtn", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.LBtn", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.LBtnOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.LBtnOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.RBtn
|
// gInputViewer.RBtn
|
||||||
UIWidgets::EnhancementCheckbox("Show R-Button Layers", "gInputViewer.RBtn", false, "",
|
UIWidgets::EnhancementCheckbox("Show R-Button Layers", "gInputViewer.RBtn", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.RBtn", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.RBtn", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.RBtnOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.RBtnOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.ZBtn
|
// gInputViewer.ZBtn
|
||||||
UIWidgets::EnhancementCheckbox("Show Z-Button Layers", "gInputViewer.ZBtn", false, "",
|
UIWidgets::EnhancementCheckbox("Show Z-Button Layers", "gInputViewer.ZBtn", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.ZBtn", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.ZBtn", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.ZBtnOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.ZBtnOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.StartBtn
|
// gInputViewer.StartBtn
|
||||||
UIWidgets::EnhancementCheckbox("Show Start Button Layers", "gInputViewer.StartBtn", false, "",
|
UIWidgets::EnhancementCheckbox("Show Start Button Layers", "gInputViewer.StartBtn", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.StartBtn", 1)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.StartBtn", 1)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.StartBtnOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.StartBtnOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.Dpad
|
// gInputViewer.Dpad
|
||||||
UIWidgets::EnhancementCheckbox("Show D-Pad Layers", "gInputViewer.Dpad", false, "",
|
UIWidgets::EnhancementCheckbox("Show D-Pad Layers", "gInputViewer.Dpad", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, false);
|
UIWidgets::CheckboxGraphics::Checkmark, false);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.Dpad", 0)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.Dpad", 0)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.DpadOutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.DpadOutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.Mod1
|
// gInputViewer.Mod1
|
||||||
UIWidgets::EnhancementCheckbox("Show Modifier Button 1 Layers", "gInputViewer.Mod1", false, "",
|
UIWidgets::EnhancementCheckbox("Show Modifier Button 1 Layers", "gInputViewer.Mod1", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, false);
|
UIWidgets::CheckboxGraphics::Checkmark, false);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.Mod1", 0)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.Mod1", 0)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.Mod1OutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.Mod1OutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
// gInputViewer.Mod2
|
// gInputViewer.Mod2
|
||||||
UIWidgets::EnhancementCheckbox("Show Modifier Button 2 Layers", "gInputViewer.Mod2", false, "",
|
UIWidgets::EnhancementCheckbox("Show Modifier Button 2 Layers", "gInputViewer.Mod2", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, false);
|
UIWidgets::CheckboxGraphics::Checkmark, false);
|
||||||
if (useIndividualOutlines && CVarGetInteger("gInputViewer.Mod2", 0)) {
|
if (useIndividualOutlines && CVarGetInteger("gInputViewer.Mod2", 0)) {
|
||||||
ImGui::Indent(16.0f);
|
ImGui::Indent();
|
||||||
UIWidgets::EnhancementCombobox("gInputViewer.Mod2OutlineMode", buttonOutlineOptionsVerbose,
|
UIWidgets::EnhancementCombobox("gInputViewer.Mod2OutlineMode", buttonOutlineOptionsVerbose,
|
||||||
BUTTON_OUTLINE_NOT_PRESSED);
|
BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
ImGui::Unindent(16.0f);
|
ImGui::Unindent();
|
||||||
}
|
}
|
||||||
|
|
||||||
UIWidgets::PaddedSeparator(true, true);
|
UIWidgets::PaddedSeparator(true, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user