diff options
author | sanine <sanine.not@pm.me> | 2023-03-10 02:05:18 -0600 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-03-10 02:05:18 -0600 |
commit | 51c7235d4e0a2df109dd5050328a0ad4a1878ae4 (patch) | |
tree | 201b065e93bf6a35d2bab0e49bcd32f7a971da94 /src/glfw/bind | |
parent | 5bb783912ac384156b8abbe6e83a5a61da73881d (diff) |
refactor: move glfw functions into separate table
Diffstat (limited to 'src/glfw/bind')
-rw-r--r-- | src/glfw/bind | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/glfw/bind b/src/glfw/bind new file mode 100644 index 0000000..ce1aace --- /dev/null +++ b/src/glfw/bind @@ -0,0 +1,47 @@ +void glfwDefaultWindowHints () +void glfwWindowHint (int hint, int value) +void glfwWindowHintString (int hint, const char *value) +GLFWwindow * glfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share) +void glfwDestroyWindow (GLFWwindow *window) +int glfwWindowShouldClose (GLFWwindow *window) +void glfwSetWindowShouldClose (GLFWwindow *window, int value) +void glfwSetWindowTitle (GLFWwindow *window, const char *title) +void glfwSetWindowIcon (GLFWwindow *window, int count, const GLFWimage *images) +void glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos) +void glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos) +void glfwGetWindowSize (GLFWwindow *window, int *width, int *height) +void glfwSetWindowSizeLimits (GLFWwindow *window, int minwidth, int minheight, int maxwidth, int maxheight) +void glfwSetWindowAspectRatio (GLFWwindow *window, int numer, int denom) +void glfwSetWindowSize (GLFWwindow *window, int width, int height) +void glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height) +void glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom) +void glfwGetWindowContentScale (GLFWwindow *window, float *xscale, float *yscale) +float glfwGetWindowOpacity (GLFWwindow *window) +void glfwSetWindowOpacity (GLFWwindow *window, float opacity) +void glfwIconifyWindow (GLFWwindow *window) +void glfwRestoreWindow (GLFWwindow *window) +void glfwMaximizeWindow (GLFWwindow *window) +void glfwShowWindow (GLFWwindow *window) +void glfwHideWindow (GLFWwindow *window) +void glfwFocusWindow (GLFWwindow *window) +void glfwRequestWindowAttention (GLFWwindow *window) +GLFWmonitor * glfwGetWindowMonitor (GLFWwindow *window) +void glfwSetWindowMonitor (GLFWwindow *window, GLFWmonitor *monitor, int xpos, int ypos, int width, int height, int refreshRate) +int glfwGetWindowAttrib (GLFWwindow *window, int attrib) +void glfwSetWindowAttrib (GLFWwindow *window, int attrib, int value) +void glfwSetWindowUserPointer (GLFWwindow *window, void *pointer) +void * glfwGetWindowUserPointer (GLFWwindow *window) +GLFWwindowposfun glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun callback) +GLFWwindowsizefun glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun callback) +GLFWwindowclosefun glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun callback) +GLFWwindowrefreshfun glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun callback) +GLFWwindowfocusfun glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun callback) +GLFWwindowiconifyfun glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun callback) +GLFWwindowmaximizefun glfwSetWindowMaximizeCallback (GLFWwindow *window, GLFWwindowmaximizefun callback) +GLFWframebuffersizefun glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun callback) +GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback (GLFWwindow *window, GLFWwindowcontentscalefun callback) +void glfwPollEvents () +void glfwWaitEvents () +void glfwWaitEventsTimeout (double timeout) +void glfwPostEmptyEvent () +void glfwSwapBuffers (GLFWwindow *window) |