Commit Graph

170 Commits

Author SHA1 Message Date
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
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
3216661da7 Removed ill-advised use of glfwGetCurrentContext. 2012-08-07 21:40:40 +02:00
Camilla Berglund
d4e1f98394 Added output of initial window size. 2012-08-07 13:01:19 +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
13ff3eeca9 Test program swap interval toggling work. 2012-08-03 19:54:07 +02:00
Camilla Berglund
2972cdfeb1 Removed glfwIsWindow. 2012-08-03 16:20:52 +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
c047bd2efe Merge branch 'master' of github.com:elmindreda/glfw 2012-08-02 01:42:26 +02:00
Camilla Berglund
3a72f33541 Removed GLFW_ACCELERATED window parameter. 2012-08-02 01:13:05 +02:00
Camilla Berglund
d1617bdd78 Made flag parsing output even more consistent. 2012-08-01 01:46:06 +02:00
Camilla Berglund
b00064902d Made flag parsing output more consistent. 2012-07-31 23:51:27 +02:00
Camilla Berglund
6c86149bad Improved output of OpenGL bitmasks. 2012-07-31 23:14:31 +02:00
Camilla Berglund
cef9dea1d2 Unified nomenclature for cursor positions. 2012-06-22 13:57:25 +02:00
Camilla Berglund
9cc0abffc5 Rewrote joystick test. 2012-06-06 02:04:15 +02:00
Camilla Berglund
2213450840 Renamed GLFW_NO_GLU to GLFW_INCLUDE_GLU. 2012-06-05 23:55:10 +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
e55b5fc27c Removed listmodes test. 2012-05-07 00:34:40 +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
141b56afc0 Added libm as direct dependency for tests and examples. 2012-04-19 16:57:44 +02:00
Camilla Berglund
351f2b2664 Fixed build setup for clipboard test. 2012-04-13 12:57:04 +02:00
Camilla Berglund
f8a726371e Fixed test description. 2012-04-12 18:42:56 +02:00
Camilla Berglund
9ace27f97b Updated clipboard test. 2012-04-12 17:28:58 +02:00
Camilla Berglund
f868712f02 Simplified clipboard API. 2012-04-12 00:51:58 +02:00
Camilla Berglund
67a3f5dc8f Added error callback. 2012-04-09 17:41:17 +02:00
Camilla Berglund
bf1ada029b Added window parameter to clipboard API. 2012-04-09 16:00:54 +02:00
Camilla Berglund
7044ed6f06 Simplified and made clipboard API more type safe. 2012-04-09 15:54:36 +02:00
Camilla Berglund
2ad5764f06 Formatting. 2012-03-29 13:44:55 +02:00
Camilla Berglund
cca6b52120 Formatting. 2012-03-29 13:31:19 +02:00
Camilla Berglund
e49f1b8801 Fixed broken example. 2012-03-29 13:30:40 +02:00
Camilla Berglund
92d4c02e07 Merge branch 'master' into clipboard
Conflicts:
	src/CMakeLists.txt
2012-03-29 13:29:28 +02:00
Camilla Berglund
4ef9aec7e0 Made scrolling deltas floating point. 2012-03-28 21:54:09 +02:00
Camilla Berglund
a1d5fc039d Added support for right control key. 2012-03-28 15:07:47 +02:00
Camilla Berglund
d022e54934 Merge branch 'master' into clipboard 2012-03-28 14:58:03 +02:00
Camilla Berglund
466246670f Merge branch 'master' into cursor-enter-leave 2012-03-26 13:54:28 +02:00
Camilla Berglund
865aa05ec1 Merge branch 'master' into clipboard
Conflicts:
	src/CMakeLists.txt
	src/libglfw.pc.cmake
2012-03-26 03:04:29 +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