Stephen Gutekanst
|
04a213b411
|
glfw: cleanup two tests
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 21:37:05 -07:00 |
|
Stephen Gutekanst
|
c2af312200
|
glfw: use Window.create in basic test
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 21:36:14 -07:00 |
|
Stephen Gutekanst
|
9359bdc273
|
glfw: add Window.create
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 21:35:52 -07:00 |
|
Stephen Gutekanst
|
1e37864cb8
|
glfw: add Window.hintString
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 20:33:04 -07:00 |
|
Stephen Gutekanst
|
f136ad0031
|
glfw: add Window.hint
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 20:01:16 -07:00 |
|
Stephen Gutekanst
|
441d8d7928
|
glfw: add Window.defaultHints
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 17:47:07 -07:00 |
|
Stephen Gutekanst
|
477d8f85d8
|
CI: disable windows/linux testing for now
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 16:50:24 -07:00 |
|
Stephen Gutekanst
|
b5d1ebd1cd
|
glfw: window open test is optional (cannot open windows on CI)
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 15:38:53 -07:00 |
|
Stephen Gutekanst
|
3627edfbba
|
README: add supported platforms matrix
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 14:52:45 -07:00 |
|
Stephen Gutekanst
|
fcdaba5cc2
|
README: explain zero fuss installation & cross compilation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 14:52:11 -07:00 |
|
Stephen Gutekanst
|
0f9fb391aa
|
README: link machengine Twitter
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-18 13:50:53 -07:00 |
|
Stephen Gutekanst
|
4fa50d273b
|
glfw: add Monitor.setGammaRamp
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 21:57:02 -07:00 |
|
Stephen Gutekanst
|
349462cb77
|
glfw: add Monitor.getGammaRamp
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 21:37:53 -07:00 |
|
Stephen Gutekanst
|
27d3117024
|
glfw: move Monitor method for consistency
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 21:30:52 -07:00 |
|
Stephen Gutekanst
|
ceabcec7a3
|
glfw: add GammaRamp type
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 21:29:51 -07:00 |
|
Stephen Gutekanst
|
72f09b4f32
|
glfw: fix and test VideoMode getters
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 20:56:48 -07:00 |
|
Stephen Gutekanst
|
5238e52d76
|
glfw: add Monitor.setGamma; return concrete Error types
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 20:50:41 -07:00 |
|
Stephen Gutekanst
|
ed83d5128c
|
glfw: cleanup VideoMode imports
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 20:49:23 -07:00 |
|
Stephen Gutekanst
|
ee11697769
|
glfw: add Monitor.getVideoMode
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 20:43:37 -07:00 |
|
Stephen Gutekanst
|
40e1520372
|
glfw: correct import references
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 20:19:46 -07:00 |
|
Stephen Gutekanst
|
c6e8bce219
|
glfw: fix and test Monitor.getVideoModes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 20:15:40 -07:00 |
|
Stephen Gutekanst
|
b76e8d02f2
|
glfw: deduplicate @cImport for type equivalence
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 20:14:09 -07:00 |
|
Stephen Gutekanst
|
74e2bddf93
|
glfw: add VideoMode type; add Monitor.getVideoModes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 19:57:07 -07:00 |
|
Stephen Gutekanst
|
1c10b309b2
|
glfw: inline getError helper
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 17:24:46 -07:00 |
|
Stephen Gutekanst
|
0af761d046
|
glfw: clarify Monitor.setCallback docs
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 17:23:01 -07:00 |
|
Stephen Gutekanst
|
c5b89fef2e
|
glfw: fix Monitor.getUserPointer alignment
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 17:18:12 -07:00 |
|
Stephen Gutekanst
|
9cac08b3b9
|
glfw: add Monitor.setCallback
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 15:31:31 -07:00 |
|
Stephen Gutekanst
|
30debe452c
|
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
|
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
|
6cfac34405
|
glfw: inline Monitor functions
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-17 14:00:57 -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
|
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
|
d57a53df49
|
glfw: add Monitor.getName function
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
|
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
|
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
|
d9797481d2
|
glfw: add monitor.getWorkarea
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 17:07:48 -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
|
8ade50719d
|
glfw: correctly test Monitor implementation
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 16:56:58 -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
|
04cbfb2e1e
|
glfw: add monitor.getAll support
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 16:36:57 -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
|
bda78aca74
|
glfw: add getVersionString
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 16:00:28 -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
|
2bb3b934e1
|
glfw: add terminate function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 15:24:45 -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
|
f533747fa8
|
glfw: add init function
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
|
2021-07-16 15:07:06 -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 |
|