expose glfw{Get,Set}WindowPos to python

This commit is contained in:
ad-chaos
2024-01-18 22:21:39 +05:30
parent cad7047a7a
commit c2acc2460b
4 changed files with 40 additions and 0 deletions

View File

@@ -288,6 +288,8 @@ bool remove_os_window(id_type os_window_id);
void* make_os_window_context_current(OSWindow *w);
void set_os_window_size(OSWindow *os_window, int x, int y);
void get_os_window_size(OSWindow *os_window, int *w, int *h, int *fw, int *fh);
void get_os_window_pos(OSWindow *os_window, int *x, int *y);
void set_os_window_pos(OSWindow *os_window, int x, int y);
void get_os_window_content_scale(OSWindow *os_window, double *xdpi, double *ydpi, float *xscale, float *yscale);
void update_os_window_references(void);
void mark_os_window_for_close(OSWindow* w, CloseRequest cr);