Stephen Gutekanst
|
309b71d600
|
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
|
6cfac34405
|
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
|
26e0db2064
|
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
|
003a1db2e6
|
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
|
d57a53df49
|
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
|
57c9ae9a40
|
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
|
213f4bf786
|
glfw: add Monitor.getPhysicalSize
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 12:58:11 -07:00 |
|
Stephen Gutekanst
|
6a7f294ee8
|
README: use less bright background for dark theme
|
2021-07-17 12:04:03 -07:00 |
|
Stephen Gutekanst
|
ff53a38316
|
README: add white background + tagline to logo
|
2021-07-17 11:34:10 -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
|
5f4fb8b400
|
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
|
d9797481d2
|
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
|
cfcd97d167
|
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
|
8ade50719d
|
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
|
10eb3b5680
|
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
|
04cbfb2e1e
|
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
|
1cedf40671
|
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
|
bda78aca74
|
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
|
c1dcabb72b
|
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
|
2bb3b934e1
|
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
|
7cae2818f3
|
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
|
f533747fa8
|
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
|
1b1e184129
|
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
|
4b5f94c4ea
|
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
|
61eafbf69a
|
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
|
d0be590230
|
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
|
98280d3be7
|
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 |
|