Camilla Löwy
0f9a9578f3
Add window hints for initial position
...
This adds window hints for the initial position, in screen coordinates,
of a window. The special value GLFW_ANY_POSITION means the window
manager will be allowed to position the window.
It is not possible to set window positions on Wayland and GLFW will
always behave as if these hints are set to GLFW_ANY_POSITION.
Fixes #1603
Fixes #1747
ago%!(EXTRA string=3 years)
Camilla Löwy
62074f3dea
Update glad2 and switch to header-only version
...
This updates to a newer version of glad2 and switches to the header-only
variant.
This also (finally) switches to the newer glad2 loader signature that
allows us to pass in glfwGetInstanceProcAddress directly.
ago%!(EXTRA string=4 years)
Camilla Löwy
5c92cd9f52
Make windows test a tolerable example
ago%!(EXTRA string=5 years)
Camilla Löwy
ce9d124243
Remove command-line options from GUI-only test
ago%!(EXTRA string=5 years)
Camilla Löwy
537ea4ccf1
Explicitly disable inclusion for test and examples
...
Thank you, Travis CI, for reminding me that one cannot disable a header
with inclusion guards if it doesn't exist.
ago%!(EXTRA string=6 years)
Camilla Löwy
d7e30b1c74
Replace glad and the Vulkan SDK with glad2
...
This removes all dependencies from the GLFW test programs on the Vulkan
SDK.
It also removes support for linking the GLFW shared library (dynamic
library, DLL) against the Vulkan loader static library.
ago%!(EXTRA string=6 years)
Doug Binks
0be4f3f75a
Add GLFW_FOCUS_ON_SHOW window hint and attribute
...
This adds a window hint and attribute for controlling whether
glfwShowWindow gives the specified window input focus in addition to
making it visible.
Fixes #1189 .
Closes #1275 .
ago%!(EXTRA string=7 years)
Camilla Löwy
f4d0c83181
Paperwork done
ago%!(EXTRA string=9 years)
Camilla Berglund
757eea2779
Update email address
ago%!(EXTRA string=9 years)
Camilla Berglund
9f890bb6fa
Add decoration option to multi-window test
ago%!(EXTRA string=9 years)
Camilla Berglund
b2d2e30ac8
Make windows test wait for events
ago%!(EXTRA string=9 years)
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
8d4ba0aa83
Improved multi-window test.
...
Fixed proper Windows colors. Added support for Escape key. Made
windows undecorated. Added command-line option for decorated windows.
ago%!(EXTRA string=10 years)
Camilla Berglund
35fd08f594
Made windows test show all windows at once.
ago%!(EXTRA string=11 years)
Camilla Berglund
11587f1dde
Added position testing to windows test.
ago%!(EXTRA string=11 years)
Camilla Berglund
60eeaeee69
4.
ago%!(EXTRA string=11 years)
Camilla Berglund
40f69d7abf
Added use of frame size to multi-window test.
ago%!(EXTRA string=11 years)
Camilla Berglund
15ed715f4e
Moved public headers to the GLFW directory.
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
7c1932381b
Reintroduced glfwGetWindowPos, glfwSetWindowPos.
ago%!(EXTRA string=12 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=12 years)
Camilla Berglund
21f41a2bb7
Renamed GLFW_SAMPLES and GLFW_SHOULD_CLOSE.
ago%!(EXTRA string=13 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)
m@bitsnbites.eu
c9f4dedd96
Introduced window positioning hints and window position properties
ago%!(EXTRA string=13 years)
Camilla Berglund
d68acb78bf
Removed registering glfwTerminate with atexit.
...
Functions registered with atexit are called from the thread calling exit.
glfwTerminate should only be called from the main thread. Mistakes should be
explicit.
ago%!(EXTRA string=13 years)
Camilla Berglund
1be1636326
Begun integrating monitor and window.
ago%!(EXTRA string=13 years)
Camilla Berglund
f5bfe41456
Moved GLFW_VISIBLE hint use to glfwinfo.
ago%!(EXTRA string=13 years)
Camilla Berglund
b665903e14
Added testing of glfwShowWindow and GLFW_VISIBLE.
ago%!(EXTRA string=13 years)
Camilla Berglund
3162f290a6
Fixed float constant type mismatches.
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
0c3b1b5a0e
Removed allocator.
ago%!(EXTRA string=13 years)
Camilla Berglund
b997db3a8b
Removed GLFWthreadmodel and glfwInitWithModels.
ago%!(EXTRA string=13 years)
Camilla Berglund
2f7f7ca06f
Fixed color of window.
ago%!(EXTRA string=14 years)
Camilla Berglund
4afc67c1df
Various Windows and VC++ 2010 fixes.
ago%!(EXTRA string=14 years)
Camilla Berglund
c1ab73b979
Renamed context-related functions to more closely match underlying APIs.
ago%!(EXTRA string=14 years)
Camilla Berglund
99ddce3214
Added context sharing.
ago%!(EXTRA string=15 years)
Camilla Berglund
f06489d6cb
Fixed flipped error messages, added window positioning, made color calc more weird.
ago%!(EXTRA string=15 years)
Camilla Berglund
e244ad3d41
Updated example and test programs 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
484a2714fc
Renamed GLFW_WINDOW to GLFW_WINDOWED.
ago%!(EXTRA string=15 years)
Camilla Berglund
cfbafc5b39
Renamed glfw.h to glfw3.h to avoid conflicts.
ago%!(EXTRA string=15 years)
Camilla Berglund
06142786b9
Formatting.
ago%!(EXTRA string=15 years)
Camilla Berglund
107b769ada
Formatting.
ago%!(EXTRA string=15 years)
Camilla Berglund
025f8c9518
Made windows have different titles.
ago%!(EXTRA string=15 years)
Camilla Berglund
e8209c5a0c
Added simple multi-window example.
ago%!(EXTRA string=15 years)