Camilla Berglund
e0a26aa62f
Cursor mode cleanup.
ago%!(EXTRA string=12 years)
Camilla Berglund
7e806a8567
Started 3.1.
ago%!(EXTRA string=12 years)
Camilla Berglund
06289110e7
Documented utility functions.
ago%!(EXTRA string=12 years)
Camilla Berglund
0ccbddf767
Moved version number macro to internal.h.
...
This lets alternative build environments avoid having to manually keep
track of which version of GLFW is being built.
ago%!(EXTRA string=12 years)
Camilla Berglund
23021422f3
Added explicit configuration header macro.
ago%!(EXTRA string=12 years)
Camilla Berglund
2c920fbb8b
Clarified character callback parameter.
ago%!(EXTRA string=12 years)
Andrew Corrigan
34f1c298b6
config.h.in --> glfw_config.h.in
ago%!(EXTRA string=12 years)
Camilla Berglund
63a191eb8d
Added clearing of callbacks on terminate.
ago%!(EXTRA string=12 years)
Camilla Berglund
3cfc400cf9
Simplified source file comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
f7282e86c0
Added pointer swap macro for callback setters.
ago%!(EXTRA string=12 years)
Camilla Berglund
d7512f529c
Clarified names of gamma array helper functions.
ago%!(EXTRA string=12 years)
Camilla Berglund
11615fcaf2
Added scancode to key callback.
ago%!(EXTRA string=12 years)
Camilla Berglund
180a4ee640
Fixed constness of joystick data.
ago%!(EXTRA string=12 years)
Camilla Berglund
3498163da1
Separated window and framebuffer sizes.
ago%!(EXTRA string=12 years)
Camilla Berglund
2cd34386bc
Added back refresh rate window hint.
ago%!(EXTRA string=12 years)
Camilla Berglund
ad1f6f0341
Renamed glfwGetWindowParam to glfwGetWindowAttrib.
...
Parameters are something specified at creation time and are often
immutable, while many of the values returned by glfwGetWindowParam
reflected current state not controlled by any parameter or hint.
ago%!(EXTRA string=12 years)
Camilla Berglund
15ed715f4e
Moved public headers to the GLFW directory.
ago%!(EXTRA string=12 years)
Camilla Berglund
ce1e84def6
Made glfwGetVideoMode consistent with getters.
ago%!(EXTRA string=12 years)
Camilla Berglund
5d308db654
New gamma ramp API.
ago%!(EXTRA string=12 years)
Camilla Berglund
2d1b835711
Added a conservative set of key modifiers.
ago%!(EXTRA string=12 years)
Camilla Berglund
7f2eb7b15b
New joystick API.
ago%!(EXTRA string=12 years)
Camilla Berglund
d82f068f7e
Reintroduced manual framebuffer config selection.
...
The default behavior of WGL, EGL and GLX is to choose a config that has
/at least/ the specified number of bits, whereas the GLFW 2 behavior was
to choose the closest match with very few hard constraints. Moving the
responsibility of finding the supported minimum values to the client was
problematic, as there's no way to enumerate supported configurations,
forcing the client to perform multiple (and slow) window/context
creation attempts. Not even the currently set defaults (24-bit color
and depth, 8-bit stencil) is universally supported, as bug reports show.
ago%!(EXTRA string=12 years)
Camilla Berglund
0046b210e2
Merged hints into library struct.
ago%!(EXTRA string=12 years)
Camilla Berglund
7405bc48cd
Added proper monitor comparison.
ago%!(EXTRA string=12 years)
Camilla Berglund
57751a5494
Added initial NSScreen integration.
...
This (tentatively) fixes the bug of full screen windows on OS X always
opening on the primary monitor.
ago%!(EXTRA string=12 years)
Camilla Berglund
f06a700307
Renamed support directory to deps.
ago%!(EXTRA string=12 years)
Camilla Berglund
008376d450
Restore cursor position on capture mode exit.
ago%!(EXTRA string=12 years)
Camilla Berglund
49db3b2a9e
Formatting.
ago%!(EXTRA string=12 years)
NathanSweet
8e2e7b37a1
Undecorated window support on win/mac/linux.
ago%!(EXTRA string=12 years)
Camilla Berglund
129e94da2e
Changed cursor pos to double.
ago%!(EXTRA string=12 years)
Camilla Berglund
71d2b574f8
Converted docs to hybrid Markdown.
ago%!(EXTRA string=12 years)
Camilla Berglund
d0e4c874c3
Moved sticky state.
ago%!(EXTRA string=12 years)
Camilla Berglund
182e0afe25
Made character unsigned.
ago%!(EXTRA string=12 years)
Camilla Berglund
7b3783abe2
Made glfwGetMonitorPos immediate.
ago%!(EXTRA string=12 years)
Camilla Berglund
a591cdeba6
Removed platform-specific resources from monitor.
ago%!(EXTRA string=12 years)
Camilla Berglund
719b60dd2b
Added macros for library initialization check.
ago%!(EXTRA string=12 years)
Camilla Berglund
1961cecb7c
Made glfwGetPrimaryMonitor always return a handle.
...
Replaced the primary flag with the convention of putting the primary
monitor first in the returned array.
ago%!(EXTRA string=12 years)
Camilla Berglund
253e0d6b23
Added GLFW_REPEAT.
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
7c1932381b
Reintroduced glfwGetWindowPos, glfwSetWindowPos.
ago%!(EXTRA string=12 years)
Camilla Berglund
a910f53be2
Made glfwGetGammaRamp act directly.
ago%!(EXTRA string=13 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=13 years)
Camilla Berglund
c17a7dd464
Made glfwGetWindowSize immediate.
...
Conflicts:
src/internal.h
ago%!(EXTRA string=13 years)
Camilla Berglund
38aef53b0c
Shortened window struct member.
ago%!(EXTRA string=13 years)
Camilla Berglund
52a79c6f3b
Added error for no selected client library.
ago%!(EXTRA string=13 years)
Camilla Berglund
355af57b91
Renamed internal macro to match conventions.
ago%!(EXTRA string=13 years)
Camilla Berglund
f479b1920f
Formatting of internal.h.
ago%!(EXTRA string=13 years)
Camilla Berglund
e51e049ad5
Added error for no selected client library.
ago%!(EXTRA string=13 years)
Camilla Berglund
8d60214fac
Put window callbacks in a substruct.
ago%!(EXTRA string=13 years)