Clearer naming
This commit is contained in:
parent
fd29ac586d
commit
50873c452d
|
@ -152,7 +152,7 @@ void InputViewer::DrawElement() {
|
||||||
#endif
|
#endif
|
||||||
const int showAnalogAngles = CVarGetInteger("gInputViewer.AnalogAngles.Enabled", 0);
|
const int showAnalogAngles = CVarGetInteger("gInputViewer.AnalogAngles.Enabled", 0);
|
||||||
const int buttonOutlineMode = CVarGetInteger("gInputViewer.ButtonOutlineMode", BUTTON_OUTLINE_NOT_PRESSED);
|
const int buttonOutlineMode = CVarGetInteger("gInputViewer.ButtonOutlineMode", BUTTON_OUTLINE_NOT_PRESSED);
|
||||||
const bool useGlobalOutlineMode = CVarGetInteger("gInputViewer.GlobalButtonOutlineMode", 1);
|
const bool useGlobalOutlineMode = CVarGetInteger("gInputViewer.UseGlobalButtonOutlineMode", 1);
|
||||||
|
|
||||||
ImVec2 bgSize = LUS::Context::GetInstance()->GetWindow()->GetGui()->GetTextureSize("Input-Viewer-Background");
|
ImVec2 bgSize = LUS::Context::GetInstance()->GetWindow()->GetGui()->GetTextureSize("Input-Viewer-Background");
|
||||||
ImVec2 scaledBGSize = ImVec2(bgSize.x * scale, bgSize.y * scale);
|
ImVec2 scaledBGSize = ImVec2(bgSize.x * scale, bgSize.y * scale);
|
||||||
|
@ -464,19 +464,19 @@ void InputViewerSettingsWindow::DrawElement() {
|
||||||
UIWidgets::PaddedText("Button Outlines/Backgrounds", true, false);
|
UIWidgets::PaddedText("Button Outlines/Backgrounds", true, false);
|
||||||
UIWidgets::EnhancementCombobox(
|
UIWidgets::EnhancementCombobox(
|
||||||
"gInputViewer.ButtonOutlineMode", buttonOutlineOptions, BUTTON_OUTLINE_NOT_PRESSED,
|
"gInputViewer.ButtonOutlineMode", buttonOutlineOptions, BUTTON_OUTLINE_NOT_PRESSED,
|
||||||
!CVarGetInteger("gInputViewer.GlobalButtonOutlineMode", 1), "",
|
!CVarGetInteger("gInputViewer.UseGlobalButtonOutlineMode", 1), "",
|
||||||
CVarGetInteger("gInputViewer.ButtonOutlineMode", BUTTON_OUTLINE_NOT_PRESSED));
|
CVarGetInteger("gInputViewer.ButtonOutlineMode", BUTTON_OUTLINE_NOT_PRESSED));
|
||||||
UIWidgets::Tooltip(
|
UIWidgets::Tooltip(
|
||||||
"Sets the desired visibility behavior for the button outline/background layers. Useful for "
|
"Sets the desired visibility behavior for the button outline/background layers. Useful for "
|
||||||
"custom input viewers.");
|
"custom input viewers.");
|
||||||
|
|
||||||
// gInputViewer.GlobalButtonOutlineMode
|
// gInputViewer.UseGlobalButtonOutlineMode
|
||||||
UIWidgets::EnhancementCheckbox("Use for all buttons", "gInputViewer.GlobalButtonOutlineMode", false, "",
|
UIWidgets::EnhancementCheckbox("Use for all buttons", "gInputViewer.UseGlobalButtonOutlineMode", false, "",
|
||||||
UIWidgets::CheckboxGraphics::Checkmark, true);
|
UIWidgets::CheckboxGraphics::Checkmark, true);
|
||||||
|
|
||||||
UIWidgets::PaddedSeparator();
|
UIWidgets::PaddedSeparator();
|
||||||
|
|
||||||
bool useIndividualOutlines = !CVarGetInteger("gInputViewer.GlobalButtonOutlineMode", 1);
|
bool useIndividualOutlines = !CVarGetInteger("gInputViewer.UseGlobalButtonOutlineMode", 1);
|
||||||
|
|
||||||
// gInputViewer.ABtn
|
// gInputViewer.ABtn
|
||||||
UIWidgets::EnhancementCheckbox("Show A-Button Layers", "gInputViewer.ABtn", false, "",
|
UIWidgets::EnhancementCheckbox("Show A-Button Layers", "gInputViewer.ABtn", false, "",
|
||||||
|
|
Loading…
Reference in New Issue