Camilla Berglund
1b1ef31228
Make tests and examples use glad
ago%!(EXTRA string=10 years)
Camilla Berglund
0eccf75f65
Replace GL booleans with public macros
ago%!(EXTRA string=10 years)
Camilla Berglund
9021e52a6f
Fixed clipboard test OS X modifier.
ago%!(EXTRA string=10 years)
Camilla Berglund
11615fcaf2
Added scancode to key callback.
ago%!(EXTRA string=12 years)
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
ago%!(EXTRA string=12 years)
Camilla Berglund
1f0122e05c
Fixed uses of renamed symbol.
ago%!(EXTRA string=12 years)
Camilla Berglund
15ed715f4e
Moved public headers to the GLFW directory.
ago%!(EXTRA string=12 years)
Camilla Berglund
2d1b835711
Added a conservative set of key modifiers.
ago%!(EXTRA string=12 years)
Camilla Berglund
6fadf37bda
Replaced window close parameter with mutable flag.
...
Replaced the GLFW_SHOULD_CLOSE window parameter with the
glfwWindowShouldClose and glfwSetWindowShouldClose functions, allowing
the setting of the close flag from any point in the program.
ago%!(EXTRA string=12 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=12 years)
Camilla Berglund
9cc8fc0d0a
Removed glfwGetError and glfwErrorString.
...
The cached error code cannot be made per-thread unless it required
glfwInit (due to lack of __thread on OS X), which would be confusing and
partially defeats the purpose of it.
Beginners would use the generic error string facility instead of the
error callback and then be confused by its nondescript messages.
Storing the provided error code from within the error callback, whether
globally or per-thread, requires just a few lines of code and hands
control to the user without compromising thread safety.
ago%!(EXTRA string=13 years)
Camilla Berglund
b8c16e49f1
Removed window size DWIM.
ago%!(EXTRA string=13 years)
Camilla Berglund
18d71c2b6d
Made window-related callbacks per-window.
...
This makes polymorphic behaviour easier to implement and avoids the problem of
events being triggered before the GLFW window object is fully usable.
ago%!(EXTRA string=13 years)
Camilla Berglund
1be1636326
Begun integrating monitor and window.
ago%!(EXTRA string=13 years)
Camilla Berglund
89018331f7
Fixed invalid uses of glfwDestroyWindow.
ago%!(EXTRA string=13 years)
Camilla Berglund
2f095cc9e3
Removed implicit glfwMakeCurrentContext.
...
Implicitly making the context current makes sense in a
single-window API but less sense in a multi-window one.
ago%!(EXTRA string=13 years)
Camilla Berglund
2410e2aaf4
Replaced automatic closing with window parameter.
ago%!(EXTRA string=13 years)
Camilla Berglund
585a840329
Added window parameter to glfwSwapBuffers.
ago%!(EXTRA string=13 years)
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
ago%!(EXTRA string=13 years)
Camilla Berglund
2972cdfeb1
Removed glfwIsWindow.
ago%!(EXTRA string=13 years)
Camilla Berglund
f8a726371e
Fixed test description.
ago%!(EXTRA string=13 years)
Camilla Berglund
9ace27f97b
Updated clipboard test.
ago%!(EXTRA string=13 years)
Camilla Berglund
f868712f02
Simplified clipboard API.
ago%!(EXTRA string=13 years)
Camilla Berglund
67a3f5dc8f
Added error callback.
ago%!(EXTRA string=13 years)
Camilla Berglund
bf1ada029b
Added window parameter to clipboard API.
ago%!(EXTRA string=13 years)
Camilla Berglund
7044ed6f06
Simplified and made clipboard API more type safe.
ago%!(EXTRA string=13 years)
Camilla Berglund
2ad5764f06
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
cca6b52120
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
e49f1b8801
Fixed broken example.
ago%!(EXTRA string=13 years)
Camilla Berglund
a1d5fc039d
Added support for right control key.
ago%!(EXTRA string=13 years)
Tai Chi Minh Ralph Eastwood
f332e0009d
Add mising clipboard test program.
ago%!(EXTRA string=13 years)
Camilla Berglund
0c3b1b5a0e
Removed allocator.
ago%!(EXTRA string=13 years)
Camilla Berglund
086fba40b4
Fixed program names in help output.
ago%!(EXTRA string=13 years)
Camilla Berglund
b35ef1ac53
Added gamma setting function.
ago%!(EXTRA string=13 years)
Camilla Berglund
55a34c6967
Made gamma test set gamma at startup.
ago%!(EXTRA string=13 years)
Camilla Berglund
b997db3a8b
Removed GLFWthreadmodel and glfwInitWithModels.
ago%!(EXTRA string=13 years)
Camilla Berglund
5327b0050e
Improved gamma test rendering.
ago%!(EXTRA string=14 years)
Camilla Berglund
2f4d75bd15
Added additional gamma test keys.
ago%!(EXTRA string=14 years)
Camilla Berglund
ca0dbdbb6e
Simplified glfwSetGammaFormula to glfwSetGamma.
ago%!(EXTRA string=14 years)
Marcus
e3cb563a28
Fixed key names in the example and test programs.
ago%!(EXTRA string=15 years)
Camilla Berglund
4044c2da66
Made callbacks library global.
ago%!(EXTRA string=15 years)
Camilla Berglund
2630d4968c
Initial implementation of experimental gamma ramp API.
ago%!(EXTRA string=15 years)
Camilla Berglund
99ddce3214
Added context sharing.
ago%!(EXTRA string=15 years)
Camilla Berglund
e244ad3d41
Updated example and test programs to new API.
ago%!(EXTRA string=15 years)
Camilla Berglund
e142a3ec63
Updated test program to new API.
ago%!(EXTRA string=15 years)
Camilla Berglund
abaac3ea99
Added GLFW error strings to test programs, various tweaks.
ago%!(EXTRA string=15 years)
Camilla Berglund
3249f812d6
Initial import of 2.7 Lite.
ago%!(EXTRA string=15 years)