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)
Camilla Berglund
a2ca095b86
Renamed GLFW_WINDOW_RESIZABLE to GLFW_RESIZABLE.
...
This matches GLFW_ACTIVE and GLFW_ICONIFIED.
ago%!(EXTRA string=13 years)
Riku Salminen
596132c3a1
Add glfwShowWindow, glfwHideWindow
...
Add glfwShowWindow and glfwHideWindow functions to allow explicit
control over show/hide window.
Remove platform specific show window code from _glfwPlatformCreateWindow
but call glfwShowWindow from glfwCreateWindow to avoid breaking things
(for now).
ago%!(EXTRA string=13 years)
Torsten Walluhn
3f39c5ae42
Fixed compiling issues on mac os x with llvm-gcc 4.2
ago%!(EXTRA string=13 years)
Camilla Berglund
6399fb19fd
Included malloc.h from files using malloc on Win32.
ago%!(EXTRA string=13 years)
Camilla Berglund
cb447bee81
Cleanup of window resizable flag setting.
ago%!(EXTRA string=13 years)
Camilla Berglund
9e4bc36dd8
Initial TLS implementation (Cocoa broken).
ago%!(EXTRA string=13 years)
Camilla Berglund
2f095cc9e3
Removed implicit glfwMakeCurrentContext.
...
Implicitly making the context current makes sense in a
single-window API but less sense in a multi-window one.
ago%!(EXTRA string=13 years)
Camilla Berglund
2410e2aaf4
Replaced automatic closing with window parameter.
ago%!(EXTRA string=13 years)
Camilla Berglund
ddcf5d471e
Removed mirroring of default framebuffer attribs.
ago%!(EXTRA string=13 years)
Camilla Berglund
8ed66ea4d5
Removed calling of callbacks from setters.
ago%!(EXTRA string=13 years)