Stephen Gutekanst
|
6015ad37e4
|
glfw: clarify Monitor.setCallback docs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 17:23:01 -07:00 |
|
Stephen Gutekanst
|
d838eabe93
|
glfw: fix Monitor.getUserPointer alignment
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 17:18:12 -07:00 |
|
Stephen Gutekanst
|
6989fd49ce
|
glfw: add Monitor.setCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 15:31:31 -07:00 |
|
Stephen Gutekanst
|
09cfe7b080
|
glfw: correct Monitor.getAll error checking; fix tests
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 14:06:19 -07:00 |
|
Stephen Gutekanst
|
d29baba18e
|
glfw: correctly check for Monitor.getAll errors
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 14:02:07 -07:00 |
|
Stephen Gutekanst
|
fd28f51936
|
glfw: inline Monitor functions
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 14:00:57 -07:00 |
|
Stephen Gutekanst
|
119f896e35
|
glfw: always check init errors
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 13:59:26 -07:00 |
|
Stephen Gutekanst
|
631cfbfc66
|
glfw: add Monitor.setUserPointer, Monitor.getUserPointer
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 12:58:11 -07:00 |
|
Stephen Gutekanst
|
44fdfc641e
|
glfw: add Monitor.getName function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 12:58:11 -07:00 |
|
Stephen Gutekanst
|
e1a8f97385
|
glfw: add Monitor.getContentScale
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 12:58:11 -07:00 |
|
Stephen Gutekanst
|
fda6959724
|
glfw: add Monitor.getPhysicalSize
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 12:58:11 -07:00 |
|
Stephen Gutekanst
|
7606092329
|
glfw: only keep test window open for 100ms
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 17:09:28 -07:00 |
|
Stephen Gutekanst
|
e5da72afc2
|
glfw: add monitor.getWorkarea
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 17:07:48 -07:00 |
|
Stephen Gutekanst
|
0b6f209cbb
|
glfw: add Monitor.getPos
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 16:57:50 -07:00 |
|
Stephen Gutekanst
|
3844558b0f
|
glfw: correctly test Monitor implementation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 16:56:58 -07:00 |
|
Stephen Gutekanst
|
070649e0dc
|
glfw: add monitors.getPrimary
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 16:42:03 -07:00 |
|
Stephen Gutekanst
|
f382d1ab2b
|
glfw: add monitor.getAll support
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 16:36:57 -07:00 |
|
Stephen Gutekanst
|
5e9b7d57d2
|
glfw: make init inline
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 16:35:42 -07:00 |
|
Stephen Gutekanst
|
8e785d3443
|
glfw: add getVersionString
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 16:00:28 -07:00 |
|
Stephen Gutekanst
|
2cb8704851
|
glfw: add initHint function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 15:50:35 -07:00 |
|
Stephen Gutekanst
|
84ef0a591e
|
glfw: add terminate function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 15:24:45 -07:00 |
|
Stephen Gutekanst
|
a19f73f1e4
|
glfw: correct C key / C import conflict
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 15:07:26 -07:00 |
|
Stephen Gutekanst
|
041d328721
|
glfw: add init function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 15:07:06 -07:00 |
|
Stephen Gutekanst
|
bf4f718357
|
glfw: add error handling
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 15:06:35 -07:00 |
|
Stephen Gutekanst
|
f384e88dc1
|
glfw: add C -> Zig error translation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 14:27:34 -07:00 |
|
Stephen Gutekanst
|
13423c0903
|
glfw: add general constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 13:26:11 -07:00 |
|
Stephen Gutekanst
|
8c40f4e4c5
|
glfw: add gamepad button IDs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 12:31:53 -07:00 |
|
Stephen Gutekanst
|
ad3e656d83
|
glfw: add gamepad axis
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 12:31:22 -07:00 |
|
Stephen Gutekanst
|
22a3a05c3c
|
glfw: add joystick IDs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 12:24:08 -07:00 |
|
Stephen Gutekanst
|
c6916317e3
|
glfw: add mouse button IDs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 12:20:32 -07:00 |
|
Stephen Gutekanst
|
019e2ea918
|
glfw: add modifier key flags
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 12:15:49 -07:00 |
|
Stephen Gutekanst
|
0fe1a2f840
|
glfw: add keyboard key ID constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 12:11:12 -07:00 |
|
Stephen Gutekanst
|
15c072c20c
|
glfw: correct comment style
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 11:52:38 -07:00 |
|
Stephen Gutekanst
|
a7267d9acc
|
glfw: add joystick hat states
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 11:41:51 -07:00 |
|
Stephen Gutekanst
|
33173940ef
|
glfw: add top-level comments
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 11:36:31 -07:00 |
|
Stephen Gutekanst
|
09674bc655
|
glfw: move constants into separate modules
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 11:34:18 -07:00 |
|
Stephen Gutekanst
|
d4186e45e3
|
glfw: add key/button action constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 11:31:02 -07:00 |
|
Stephen Gutekanst
|
2faad21f70
|
glfw: add version constants
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 11:21:51 -07:00 |
|
Stephen Gutekanst
|
0565c326b4
|
CI: add macOS testing pipeline (#2)
* CI: add macOS testing pipeline
* glfw: use hidden window
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 10:57:37 -07:00 |
|
Stephen Gutekanst
|
f28f8ec253
|
glfw: handle windows \r\n in Apple SDK prompt
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-11 15:22:58 -07:00 |
|
Stephen Gutekanst
|
5ee5f14195
|
glfw: link libc
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-11 15:22:58 -07:00 |
|
Stephen Gutekanst
|
0e9c54e529
|
glfw: use cross-platform getEnvVarOwned
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-11 15:22:58 -07:00 |
|
Stephen Gutekanst
|
dac591b468
|
glfw: remove symlinks from SDKs (using them on windows is annoying)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-11 15:22:58 -07:00 |
|
Stephen Gutekanst
|
31604cae3f
|
glfw: be sure to clone SDKs with symlinks
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-10 17:26:32 -07:00 |
|
Stephen Gutekanst
|
d3abf7babb
|
glfw: correct Linux -> MacOS cross compilation (header includes)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-10 16:07:41 -07:00 |
|
Stephen Gutekanst
|
182030df2d
|
glfw: fix -Dtarget=x86_64-macos compilation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-10 14:47:10 -07:00 |
|
Stephen Gutekanst
|
c5d8758588
|
glfw: build Linux sources
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-10 11:25:04 -07:00 |
|
Stephen Gutekanst
|
a5eadec686
|
glfw: tidy up Options struct
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-10 10:04:18 -07:00 |
|
Stephen Gutekanst
|
ef4e335ccd
|
glfw: build windows sources
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-10 10:04:18 -07:00 |
|
Stephen Gutekanst
|
f9150de8d0
|
glfw: macOS cross compilation with automatic setup
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-10 01:01:51 -07:00 |
|