-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add quit button to the menu (#99)
Adds a quit button to the main menu. This option may feel nicer to some users over requiring the use of the close button on the window. I was hoping for a somewhat 'cleaner' way of doing this (such as by manually triggering an `SDL_QUIT` event from the menu), but I have not yet figured out if that is possible. If you have a better way of handling this, feel free to close this PR or let me know. Otherwise, I believe this should work fine.
- Loading branch information
1 parent
9c30861
commit 62d778c
Showing
3 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters