Camilla Berglund
ee5f30ea8f
Replaced glfwGetMonitorParam with glfwGetMonitor*.
...
Having one way to retrieve the cursor position and another (more
verbose) way to retrieve the monitor position is inconsistent. Having
them both work the same way is the least surprising thing.
The expected glfwGetMonitorSize function gets an added Physical in its
name so users won't confuse it with glfwGetVideoMode.
ago%!(EXTRA string=12 years)
Camilla Berglund
ac5fee4d20
Re-used POSITION_* tokens for monitor position.
ago%!(EXTRA string=12 years)
Camilla Berglund
316ee1d77d
Made glfwGetVideoMode return a GLFWvidmode.
ago%!(EXTRA string=13 years)
Camilla Berglund
9af960e2dd
Made the pointer-ness of object handles explicit.
ago%!(EXTRA string=13 years)
Camilla Berglund
3610f0d071
Added primary status to monitor listing.
ago%!(EXTRA string=13 years)
Camilla Berglund
052c587dd5
Shortened monitor-related tokens.
ago%!(EXTRA string=13 years)
Camilla Berglund
b30def90e4
...and the other half of making it const.
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
d68acb78bf
Removed registering glfwTerminate with atexit.
...
Functions registered with atexit are called from the thread calling exit.
glfwTerminate should only be called from the main thread. Mistakes should be
explicit.
ago%!(EXTRA string=13 years)
Camilla Berglund
2108360671
Removed 'screen' from monitor nomenclature.
ago%!(EXTRA string=13 years)
Camilla Berglund
dd941f5ae8
Added output of DPI.
ago%!(EXTRA string=13 years)
Camilla Berglund
da31167193
Renamed glfwGetMonitorString to glfwGetMonitorName.
ago%!(EXTRA string=13 years)
Camilla Berglund
1be1636326
Begun integrating monitor and window.
ago%!(EXTRA string=13 years)
Camilla Berglund
89018331f7
Fixed invalid uses of glfwDestroyWindow.
ago%!(EXTRA string=13 years)
Camilla Berglund
d21e79642b
Added output of monitor position.
ago%!(EXTRA string=13 years)
Camilla Berglund
830f2b439c
Cleanup.
ago%!(EXTRA string=13 years)
Camilla Berglund
2b9f54d650
Improved output of modes test.
ago%!(EXTRA string=13 years)
Camilla Berglund
89b42d084d
Replaced glfwGetDesktopMode with glfwGetVideoMode.
ago%!(EXTRA string=13 years)
Lambert Clara
c2729181a2
Fix various warnings reported by gcc
...
Shadowed variables, const warnings
ago%!(EXTRA string=13 years)
Lambert Clara
704e56fc81
Fix compilation with MSVC by using sprintf instead of snprintf
...
snprintf is part of c99 standard, not supported by MS compilers
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
ddcf5d471e
Removed mirroring of default framebuffer attribs.
ago%!(EXTRA string=13 years)
Camilla Berglund
585a840329
Added window parameter to glfwSwapBuffers.
ago%!(EXTRA string=13 years)
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
ago%!(EXTRA string=13 years)
Camilla Berglund
88fd170e64
Fixed type errors in modes test.
ago%!(EXTRA string=13 years)
Camilla Berglund
871e1a70d7
Made video mode retrieval dynamic.
ago%!(EXTRA string=13 years)
Camilla Berglund
bd630c4e83
Added missing newline.
ago%!(EXTRA string=13 years)
Camilla Berglund
247ee76b5c
Added monitor physical dimensions to output.
ago%!(EXTRA string=13 years)
Camilla Berglund
6059523b6d
Simplified mode printing.
ago%!(EXTRA string=13 years)
Camilla Berglund
5527e52f58
Added hilighting of desktop mode.
ago%!(EXTRA string=13 years)
Camilla Berglund
d109d8a6d2
Restructured modes test for better encapsulation.
ago%!(EXTRA string=13 years)
Camilla Berglund
eeed6394c0
Added abort via escape key.
ago%!(EXTRA string=13 years)
Camilla Berglund
93c3d52716
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
dd1a46af43
Added header to more closely match output of older test.
ago%!(EXTRA string=13 years)
Camilla Berglund
3d5a574e3b
Made listing the default for modes test.
ago%!(EXTRA string=13 years)
Lambert Clara
7a5c2d5f75
Fix clang warning : self-comparison always evaluates to false
ago%!(EXTRA string=13 years)
Camilla Berglund
08942fcabe
Removed call to non-portable function.
ago%!(EXTRA string=13 years)
Camilla Berglund
18efa516a2
Added modes test.
ago%!(EXTRA string=13 years)