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)
Camilla Berglund
948be592be
Documented callback clearing at window destruction time.
ago%!(EXTRA string=13 years)
Camilla Berglund
ed9e403750
Documentation work.
ago%!(EXTRA string=13 years)
Camilla Berglund
1395ec2269
Documentation work.
ago%!(EXTRA string=13 years)
Camilla Berglund
f98d3a250f
Added documentation cross-references to some tokens.
ago%!(EXTRA string=13 years)
Camilla Berglund
3f5843f500
Renamed tokens used for other client APIs.
ago%!(EXTRA string=13 years)
Camilla Berglund
37904dc68a
Documentation work.
ago%!(EXTRA string=13 years)
Camilla Berglund
d4a08b10fd
Documented joystick name caveat.
ago%!(EXTRA string=13 years)
Camilla Berglund
7d9b5c0127
Added documentation for glfwGetJoystickName.
ago%!(EXTRA string=13 years)
Camilla Berglund
69a900592e
Added explicit support for sRGB framebuffers.
ago%!(EXTRA string=13 years)
Camilla Berglund
a3ff29af36
Documentation updates.
ago%!(EXTRA string=13 years)
Camilla Berglund
1a3d47d06d
Added window position callback.
ago%!(EXTRA string=13 years)
Camilla Berglund
4ce92262f7
Reverted bad edit.
ago%!(EXTRA string=13 years)
Camilla Berglund
10cc85343a
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
06c191feea
Updated error codes to better reflect multi-API support.
ago%!(EXTRA string=13 years)
Camilla Berglund
1e9383d039
Documentation work.
ago%!(EXTRA string=13 years)
Camilla Berglund
2a166c5086
Removed glfwCopyContext to map better against EGL.
ago%!(EXTRA string=13 years)
Camilla Berglund
06e7a96c61
Fixed documentation spelling errors.
ago%!(EXTRA string=13 years)
Camilla Berglund
9ad1d979e9
Conservatively tagged functions confined to main thread.
ago%!(EXTRA string=13 years)
Camilla Berglund
998cb5144e
Made glfwSetCursorPos fail silently if lacking focus.
ago%!(EXTRA string=13 years)
Camilla Berglund
c479124e69
Removed key repeat.
ago%!(EXTRA string=13 years)
Camilla Berglund
b8c16e49f1
Removed window size DWIM.
ago%!(EXTRA string=13 years)
Camilla Berglund
14355d692f
Fixed active/focused nomenclature mixing.
ago%!(EXTRA string=13 years)
Camilla Berglund
bce2cd65e1
Begun outlining reference documentation.
ago%!(EXTRA string=13 years)
m@bitsnbites.eu
1c21fc1383
Removed GLFW_SYSTEM_KEYS from the GLFW API
...
Rationale: Disabling system commands is inherently
dangerous, and should not be encouraged. Also, it's very
difficult to define and implement a reliable and
consistent cross-platform mechanism.
ago%!(EXTRA string=13 years)
m@bitsnbites.eu
424e7c7b53
Removed glfwSetWindowPos and glfwGetWindowPos
...
glfwGetWindowPos is superseded by glfwGetWindowParam()
with GLFW_POSITION_X and GLFW_POSITION_Y as parameters.
glfwSetWindowPos can easily lead to bad practices
(moving windows around without the users consent), and
has been replaced with the GLFW_POSITION_X/Y window
hints that allow setting the window position for a
newly created window.
ago%!(EXTRA string=13 years)
m@bitsnbites.eu
c9f4dedd96
Introduced window positioning hints and window position properties
ago%!(EXTRA string=13 years)
Jari Vetoniemi
38c4a8ef2d
Make it possible to use GLESv1
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
5df4df6ca4
Added glfwDefaultWindowHints.
ago%!(EXTRA string=13 years)
Camilla Berglund
38cad9aff0
Added client API window hint.
...
This is cherry-picked from the EGL branch in preparation for the EGL backend.
ago%!(EXTRA string=13 years)
Camilla Berglund
410a4e29e1
Moved from gl3.h to glcorearb.h.
ago%!(EXTRA string=13 years)
Camilla Berglund
93a1d1c226
Added stubs, implemented on Linux and Cocoa.
ago%!(EXTRA string=13 years)
Camilla Berglund
a339098bc0
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
2502e4d6f3
Renamed glfwGetJoystickPos to glfwGetJoystickAxes.
ago%!(EXTRA string=13 years)
Camilla Berglund
f637722fa1
Removed MinGW-w64 hack.
ago%!(EXTRA string=13 years)
Camilla Berglund
8bb5c59d2d
Added GLFW_VISIBLE window hint and parameter.
ago%!(EXTRA string=13 years)
Camilla Berglund
a2ca095b86
Renamed GLFW_WINDOW_RESIZABLE to GLFW_RESIZABLE.
...
This matches GLFW_ACTIVE and GLFW_ICONIFIED.
ago%!(EXTRA string=13 years)
Riku Salminen
596132c3a1
Add glfwShowWindow, glfwHideWindow
...
Add glfwShowWindow and glfwHideWindow functions to allow explicit
control over show/hide window.
Remove platform specific show window code from _glfwPlatformCreateWindow
but call glfwShowWindow from glfwCreateWindow to avoid breaking things
(for now).
ago%!(EXTRA string=13 years)
Camilla Berglund
2410e2aaf4
Replaced automatic closing with window parameter.
ago%!(EXTRA string=13 years)
Camilla Berglund
2212cd94bf
Moved glfwWindowHint to the top of its block.
ago%!(EXTRA string=13 years)
Camilla Berglund
ddcf5d471e
Removed mirroring of default framebuffer attribs.
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
3c912cbc3c
Replaced declaration of wchar_t with stddef.h header.
ago%!(EXTRA string=13 years)
Camilla Berglund
871e1a70d7
Made video mode retrieval dynamic.
ago%!(EXTRA string=13 years)
Camilla Berglund
957ecdc9a0
Renamed no current context error to match function.
ago%!(EXTRA string=13 years)
Camilla Berglund
3a72f33541
Removed GLFW_ACCELERATED window parameter.
ago%!(EXTRA string=13 years)