ATTENTION: i created a whole new branch for this feature, but my old commits for old features are showing aswell! what can i do to avoid this? i'm not the best at git, i might have messed up something
I implemented, added tests and documentation for the new get/set_window_pos ideated by me.
Why?
The new window API should not have restricted features if said features are easily implemented in the old API
The underlying SDL code is very simple and not having this functions seems like an incomplete API
The new window API is still missing a lot of features including OpenGL support (check the recent talk on #contributing (discord)
Setting the SDL environment variable is not pythonic, clear and won't affect the window after pygame is init
I got inspired by the other functions in the display module to write the C source, tell me if anything can be changed or if some docs or tests are missing and tell me what do you think of this addition.
I tested the functions locally and they work fine
ATTENTION: i created a whole new branch for this feature, but my old commits for old features are showing aswell! what can i do to avoid this? i'm not the best at git, i might have messed up something
I implemented, added tests and documentation for the new get/set_window_pos ideated by me.
Why?
I got inspired by the other functions in the display module to write the C source, tell me if anything can be changed or if some docs or tests are missing and tell me what do you think of this addition. I tested the functions locally and they work fine