Camilla Berglund
5d308db654
New gamma ramp API.
ago%!(EXTRA string=12 years)
Camilla Berglund
e20e8f9954
Comment fixes.
ago%!(EXTRA string=12 years)
Camilla Berglund
1eac29d168
Ensured that count out parameter is always set.
ago%!(EXTRA string=12 years)
Camilla Berglund
72277846bd
Removed stale comment.
ago%!(EXTRA string=12 years)
Camilla Berglund
7405bc48cd
Added proper monitor comparison.
ago%!(EXTRA string=12 years)
Camilla Berglund
11a27de3d3
Added return by setters of previous callback.
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
1fe21b22a3
Assume that malloc works.
ago%!(EXTRA string=12 years)
Camilla Berglund
e3182a4f44
Formatting.
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
d97dddc8c4
Simplified function comment headers.
ago%!(EXTRA string=12 years)
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
cb02a693b4
Moved function into correct category.
ago%!(EXTRA string=12 years)
Camilla Berglund
ac5fee4d20
Re-used POSITION_* tokens for monitor position.
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
75705ba2c5
Removed checks for clearly invalid NULL pointers.
ago%!(EXTRA string=13 years)
Camilla Berglund
f0f4af4287
Fixed warnings on VC++.
ago%!(EXTRA string=13 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
46c1e4028f
Begun integrating mode setting and monitor API.
ago%!(EXTRA string=13 years)
Camilla Berglund
1bc91bfe5b
Formatting.
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
fc5235cd2e
Added todo.
ago%!(EXTRA string=13 years)
Camilla Berglund
cf42282cfb
Added generic video mode selection.
ago%!(EXTRA string=13 years)
Camilla Berglund
45df65eb91
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
b66e1de97c
Added saving of monitor mode count.
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
2108360671
Removed 'screen' from monitor nomenclature.
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
20a49a7eee
Improved handling of primary monitor.
ago%!(EXTRA string=13 years)
Camilla Berglund
633839502c
Fixed various VC++ warnings.
ago%!(EXTRA string=13 years)
Camilla Berglund
b4493dd3bc
Removed paranoid error check.
ago%!(EXTRA string=13 years)
Camilla Berglund
55419bda67
Merged fullscreen and monitor modules.
ago%!(EXTRA string=13 years)
Camilla Berglund
830f2b439c
Cleanup.
ago%!(EXTRA string=13 years)
Camilla Berglund
cd6d957eca
Moved internal API code to proper location.
ago%!(EXTRA string=13 years)
Camilla Berglund
17cac4bfa0
Formatting.
ago%!(EXTRA string=13 years)
Camilla Berglund
2b0f8c2f1e
Removed 'device' from monitor callback.
ago%!(EXTRA string=13 years)
Camilla Berglund
73622a2f3c
Formatting.
ago%!(EXTRA string=13 years)
Marcel Metz
df64773a44
Moved monitor callback to shared implementation.
ago%!(EXTRA string=14 years)
Marcel Metz
f228d23024
Moved platform specific monitor list creation part to separate functions.
ago%!(EXTRA string=14 years)
Marcel Metz
6f970f5753
Made monitor list cleanup shared.
ago%!(EXTRA string=14 years)
Marcel Metz
784f60365e
Stub implementation of monitor callback.
ago%!(EXTRA string=14 years)
Camilla Berglund
9738728298
Reshuffling, formatting and shortening.
ago%!(EXTRA string=14 years)
Marcel Metz
29a4eca87d
Renamed monitor related files.
ago%!(EXTRA string=14 years)
Marcel Metz
426df42d00
Replaced display with monitor in monitor related api.
ago%!(EXTRA string=14 years)