Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu Modularize & MenuInit #968

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Jan 26, 2025

MenuEntries now uses unordered_map for storage, and vector for draw order.
AddMenuEntry is now used for main menu entries (settings, enhancements, etc).
MenuInit (based off of ShipInit) added to be able to register update and init functions (init can handle widgets, new sidebars in existing menu entries, or entirely new menu entries). Fixed top search modification to headerWidth to restore proper scrollbar functionality. Advanced resolution options now use MenuInit to handle update and init (options still hidden in this PR because of framebuffer issues).

Build Artifacts

Malkierian and others added 5 commits January 26, 2025 14:16
…rder.

AddMenuEntry is now used for main menu entries (settings, enhancements, etc).
MenuInit (based off of ShipInit) added to be able to register update and init functions (init can handle widgets, new sidebars in existing menu entries, or entirely new menu entries).
Fixed top search modification to headerWidth to restore proper scrollbar functionality.
Advanced resolution options now use MenuInit to handle update and init (options still hidden in push because of framebuffer issues).
Make slider clamping opt-out.
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