├── .github └── workflows │ └── build.yml ├── .gitignore ├── LICENSE ├── README.md ├── examples └── basic.nim ├── src ├── staticglfw.nim └── staticglfw │ ├── CMakeLists.txt │ ├── cocoa_init.m │ ├── cocoa_joystick.h │ ├── cocoa_joystick.m │ ├── cocoa_monitor.m │ ├── cocoa_platform.h │ ├── cocoa_time.c │ ├── cocoa_window.m │ ├── context.c │ ├── egl_context.c │ ├── egl_context.h │ ├── glfw.rc.in │ ├── glfw3.h │ ├── glfw3native.h │ ├── glfw_config.h.in │ ├── glx_context.c │ ├── glx_context.h │ ├── init.c │ ├── input.c │ ├── internal.h │ ├── linux_joystick.c │ ├── linux_joystick.h │ ├── mappings.h │ ├── mappings.h.in │ ├── monitor.c │ ├── nsgl_context.h │ ├── nsgl_context.m │ ├── null_init.c │ ├── null_joystick.c │ ├── null_joystick.h │ ├── null_monitor.c │ ├── null_platform.h │ ├── null_window.c │ ├── osmesa_context.c │ ├── osmesa_context.h │ ├── posix_thread.c │ ├── posix_thread.h │ ├── posix_time.c │ ├── posix_time.h │ ├── vulkan.c │ ├── wgl_context.c │ ├── wgl_context.h │ ├── win32_init.c │ ├── win32_joystick.c │ ├── win32_joystick.h │ ├── win32_monitor.c │ ├── win32_platform.h │ ├── win32_thread.c │ ├── win32_time.c │ ├── win32_window.c │ ├── window.c │ ├── wl_init.c │ ├── wl_monitor.c │ ├── wl_platform.h │ ├── wl_window.c │ ├── x11_init.c │ ├── x11_monitor.c │ ├── x11_platform.h │ ├── x11_window.c │ ├── xkb_unicode.c │ └── xkb_unicode.h ├── staticglfw.nimble └── tests ├── config.nims ├── dranganddrop.nim ├── redwindow.nim └── test.nim /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/README.md -------------------------------------------------------------------------------- /examples/basic.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/examples/basic.nim -------------------------------------------------------------------------------- /src/staticglfw.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw.nim -------------------------------------------------------------------------------- /src/staticglfw/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/CMakeLists.txt -------------------------------------------------------------------------------- /src/staticglfw/cocoa_init.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/cocoa_init.m -------------------------------------------------------------------------------- /src/staticglfw/cocoa_joystick.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/cocoa_joystick.h -------------------------------------------------------------------------------- /src/staticglfw/cocoa_joystick.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/cocoa_joystick.m -------------------------------------------------------------------------------- /src/staticglfw/cocoa_monitor.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/cocoa_monitor.m -------------------------------------------------------------------------------- /src/staticglfw/cocoa_platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/cocoa_platform.h -------------------------------------------------------------------------------- /src/staticglfw/cocoa_time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/cocoa_time.c -------------------------------------------------------------------------------- /src/staticglfw/cocoa_window.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/cocoa_window.m -------------------------------------------------------------------------------- /src/staticglfw/context.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/context.c -------------------------------------------------------------------------------- /src/staticglfw/egl_context.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/egl_context.c -------------------------------------------------------------------------------- /src/staticglfw/egl_context.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/egl_context.h -------------------------------------------------------------------------------- /src/staticglfw/glfw.rc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/glfw.rc.in -------------------------------------------------------------------------------- /src/staticglfw/glfw3.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/glfw3.h -------------------------------------------------------------------------------- /src/staticglfw/glfw3native.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/glfw3native.h -------------------------------------------------------------------------------- /src/staticglfw/glfw_config.h.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/glfw_config.h.in -------------------------------------------------------------------------------- /src/staticglfw/glx_context.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/glx_context.c -------------------------------------------------------------------------------- /src/staticglfw/glx_context.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/glx_context.h -------------------------------------------------------------------------------- /src/staticglfw/init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/init.c -------------------------------------------------------------------------------- /src/staticglfw/input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/input.c -------------------------------------------------------------------------------- /src/staticglfw/internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/internal.h -------------------------------------------------------------------------------- /src/staticglfw/linux_joystick.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/linux_joystick.c -------------------------------------------------------------------------------- /src/staticglfw/linux_joystick.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/linux_joystick.h -------------------------------------------------------------------------------- /src/staticglfw/mappings.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/mappings.h -------------------------------------------------------------------------------- /src/staticglfw/mappings.h.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/mappings.h.in -------------------------------------------------------------------------------- /src/staticglfw/monitor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/monitor.c -------------------------------------------------------------------------------- /src/staticglfw/nsgl_context.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/nsgl_context.h -------------------------------------------------------------------------------- /src/staticglfw/nsgl_context.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/nsgl_context.m -------------------------------------------------------------------------------- /src/staticglfw/null_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/null_init.c -------------------------------------------------------------------------------- /src/staticglfw/null_joystick.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/null_joystick.c -------------------------------------------------------------------------------- /src/staticglfw/null_joystick.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/null_joystick.h -------------------------------------------------------------------------------- /src/staticglfw/null_monitor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/null_monitor.c -------------------------------------------------------------------------------- /src/staticglfw/null_platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/null_platform.h -------------------------------------------------------------------------------- /src/staticglfw/null_window.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/null_window.c -------------------------------------------------------------------------------- /src/staticglfw/osmesa_context.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/osmesa_context.c -------------------------------------------------------------------------------- /src/staticglfw/osmesa_context.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/osmesa_context.h -------------------------------------------------------------------------------- /src/staticglfw/posix_thread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/posix_thread.c -------------------------------------------------------------------------------- /src/staticglfw/posix_thread.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/posix_thread.h -------------------------------------------------------------------------------- /src/staticglfw/posix_time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/posix_time.c -------------------------------------------------------------------------------- /src/staticglfw/posix_time.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/posix_time.h -------------------------------------------------------------------------------- /src/staticglfw/vulkan.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/vulkan.c -------------------------------------------------------------------------------- /src/staticglfw/wgl_context.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/wgl_context.c -------------------------------------------------------------------------------- /src/staticglfw/wgl_context.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/wgl_context.h -------------------------------------------------------------------------------- /src/staticglfw/win32_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/win32_init.c -------------------------------------------------------------------------------- /src/staticglfw/win32_joystick.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/win32_joystick.c -------------------------------------------------------------------------------- /src/staticglfw/win32_joystick.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/win32_joystick.h -------------------------------------------------------------------------------- /src/staticglfw/win32_monitor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/win32_monitor.c -------------------------------------------------------------------------------- /src/staticglfw/win32_platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/win32_platform.h -------------------------------------------------------------------------------- /src/staticglfw/win32_thread.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/win32_thread.c -------------------------------------------------------------------------------- /src/staticglfw/win32_time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/win32_time.c -------------------------------------------------------------------------------- /src/staticglfw/win32_window.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/win32_window.c -------------------------------------------------------------------------------- /src/staticglfw/window.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/window.c -------------------------------------------------------------------------------- /src/staticglfw/wl_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/wl_init.c -------------------------------------------------------------------------------- /src/staticglfw/wl_monitor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/wl_monitor.c -------------------------------------------------------------------------------- /src/staticglfw/wl_platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/wl_platform.h -------------------------------------------------------------------------------- /src/staticglfw/wl_window.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/wl_window.c -------------------------------------------------------------------------------- /src/staticglfw/x11_init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/x11_init.c -------------------------------------------------------------------------------- /src/staticglfw/x11_monitor.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/x11_monitor.c -------------------------------------------------------------------------------- /src/staticglfw/x11_platform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/x11_platform.h -------------------------------------------------------------------------------- /src/staticglfw/x11_window.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/x11_window.c -------------------------------------------------------------------------------- /src/staticglfw/xkb_unicode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/xkb_unicode.c -------------------------------------------------------------------------------- /src/staticglfw/xkb_unicode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/src/staticglfw/xkb_unicode.h -------------------------------------------------------------------------------- /staticglfw.nimble: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/staticglfw.nimble -------------------------------------------------------------------------------- /tests/config.nims: -------------------------------------------------------------------------------- 1 | --path:"../src" 2 | -------------------------------------------------------------------------------- /tests/dranganddrop.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/tests/dranganddrop.nim -------------------------------------------------------------------------------- /tests/redwindow.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/tests/redwindow.nim -------------------------------------------------------------------------------- /tests/test.nim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/treeform/staticglfw/HEAD/tests/test.nim --------------------------------------------------------------------------------