Skip to content

Refactor GuiHelpOverlay and keybind help text population#2688

Open
oznogon wants to merge 1 commit intodaid:masterfrom
oznogon:refactor-help-overlay
Open

Refactor GuiHelpOverlay and keybind help text population#2688
oznogon wants to merge 1 commit intodaid:masterfrom
oznogon:refactor-help-overlay

Conversation

@oznogon
Copy link
Contributor

@oznogon oznogon commented Jan 5, 2026

  • Use layout parameters in the GuiHelpOverlay main panel.
  • Increase the panel width to accommodate long bind labels.
  • Add functions to set GuiHelpOverlay title, contents, and footer.

Add a specialized GuiHotkeyHelpOverlay subclass and move all
redundant help overlay text population logic from across crew and
accessory screens into it.

  • Move the hint to help players find the hotkeys rebinding menu
    from the bottom of hotkey contents' scrolltext to a standalone
    footer label, and correct its reference to the Options menu
    instead of settings.
  • Color bindings slightly to distinguish them from labels.
  • Rename GuiHotkeyHelpOverlays from "Keyboard Shortcuts" to
    "Controls" since this also already includes game controller and
    joystick bindings.
  • List unbound controls below the list of bound controls, and
    fade them to distinguish them from bound controls.

This stacks on #2687 since it applies keybinding changes to voice chat to hide its keybinds when disabled. These changes can be backed out if #2687 blocks this.

Before:

Screenshot_20260105_022833

After:

Screenshot_20260105_022734

- Use layout parameters in the GuiHelpOverlay main panel.
- Increase the panel width to accommodate long bind labels.
- Add functions to set GuiHelpOverlay title, contents, and footer.

Add a specialized GuiHotkeyHelpOverlay subclass and move all
redundant help overlay text population logic from across crew and
accessory screens into it.

- Move the hint to help players find the hotkeys rebinding menu
  from the bottom of hotkey contents' scrolltext to a standalone
  footer label, and correct its reference to the Options menu
  instead of settings.
- Color bindings slightly to distinguish them from labels.
- Rename GuiHotkeyHelpOverlays from "Keyboard Shortcuts" to
  "Controls" since this also already includes game controller and
  joystick bindings.
- List unbound controls below the list of bound controls, and
  fade them to distinguish them from bound controls.
@oznogon oznogon force-pushed the refactor-help-overlay branch from 936a3b9 to 6bd9180 Compare February 5, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant