Camilla Berglund
b30def90e4
...and the other half of making it const.
2012-12-02 21:18:01 +01:00
Camilla Berglund
7c426d1c92
Merge branch 'master' into multi-monitor
...
Conflicts:
examples/wave.c
src/init.c
src/internal.h
src/window.c
tests/accuracy.c
tests/events.c
tests/reopen.c
2012-11-01 00:07:01 +01:00
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.
2012-10-29 13:36:01 +01:00
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.
2012-10-22 03:20:16 +02:00
Camilla Berglund
2108360671
Removed 'screen' from monitor nomenclature.
2012-10-22 02:39:22 +02:00
Camilla Berglund
dd941f5ae8
Added output of DPI.
2012-10-18 23:09:28 +02:00
Camilla Berglund
da31167193
Renamed glfwGetMonitorString to glfwGetMonitorName.
2012-10-18 23:01:41 +02:00
Camilla Berglund
1be1636326
Begun integrating monitor and window.
2012-09-27 21:38:35 +02:00
Camilla Berglund
6a5ebbc870
Merge branch 'master' into multi-monitor
2012-09-23 14:44:56 +02:00
Camilla Berglund
89018331f7
Fixed invalid uses of glfwDestroyWindow.
2012-09-13 17:29:07 +02:00
Camilla Berglund
d21e79642b
Added output of monitor position.
2012-09-13 16:47:59 +02:00
Camilla Berglund
4bcb1b38f9
Merge branch 'multi-monitor' of github.com:elmindreda/glfw into multi-monitor
2012-09-12 21:14:15 +02:00
Camilla Berglund
830f2b439c
Cleanup.
2012-09-12 20:41:14 +02:00
Camilla Berglund
2b9f54d650
Improved output of modes test.
2012-08-30 02:12:02 +02:00
Camilla Berglund
89b42d084d
Replaced glfwGetDesktopMode with glfwGetVideoMode.
2012-08-30 01:54:01 +02:00
Camilla Berglund
39c171a61d
Merge branch 'master' into multi-monitor
...
Conflicts:
tests/modes.c
2012-08-14 14:02:37 +02:00
Lambert Clara
c2729181a2
Fix various warnings reported by gcc
...
Shadowed variables, const warnings
2012-08-12 14:02:38 +02:00
Lambert Clara
704e56fc81
Fix compilation with MSVC by using sprintf instead of snprintf
...
snprintf is part of c99 standard, not supported by MS compilers
2012-08-12 12:29:55 +02:00
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.
2012-08-10 15:29:45 +02:00
Camilla Berglund
ddcf5d471e
Removed mirroring of default framebuffer attribs.
2012-08-10 13:28:58 +02:00
Camilla Berglund
585a840329
Added window parameter to glfwSwapBuffers.
2012-08-06 18:13:37 +02:00
Camilla Berglund
aff30d0baa
Renamed window creation/destruction functions.
...
Renamed glfwOpenWindow to glfwCreateWindow.
Renamed glfwCloseWindow to glfwDestroyWindow.
Renamed glfwOpenWindowHint to glfwWindowHint.
2012-08-06 17:59:34 +02:00
Camilla Berglund
854e634fec
Merge branch 'master' into multi-monitor
...
Conflicts:
include/GL/glfw3.h
src/CMakeLists.txt
src/fullscreen.c
src/internal.h
src/win32_fullscreen.c
src/win32_platform.h
src/x11_fullscreen.c
tests/modes.c
2012-08-03 02:57:33 +02:00
Camilla Berglund
88fd170e64
Fixed type errors in modes test.
2012-08-02 18:22:11 +02:00
Camilla Berglund
871e1a70d7
Made video mode retrieval dynamic.
2012-08-02 18:03:43 +02:00
Camilla Berglund
bd630c4e83
Added missing newline.
2012-07-11 00:33:32 +02:00
Camilla Berglund
247ee76b5c
Added monitor physical dimensions to output.
2012-07-06 14:08:01 +02:00
Camilla Berglund
c06f838d88
Merge branch 'master' into multi-monitor
...
Conflicts:
.gitignore
examples/CMakeLists.txt
include/GL/glfw3.h
src/CMakeLists.txt
src/internal.h
src/win32_platform.h
src/win32_window.c
src/x11_fullscreen.c
src/x11_platform.h
tests/listmodes.c
2012-07-05 16:15:01 +02:00
Camilla Berglund
6059523b6d
Simplified mode printing.
2012-05-07 01:30:55 +02:00
Camilla Berglund
5527e52f58
Added hilighting of desktop mode.
2012-05-07 01:13:07 +02:00
Camilla Berglund
d109d8a6d2
Restructured modes test for better encapsulation.
2012-05-07 01:12:08 +02:00
Camilla Berglund
eeed6394c0
Added abort via escape key.
2012-05-07 00:44:39 +02:00
Camilla Berglund
93c3d52716
Formatting.
2012-05-07 00:33:21 +02:00
Camilla Berglund
dd1a46af43
Added header to more closely match output of older test.
2012-05-07 00:32:03 +02:00
Camilla Berglund
3d5a574e3b
Made listing the default for modes test.
2012-05-07 00:29:36 +02:00
Lambert Clara
7a5c2d5f75
Fix clang warning : self-comparison always evaluates to false
2012-04-21 11:47:58 +02:00
Camilla Berglund
08942fcabe
Removed call to non-portable function.
2012-03-22 23:28:43 +01:00
Camilla Berglund
18efa516a2
Added modes test.
2012-03-08 01:01:42 +01:00