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 examples to SDL3/SDL_CreateWindowWithProperties? #535

Open
Susko3 opened this issue May 15, 2024 · 2 comments
Open

Add examples to SDL3/SDL_CreateWindowWithProperties? #535

Susko3 opened this issue May 15, 2024 · 2 comments

Comments

@Susko3
Copy link
Contributor

Susko3 commented May 15, 2024

Since properties are a new concept, and creating a window is one of the first things you do in SDL, I think it would be useful to have an example of how to use it. Showing different property types, error checking, etc. I think this is best done by the core team, as they know how properties should be used.

Would it make sense to add CategoryProperties to SDL_Create*WithProperties pages?

@slouken
Copy link
Contributor

slouken commented May 16, 2024

I don't think we need a separate category for properties - they belong with the other functions in their category. An example for creating a window with properties is a great idea!

@icculus
Copy link
Contributor

icculus commented May 16, 2024

Yeah, mostly Categories map to how we have things broken up by headers. It's not really a See Also sort of thing.

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

No branches or pull requests

3 participants