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=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
c17a7dd464
Made glfwGetWindowSize immediate.
...
Conflicts:
src/internal.h
ago%!(EXTRA string=12 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)
Camilla Berglund
a8ea120cae
Removed internal fbconfig enum and selection.
ago%!(EXTRA string=13 years)
Camilla Berglund
0517a82467
Added support for GLESv1_CM and GLESv2 client libraries.
ago%!(EXTRA string=13 years)
Camilla Berglund
46c1e4028f
Begun integrating mode setting and monitor API.
ago%!(EXTRA string=13 years)
Camilla Berglund
1bc91bfe5b
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
3817771a40
Started adding documentation for internal APIs.
ago%!(EXTRA string=13 years)
Camilla Berglund
b72a97d531
Renamed global struct and substructs.
...
Renamed _glfwLibrary to _glfw and made all substructs lower-case, making
global variable names easier to read and type. Partially inspired by the
internal naming conventions of glwt.
ago%!(EXTRA string=13 years)
Camilla Berglund
4305c76049
Removed monitor user pointer.
ago%!(EXTRA string=13 years)
Camilla Berglund
1790194828
Renamed _glfwInputError and moved to event API.
ago%!(EXTRA string=13 years)
Camilla Berglund
02598570cb
Removed unused struct member.
ago%!(EXTRA string=13 years)
Camilla Berglund
cf42282cfb
Added generic video mode selection.
ago%!(EXTRA string=13 years)
Camilla Berglund
52dac79219
Ripped out horribly broken refresh rate mess.
ago%!(EXTRA string=13 years)
Camilla Berglund
8db1528c74
Added explicit disabling of platform glext.h.
ago%!(EXTRA string=13 years)
Camilla Berglund
ea1ddfd7a4
Removed declarations of removed functions.
ago%!(EXTRA string=13 years)