aboutsummaryrefslogtreecommitdiff
path: root/vendor/glfw/types.odin
blob: a89e0d1baac16d2b65cb2608deb35f6826fda7b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Bindings for [[ GLFW ; https://www.glfw.org ]]
package glfw

import glfw "bindings"

WindowHandle  :: glfw.WindowHandle
MonitorHandle :: glfw.MonitorHandle
CursorHandle  :: glfw.CursorHandle

VidMode :: glfw.VidMode
GammaRamp :: glfw.GammaRamp
Image :: glfw.Image
GamepadState :: glfw.GamepadState

Allocator :: glfw.Allocator

/*** Procedure type declarations ***/
WindowIconifyProc      :: glfw.WindowIconifyProc
WindowRefreshProc      :: glfw.WindowRefreshProc
WindowFocusProc        :: glfw.WindowFocusProc
WindowCloseProc        :: glfw.WindowCloseProc
WindowSizeProc         :: glfw.WindowSizeProc
WindowPosProc          :: glfw.WindowPosProc
WindowMaximizeProc     :: glfw.WindowMaximizeProc
WindowContentScaleProc :: glfw.WindowContentScaleProc
FramebufferSizeProc    :: glfw.FramebufferSizeProc
DropProc               :: glfw.DropProc
MonitorProc            :: glfw.MonitorProc

KeyProc                :: glfw.KeyProc
MouseButtonProc        :: glfw.MouseButtonProc
CursorPosProc          :: glfw.CursorPosProc
ScrollProc             :: glfw.ScrollProc
CharProc               :: glfw.CharProc
CharModsProc           :: glfw.CharModsProc
CursorEnterProc        :: glfw.CursorEnterProc
JoystickProc           :: glfw.JoystickProc

ErrorProc              :: glfw.ErrorProc

AllocateProc           :: glfw.AllocateProc
ReallocateProc         :: glfw.ReallocateProc
DeallocateProc         :: glfw.DeallocateProc