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 flag allowing the Pac-Man GUI to be resized #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ll-nick
Copy link
Collaborator

@ll-nick ll-nick commented Dec 9, 2024

This adds the SDL_WINDOW_RESIZABLE flag when calling SDL_CreateWindow while starting the Pac-Man demo GUI.
With this flag, the window can be resized or e.g. snapped to the screen border like any other window.

See here for documentation regarding the flag.

#patch

@ll-nick ll-nick requested a review from orzechow December 9, 2024 11:00
@ll-nick ll-nick self-assigned this Dec 9, 2024
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