Commit Graph

71 Commits

Author SHA1 Message Date
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
9a183090e0 Merge branch 'master' into showwindow
Conflicts:
	src/window.c
2012-09-06 15:11:50 +02:00
Camilla Berglund
74f5cd6fa7 Removed unused example files. 2012-08-29 16:12: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
Lambert Clara
c2729181a2 Fix various warnings reported by gcc
Shadowed variables, const warnings
2012-08-12 14:02:38 +02:00
Camilla Berglund
5bbac6fe69 Moved Free Getopt files to support directory. 2012-08-12 12:44:23 +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
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
6b46225e33 Declared all window close callbacks as static. 2012-08-03 19:53:42 +02:00
Camilla Berglund
2972cdfeb1 Removed glfwIsWindow. 2012-08-03 16:20:52 +02:00
Camilla Berglund
cef9dea1d2 Unified nomenclature for cursor positions. 2012-06-22 13:57:25 +02:00
Camilla Berglund
9871b5dc79 Removed deprecated macro. 2012-06-11 14:14:00 +02:00
Camilla Berglund
0c49e9ec87 Fixed function pointer casting. 2012-06-11 14:13:05 +02:00
Camilla Berglund
2213450840 Renamed GLFW_NO_GLU to GLFW_INCLUDE_GLU. 2012-06-05 23:55:10 +02:00
Camilla Berglund
141b56afc0 Added libm as direct dependency for tests and examples. 2012-04-19 16:57:44 +02:00
Camilla Berglund
4ef9aec7e0 Made scrolling deltas floating point. 2012-03-28 21:54:09 +02:00
Camilla Berglund
1eb24ff261 Executable dependency list fixes. 2012-03-25 17:07:43 +02:00
Camilla Berglund
23776f67e3 Formatting. 2012-03-25 13:58:07 +02:00
Camilla Berglund
7b46a184cb Added standard option to switch between static and dynamic library, dropped dynamic test. 2012-03-25 13:55:39 +02:00
Camilla Berglund
c286c716cd Formatting. 2012-03-05 23:41:05 +01:00
Camilla Berglund
adf4899f4c Added name and version to test and example bundles. 2012-03-05 22:37:48 +01:00
Camilla Berglund
cd7b9b1568 CMake file formatting. 2012-02-29 20:15:39 +01:00
Camilla Berglund
0c3b1b5a0e Removed allocator. 2012-02-07 14:58:58 +01:00
Camilla Berglund
b997db3a8b Removed GLFWthreadmodel and glfwInitWithModels. 2012-02-04 01:38:00 +01:00
Camilla Berglund
ce288a8939 Transformed glfwEnable/Disable/SetCursorMode into glfwGetInputMode/SetInputMode. 2012-02-04 00:51:35 +01:00
Camilla Berglund
85982b2985 Removed Cygwin cross-compilation hacks. 2011-11-03 00:13:49 +01:00
Camilla Berglund
a18cd1b14c Renamed GLFW_WINDOW_NO_RESIZE to GLFW_WINDOW_RESIZABLE. 2011-11-02 16:56:34 +01:00
Camilla Berglund
81cfc1001d Moved glext headers to separate directory for clarity. 2011-09-06 14:33:25 +02:00
Camilla Berglund
b1656d7323 Replaced GLFW_MOUSE_CURSOR enable with glfwSetCursorMode. 2011-09-06 13:55:29 +02:00
Camilla Berglund
4afc67c1df Various Windows and VC++ 2010 fixes. 2011-07-27 17:09:17 +02:00
marcus256
8943a78a65 Merge branch 'marcus-rawkeys'. Changed handling of raw key codes. 2011-01-15 00:59:55 +01:00
Marcus
e3cb563a28 Fixed key names in the example and test programs. 2011-01-03 22:22:14 +01:00
Camilla Berglund
065c77190d Added scroll navigation. 2010-11-17 23:33:46 +01:00
Camilla Berglund
3350cc73aa Added mouse navigation. 2010-11-17 23:29:28 +01:00
Camilla Berglund
4044c2da66 Made callbacks library global. 2010-10-24 18:28:55 +02:00
Camilla Berglund
1231bf031b Formatting. 2010-10-24 15:50:39 +02:00
Camilla Berglund
868176721c Formatting. 2010-10-24 15:42:07 +02:00
Camilla Berglund
64abfb5ece Formatting. 2010-10-24 15:40:57 +02:00
Camilla Berglund
cb35f0ceda Added change notice. 2010-10-24 15:38:59 +02:00
Camilla Berglund
b9f318f053 Formatting. 2010-10-24 15:37:51 +02:00
Camilla Berglund
9c27d52b2e Formatting. 2010-10-24 15:04:17 +02:00
Camilla Berglund
7968b710c3 Formatting. 2010-10-24 15:03:29 +02:00
Camilla Berglund
dfe67935cf Formatting. 2010-10-24 15:02:59 +02:00
Camilla Berglund
8f78d5df3a Removed legacy example. 2010-10-24 14:58:29 +02:00
Camilla Berglund
cba8d35c65 Formatting. 2010-10-24 14:56:35 +02:00
Camilla Berglund
104dfaa3ac Build file fixes and formatting. 2010-10-04 21:21:50 +02:00