Commit Graph

364 Commits

Author SHA1 Message Date
Camilla Berglund cd93df4fe0 Made events test monitor callback static. 2014-07-07 23:23:46 +02:00
Camilla Berglund 46a56ea742 Clarified charmods in events test. 2014-06-24 13:04:50 +02:00
Camilla Berglund 96b12ee504 Added character with modifiers callback.
The undefined behaviour changed with #40 has been reverted, making the
character-only callback again behave like a system text field.  This
behavior has now been documentated.

Fixes #203.
Fixes #305.
2014-06-24 10:50:05 +02:00
Camilla Berglund 35fd08f594 Made windows test show all windows at once. 2014-06-18 16:39:41 +02:00
Camilla Berglund 11587f1dde Added position testing to windows test. 2014-06-18 16:39:40 +02:00
Camilla Berglund 281013002d Added GLFW_DONT_CARE.
This changes the behavior of framebuffer hints set to zero.  Before,
zero meant that any value was acceptable.  This changes zero to be an
explicit preference and adds GLFW_DONT_CARE to mean that any value is
equally acceptable.

Fixes #70.
2014-06-18 16:36:22 +02:00
Camilla Berglund cb9d194f86 Removed uses of GLU in tests. 2014-06-10 15:04:32 +02:00
Rok Breulj 093029c2f5 Start reopen test in fullscreen. 2014-06-10 03:39:40 +02:00
Camilla Berglund 60eeaeee69 4. 2014-04-24 07:57:33 +02:00
Camilla Berglund df1c895076 Added window hiding before thrd_join. 2014-04-06 14:41:04 +02:00
Camilla Berglund ebb7145ccc Fixed VC++ warnings. 2014-03-31 22:33:22 +02:00
Camilla Berglund 40f69d7abf Added use of frame size to multi-window test. 2014-03-30 11:30:40 +02:00
Camilla Berglund 5b5717e539 Removed superfluous cast. 2014-03-24 13:31:01 +01:00
Camilla Berglund 7ac3d85126 Formatting. 2014-03-20 11:30:27 +01:00
Camilla Berglund 8fa9cc0de3 Added GLFWimage struct. 2014-03-20 11:30:27 +01:00
Camilla Berglund 608de57358 Cleanup. 2014-03-20 11:30:27 +01:00
urraka 40c04a7565 Added support for custom system cursors.
This adds 3 functions to the GLFW API: glfwCreateCursor,
glfwDestroyCursor and glfwSetCursor.
2014-03-20 11:30:27 +01:00
Camilla Berglund a7f93060dd Killed lab escapee. 2014-03-18 21:40:02 +01:00
Camilla Berglund c84bd6d393 Formatting. 2014-03-11 12:53:00 +01:00
Camilla Berglund d2cc815009 Only set the monitor callback once. 2014-03-10 18:56:33 +01:00
Camilla Berglund 4889b4ceee Added missing detection of invalid flags. 2014-03-10 13:15:50 +01:00
Camilla Berglund d7c42c8132 Added window creation intent printing. 2014-03-10 13:12:03 +01:00
Camilla Berglund 41fd1655bd Added test for posting of empty event. 2014-03-09 20:05:27 +01:00
Camilla Berglund 91e069f979 Desktop mode full screen fixes for tests. 2014-02-13 13:30:15 +01:00
Camilla Berglund 135ee0d93f Added multi-window support to events test. 2014-02-12 00:49:26 +01:00
Camilla Berglund 8f349e84ae Cleaned up drop callback design. 2014-01-21 18:23:25 +01:00
Camilla Berglund ed4c8b27f1 Added drop reporting to events test. 2014-01-21 15:25:50 +01:00
Camilla Berglund c64d2787f8 Revamped cursor mode test. 2014-01-18 23:10:05 +01:00
Camilla Berglund 45368f410a Fixed warnings from Clang static analysis. 2013-11-14 13:42:29 +01:00
Camilla Berglund cc4c7167fd Fixed joysticks test segfault. 2013-11-07 19:29:33 +01:00
Camilla Berglund 785e68bb0d Added flag descriptions to glfwinfo -h. 2013-11-03 13:38:45 +01:00
Camilla Berglund 86e50b1044 Placed glfwinfo version test after getopt. 2013-11-03 13:29:21 +01:00
Camilla Berglund dbdf01d4a0 Added getopt dependency to events text. 2013-10-17 15:35:01 +02:00
Camilla Berglund e85455719d Point made. 2013-10-16 20:33:28 +02:00
Camilla Berglund 2c920fbb8b Clarified character callback parameter. 2013-10-10 19:41:56 +02:00
Camilla Berglund 7dd8770e6f Added full screen option to events test. 2013-10-10 00:17:53 +02:00
Camilla Berglund 10017b27bb Cleanup. 2013-06-17 12:46:51 +02:00
Camilla Berglund 3df0b4478b Fixed VC++ warnings. 2013-06-12 20:37:04 +02:00
Camilla Berglund 11615fcaf2 Added scancode to key callback. 2013-06-05 23:46:09 +02:00
Camilla Berglund 180a4ee640 Fixed constness of joystick data. 2013-06-04 18:20:38 +02:00
Camilla Berglund 3498163da1 Separated window and framebuffer sizes. 2013-06-04 01:51:54 +02:00
Camilla Berglund f5dc6e4007 Added random seed init. 2013-05-30 20:41:39 +02:00
Camilla Berglund 731812cfc1 Added refresh rate to GLFWvidmode. 2013-05-30 15:52:42 +02:00
Camilla Berglund 525b4151f0 Fixed invalid pointer use. 2013-05-29 22:35:58 +02:00
Camilla Berglund ad1f6f0341 Renamed glfwGetWindowParam to glfwGetWindowAttrib.
Parameters are something specified at creation time and are often
immutable, while many of the values returned by glfwGetWindowParam
reflected current state not controlled by any parameter or hint.
2013-05-27 15:30:32 +02:00
Camilla Berglund 1f0122e05c Fixed uses of renamed symbol. 2013-05-23 14:41:43 +02:00
Noel Cower eff85f9500 Added super modifier bit.
Edited during merge.
2013-05-23 14:21:35 +02:00
Camilla Berglund 15ed715f4e Moved public headers to the GLFW directory. 2013-05-22 22:46:34 +02:00
Camilla Berglund ce1e84def6 Made glfwGetVideoMode consistent with getters. 2013-05-22 22:16:43 +02:00
Camilla Berglund 6df692b61e Renamed CURSOR_CAPTURED to CURSOR_DISABLED. 2013-05-22 21:56:14 +02:00