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=13 years)
Camilla Berglund
38aef53b0c
Shortened window struct member.
ago%!(EXTRA string=13 years)
Camilla Berglund
bc150ac9c8
Forced resizable to true for fullscreen windows.
ago%!(EXTRA string=13 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)
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)
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)
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
467d501621
Cleanup of context clearing during window destruction.
ago%!(EXTRA string=13 years)
Camilla Berglund
26480901fd
Added glfwGetWindowMonitor.
ago%!(EXTRA string=13 years)
Camilla Berglund
21a015778f
Replaced malloc and memset with calloc.
ago%!(EXTRA string=13 years)
Camilla Berglund
5fcfcb2ddc
Updated comment.
ago%!(EXTRA string=13 years)
Camilla Berglund
d00c194f4a
Added 8 bits of stencil to defaults.
ago%!(EXTRA string=13 years)
Camilla Berglund
c764ae81e8
Added missing window parameter return.
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
1be1636326
Begun integrating monitor and window.
ago%!(EXTRA string=13 years)
Camilla Berglund
fe0cc512a2
Added missing cast.
ago%!(EXTRA string=13 years)
Camilla Berglund
c0dcb5a056
Fixed fullscreen regressions.
ago%!(EXTRA string=13 years)
Camilla Berglund
718af531a3
Fixed order of operations.
ago%!(EXTRA string=13 years)
Camilla Berglund
b711b2fc72
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
6ac58da26e
Narrowed criteria for non-standard inclusion.
ago%!(EXTRA string=13 years)
Camilla Berglund
e15e92b583
Fixed function grouping.
ago%!(EXTRA string=13 years)
Camilla Berglund
0e2b12be43
Corrected comment.
ago%!(EXTRA string=13 years)
Camilla Berglund
023b816bcc
Disallowed hiding of fullscreen windows.
ago%!(EXTRA string=13 years)
Camilla Berglund
feef05f839
Removed superfluous inclusion.
ago%!(EXTRA string=13 years)
Camilla Berglund
54f1a57f8d
Added channel bit depth hint defaults.
ago%!(EXTRA string=13 years)
Camilla Berglund
e10d935efe
API tag and error message cleanup.
ago%!(EXTRA string=13 years)
Camilla Berglund
f6a1bbf782
Added GLFW_VISIBLE to glfwWindowParam.
ago%!(EXTRA string=13 years)
Camilla Berglund
8bb5c59d2d
Added GLFW_VISIBLE window hint and parameter.
ago%!(EXTRA string=13 years)
Camilla Berglund
3d2722dc4c
Fixed broken call to glfwShowWindow.
ago%!(EXTRA string=13 years)