Camilla Berglund
1ccc23268c
Added glfwPostEmptyEvent.
ago%!(EXTRA string=11 years)
Camilla Berglund
76eefcc08a
Moved some VC++ specific hacks to platform header.
ago%!(EXTRA string=11 years)
Camilla Berglund
6d8e78cc95
Further separation of window and context.
...
The context related parts of _GLFWwndconfig have been moved to
_GLFWctxconfig and given better names. Window hint and attribute
members have been renamed to match.
ago%!(EXTRA string=11 years)
Camilla Berglund
ae8393c06e
Fixed refresh of debug context attribute.
ago%!(EXTRA string=11 years)
Camilla Berglund
611006af18
Updated API version in comment headers.
ago%!(EXTRA string=11 years)
Camilla Berglund
95c7029e19
Formatting.
ago%!(EXTRA string=12 years)
Camilla Berglund
7ef7beb9fb
Formatting.
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
9d0e102135
Fixed glfwCreateWindow return value semantics.
ago%!(EXTRA string=12 years)
Camilla Berglund
7a03ca8dbc
Removed superflous casts of allocated memory.
ago%!(EXTRA string=12 years)
Camilla Berglund
c10bf9ba9c
Fixed incorrect hint default.
...
The default for the GLFW_ALPHA_BITS hint was zero instead of 8.
ago%!(EXTRA string=12 years)
Camilla Berglund
ccb810bed9
It's not an error.
ago%!(EXTRA string=12 years)
Camilla Berglund
11615fcaf2
Added scancode to key callback.
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
2d1b835711
Added a conservative set of key modifiers.
ago%!(EXTRA string=12 years)
Camilla Berglund
11a27de3d3
Added return by setters of previous callback.
ago%!(EXTRA string=12 years)
Camilla Berglund
1fe21b22a3
Assume that malloc works.
ago%!(EXTRA string=12 years)
Camilla Berglund
648c8e7371
Put synthetic key releases after defocus event.
...
This allows the application to separate actual from synthetic key
release events.
ago%!(EXTRA string=12 years)
Camilla Berglund
159f9b9526
Changed default cursor mode for fullscreen.
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
64afb193e8
Removed return value of close callback.
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
719b60dd2b
Added macros for library initialization check.
ago%!(EXTRA string=12 years)
Camilla Berglund
d97dddc8c4
Simplified function comment headers.
ago%!(EXTRA string=12 years)
Camilla Berglund
7c1932381b
Reintroduced glfwGetWindowPos, glfwSetWindowPos.
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
954d6383ee
RandR monitor work.
...
Moved to CRTC plus usable output for native representation of monitors.
Moved to CRTCs for mode setting and simplified mode setting interface.
ago%!(EXTRA string=12 years)
Camilla Berglund
cbb6d1ad7b
Fixed hint overriding for fullscreen windows.
ago%!(EXTRA string=12 years)
Camilla Berglund
3e78570a31
Removed duplicate documentation.
...
The public, platform, native, event and utility functions are already
documented in-source. Having duplicate documentation inevitably means
having them contradict one another. Furthermore, most of the function
descriptions simply repeated the name of the function.
ago%!(EXTRA string=12 years)
Camilla Berglund
38aef53b0c
Shortened window struct member.
ago%!(EXTRA string=12 years)
Camilla Berglund
bc150ac9c8
Forced resizable to true for fullscreen windows.
ago%!(EXTRA string=12 years)
Camilla Berglund
8d60214fac
Put window callbacks in a substruct.
ago%!(EXTRA string=13 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=13 years)
Camilla Berglund
478347004d
Cleanup.
ago%!(EXTRA string=13 years)
Camilla Berglund
46c1e4028f
Begun integrating mode setting and monitor API.
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
1790194828
Renamed _glfwInputError and moved to event API.
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
be7ad339f7
Added clearing of callbacks on window destruction.
ago%!(EXTRA string=13 years)
Camilla Berglund
d11558e7e4
Fixed corruption of robustness strategy hint.
ago%!(EXTRA string=13 years)
Camilla Berglund
9c0e19adca
Made error message tags more consistent.
ago%!(EXTRA string=13 years)
Camilla Berglund
3f5843f500
Renamed tokens used for other client APIs.
ago%!(EXTRA string=13 years)
Camilla Berglund
69a900592e
Added explicit support for sRGB framebuffers.
ago%!(EXTRA string=13 years)
Camilla Berglund
1a3d47d06d
Added window position callback.
ago%!(EXTRA string=13 years)