Camilla Berglund
b48128f339
Tagged functions one may not call from callbacks.
ago%!(EXTRA string=12 years)
Camilla Berglund
6f8084f061
Documentation work.
...
Enabled Doxygen tree view, added CMake options for native and internal
modules, improved internal and native documentation.
ago%!(EXTRA string=12 years)
Camilla Berglund
92a71e07d3
Made gamma ramp functions per-monitor.
ago%!(EXTRA string=12 years)
Camilla Berglund
52f718d026
Fixed inconsistent coordinate parameter names.
ago%!(EXTRA string=12 years)
Camilla Berglund
984539cbd4
Documentation formatting.
ago%!(EXTRA string=12 years)
Camilla Berglund
7c1932381b
Reintroduced glfwGetWindowPos, glfwSetWindowPos.
ago%!(EXTRA string=12 years)
Camilla Berglund
ee5f30ea8f
Replaced glfwGetMonitorParam with glfwGetMonitor*.
...
Having one way to retrieve the cursor position and another (more
verbose) way to retrieve the monitor position is inconsistent. Having
them both work the same way is the least surprising thing.
The expected glfwGetMonitorSize function gets an added Physical in its
name so users won't confuse it with glfwGetVideoMode.
ago%!(EXTRA string=12 years)
Camilla Berglund
dba2d80009
Documentation work.
ago%!(EXTRA string=12 years)
Camilla Berglund
ac5fee4d20
Re-used POSITION_* tokens for monitor position.
ago%!(EXTRA string=12 years)
Camilla Berglund
2cea6e37cf
Removed glfwGetScrollOffset.
...
Scroll events do not represent an absolute state, but rather an interpretation
of a relative change in state, like character input. So, like character input,
there is no sane 'current state' to return. The here removed solution, that of
accumulating an offset since the last call to event processing, is at best
mildly confusing. If a user wishes to implement this solution, it is better for
it to be explicit in client code than implicit in GLFW calls.
ago%!(EXTRA string=12 years)
Camilla Berglund
2fca5c5df1
Formatted public header, removed per-token docs.
...
Some tokens are used for more than one purpose, making it difficult to write
good documentation on the token itself. These tokens should instead be
described in the documentation for each function or callback that uses them.
ago%!(EXTRA string=12 years)
Camilla Berglund
d406b48007
Added constraints subheading.
ago%!(EXTRA string=13 years)
Camilla Berglund
9492fc5cc1
Documentation work (fixed all Doxygen warnings).
ago%!(EXTRA string=13 years)
Camilla Berglund
f8df91d815
Inclusion guard fixes.
ago%!(EXTRA string=13 years)
Camilla Berglund
1bd59844c8
Documentation work.
ago%!(EXTRA string=13 years)
Camilla Berglund
9bfb925d1a
Documentation updates.
ago%!(EXTRA string=13 years)
Camilla Berglund
316ee1d77d
Made glfwGetVideoMode return a GLFWvidmode.
ago%!(EXTRA string=13 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=13 years)
Camilla Berglund
4305c76049
Removed monitor user pointer.
ago%!(EXTRA string=13 years)
Camilla Berglund
21f41a2bb7
Renamed GLFW_SAMPLES and GLFW_SHOULD_CLOSE.
ago%!(EXTRA string=13 years)
Camilla Berglund
52dac79219
Ripped out horribly broken refresh rate mess.
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
052c587dd5
Shortened monitor-related tokens.
ago%!(EXTRA string=13 years)
Camilla Berglund
37904dc68a
Documentation work.
ago%!(EXTRA string=13 years)
Camilla Berglund
e38b752465
Made arrays returned by public API const.
ago%!(EXTRA string=13 years)
Camilla Berglund
1b59002682
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
deb0b3d693
Added more monitor API documentation.
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
5f68e12b52
Added some documentation for the monitor API.
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)