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

main menu refactor #230

Merged
merged 12 commits into from
Aug 30, 2024
Merged

main menu refactor #230

merged 12 commits into from
Aug 30, 2024

Conversation

rennancockles
Copy link
Collaborator

@rennancockles rennancockles commented Aug 29, 2024

Proposed Changes

Refactor of main menu. Each menu is now a class and contains its own name, menu function and a draw function to draw its icon. With the proposed changes each menu item class is a separate module with everything it needs.
The main_menu file now contains a list of menu item classes and it's not needed to keep multiple lists with items in the same order like list os menu names and menu function call.

NOTE: this PR looks bigger than it is because it contains changes from PR #229

Types of Changes

Refactor

User-Facing Change

Nothing

@pr3y pr3y merged commit 9b64e04 into pr3y:main Aug 30, 2024
7 checks passed
@rennancockles rennancockles deleted the feat/main_menu branch September 1, 2024 19:48
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.

2 participants