Camilla Berglund
3d2722dc4c
Fixed broken call to glfwShowWindow.
2012-08-21 20:32:44 +02:00
Camilla Berglund
a2ca095b86
Renamed GLFW_WINDOW_RESIZABLE to GLFW_RESIZABLE.
...
This matches GLFW_ACTIVE and GLFW_ICONIFIED.
2012-08-21 20:28:36 +02:00
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).
2012-08-21 21:01:57 +03:00
Torsten Walluhn
3f39c5ae42
Fixed compiling issues on mac os x with llvm-gcc 4.2
2012-08-14 23:34:26 +02:00
Camilla Berglund
6399fb19fd
Included malloc.h from files using malloc on Win32.
2012-08-14 13:52:48 +02:00
Camilla Berglund
cb447bee81
Cleanup of window resizable flag setting.
2012-08-12 15:28:12 +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
2410e2aaf4
Replaced automatic closing with window parameter.
2012-08-10 13:31:15 +02:00
Camilla Berglund
ddcf5d471e
Removed mirroring of default framebuffer attribs.
2012-08-10 13:28:58 +02:00
Camilla Berglund
8ed66ea4d5
Removed calling of callbacks from setters.
2012-08-07 12:45:55 +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
2972cdfeb1
Removed glfwIsWindow.
2012-08-03 16:20:52 +02:00
Camilla Berglund
1736132bb2
Fixed window parameter refresh.
2012-08-03 15:21:49 +02:00
Camilla Berglund
59896c327a
Context property fixes.
2012-08-02 14:42:24 +02:00
Camilla Berglund
053737e660
Use OpenGL to get default framebuffer properties.
2012-08-02 01:37:08 +02:00
Camilla Berglund
3a72f33541
Removed GLFW_ACCELERATED window parameter.
2012-08-02 01:13:05 +02:00
Camilla Berglund
f2062e06b7
Removed traces of Captain Obvious.
2012-02-09 16:31:01 +01:00
Camilla Berglund
0c3b1b5a0e
Removed allocator.
2012-02-07 14:58:58 +01:00
Camilla Berglund
ce288a8939
Transformed glfwEnable/Disable/SetCursorMode into glfwGetInputMode/SetInputMode.
2012-02-04 00:51:35 +01:00
Camilla Berglund
a18cd1b14c
Renamed GLFW_WINDOW_NO_RESIZE to GLFW_WINDOW_RESIZABLE.
2011-11-02 16:56:34 +01:00
Camilla Berglund
30c43d60a5
Removed superfluous test.
2011-10-13 14:07:24 +02:00
Camilla Berglund
72ef537425
Added input function for window damage events.
2011-10-09 21:12:13 +02:00
Camilla Berglund
30ab9e2058
Moved input-related functions to input file.
2011-10-09 17:13:58 +02:00
Camilla Berglund
d0840bdea1
Added more input functions to clarify internal API.
2011-10-09 17:10:40 +02:00
Camilla Berglund
65f074d257
Formatting.
2011-10-08 23:57:03 +02:00
Camilla Berglund
1960d1ebb1
Added error setting for more cases of invalid tokens.
2011-10-08 23:41:30 +02:00
Camilla Berglund
b1656d7323
Replaced GLFW_MOUSE_CURSOR enable with glfwSetCursorMode.
2011-09-06 13:55:29 +02:00
Camilla Berglund
e4027f14d0
Rough line-wrapping pass.
2011-07-27 17:48:56 +02:00
Camilla Berglund
c1ab73b979
Renamed context-related functions to more closely match underlying APIs.
2011-07-27 16:01:27 +02:00
Camilla Berglund
d25f9db752
Removed glfwGetGLVersion, added GLFW_OPENGL_REVISION.
2011-05-21 17:16:32 +02:00
Camilla Berglund
f0ef9277ea
C strictness fixes.
2011-04-06 20:38:55 +02:00
Camilla Berglund
849977c7b2
Allow closing of NULL.
2011-03-08 23:14:42 +01:00
Camilla Berglund
d43e0b50d0
Added initial ARB_robustness support.
2011-03-07 20:51:34 +01:00
Camilla Berglund
19be24afb7
Moved more OpenGL logic to opengl.c.
2011-03-07 14:55:11 +01:00
Camilla Berglund
d1d550d1ab
Delayed window struct allocation.
2011-03-07 14:30:23 +01:00
Camilla Berglund
98eb79b7d9
Removed function made superfluous by window struct memset.
2011-03-07 14:24:55 +01:00
Camilla Berglund
17d9b5aa8f
Comment tweak.
2011-03-07 14:16:39 +01:00
Camilla Berglund
0f481cb09d
Renamed window hint reset function for clarity.
2011-03-07 14:16:31 +01:00
Camilla Berglund
ccbb956341
Added pluggable memory allocator and threading stub.
2011-03-07 14:09:13 +01:00
Camilla Berglund
596f56fe7b
Moved OpenGL related function to opengl.c, minor formatting.
2011-03-07 13:56:28 +01:00
Camilla Berglund
0d50ee749f
Added profile enum verification.
2011-03-06 13:28:10 +01:00
Camilla Berglund
6d7d11643a
Clarified comment.
2011-03-06 12:18:22 +01:00
Camilla Berglund
6e553c7376
Purged references to GLFW as a framework.
2011-03-06 01:46:39 +01:00
Camilla Berglund
f511fa0228
Comment updates.
2011-03-04 17:58:43 +01:00
Camilla Berglund
57eabfd17f
Added more strictness to GL version check.
2011-03-04 17:51:12 +01:00
Camilla Berglund
5d2edb2dff
Comment updates.
2011-03-04 17:49:36 +01:00
Camilla Berglund
7515ee0ef5
Moved OpenGL context config verification into separate function.
2011-03-04 15:00:19 +01:00
Camilla Berglund
9d6660a9ea
Made file-local functions static.
2011-03-04 14:52:12 +01:00
Camilla Berglund
aae8999ecf
Moved OpenGL-related functions into *opengl files.
2011-03-04 14:25:12 +01:00