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

Add state machine #91

Merged
merged 5 commits into from
Jun 28, 2023
Merged

Add state machine #91

merged 5 commits into from
Jun 28, 2023

Conversation

ldicker83
Copy link
Contributor

So this is an initial implementation, the idea being to use bound function pointers to the Gui class based on the application state.

What will be needed going forward is a way to pass values back and forth between the Gui and the Application. This could be done in a number of ways, for example, building a struct to pass meta information back and forth.

Will need to ponder over this a bit to come up with something clean that's easy enough to work with without also being difficult to maintain.

@ldicker83 ldicker83 merged commit 67f2525 into main Jun 28, 2023
@ldicker83 ldicker83 deleted the AddStateMachine branch June 28, 2023 04:41
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