Commit Graph

403 Commits

Author SHA1 Message Date
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 e8e05d462c Documentation work.
Fixes #276.
2014-06-19 11:38:22 +02:00
Camilla Berglund 3ce7bfef07 Added GLFW_FLOATING.
Fixes #23.
2014-06-18 16:39:39 +02:00
Camilla Berglund c9808586b3 Added GLFW_DOUBLEBUFFER. 2014-06-18 16:36:53 +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 25e7ff1196 Added GLFW_AUTO_ICONIFY.
By default, full screen windows that lose focus will be iconified and
the video mode will be restored.  This makes it impossible to create
applications spanning multiple monitors.  The GLFW_AUTO_ICONIFY window
hint will allow users to disable this behavior.

Fixes #143.
2014-06-18 16:33:58 +02:00
Camilla Berglund 20b7ac0518 Formatting. 2014-06-12 22:08:37 +02:00
Camilla Berglund eaff0f73d1 Documentation fix. 2014-04-07 16:28:11 +02:00
Camilla Berglund 8061bb54fe Formatting. 2014-03-30 17:13:41 +02:00
Camilla Berglund eb3f75e03e Added glfwGetWindowFrameSize. 2014-03-30 10:57:32 +02:00
Camilla Berglund 5c8121e7a8 Clarified language for file drop callback. 2014-03-29 21:35:21 +01:00
Camilla Berglund 0e20577af4 Confined remaining functions to main thread. 2014-03-24 12:17:13 +01:00
Camilla Berglund a9c7377e0a Clarified thread safety statement. 2014-03-24 11:40:44 +01:00
Camilla Berglund 8fa9cc0de3 Added GLFWimage struct. 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 7ebd10a868 Added GLFW_INCLUDE_ES31.
Fixes #255.
2014-03-19 23:02:47 +01:00
Camilla Berglund 1ccc23268c Added glfwPostEmptyEvent. 2014-03-09 17:55:55 +01:00
David Avedissian 128e678815 Fixed missing include in glfw3native.h for Cocoa.
Fixes #240.
2014-02-13 13:30:15 +01:00
Camilla Berglund 611006af18 Updated API version in comment headers. 2014-01-22 01:32:00 +01:00
Camilla Berglund d73e15d08f Added mention of encoding to GLFWdropfun. 2014-01-21 20:59:54 +01:00
Camilla Berglund 8f349e84ae Cleaned up drop callback design. 2014-01-21 18:23:25 +01:00
arturo 89d0723ba3 Initial drag and drop support. 2014-01-21 15:25:49 +01:00
Camilla Berglund 75f916db44 Formatting. 2014-01-13 23:27:11 +01:00
Camilla Berglund 16eb97dbc3 Added native monitor handle access to native API. 2014-01-13 23:05:01 +01:00
Camilla Berglund 7e806a8567 Started 3.1. 2014-01-01 15:29:57 +01:00
Camilla Berglund a18b187494 Expanded cursor mode descriptions. 2013-12-05 03:27:12 +01:00
Camilla Berglund 2ae46fa90a Added notes on window refresh. 2013-12-04 19:14:33 +01:00
Camilla Berglund 2db0401a57 Removed excuse. 2013-11-20 15:08:53 +01:00
Camilla Berglund f18aef4aec Removed fixed @bug. 2013-11-03 14:17:03 +01:00
Camilla Berglund b9fb45f408 Documentation updates. 2013-10-27 11:03:47 +01:00
Camilla Berglund 2c920fbb8b Clarified character callback parameter. 2013-10-10 19:41:56 +02:00
Camilla Berglund 6d9d85670f Clarified unit of cursor positions. 2013-09-28 22:12:50 +02:00
Camilla Berglund 521fa7d005 Added crossrefs for window and fb size. 2013-09-26 20:02:19 +02:00
Camilla Berglund 07db5daa61 Added note on GDI software OpenGL. 2013-09-26 19:15:45 +02:00
Camilla Berglund 59422ec980 Started 3.0.4. 2013-09-24 21:36:11 +02:00
Camilla Berglund fd3813f0d9 Updated notes referring to Mac OS X. 2013-09-24 21:34:46 +02:00
Camilla Berglund 3af1c411ca Added notes on swap interval defaults. 2013-09-19 21:37:01 +02:00
Camilla Berglund bb5581690d Documentation fixes for glfwSetCursorPos. 2013-09-09 23:31:59 +02:00
Camilla Berglund c93b120252 Disabled stddef.h for GLFW_INCLUDE_NONE, cleanup. 2013-09-08 16:07:34 +02:00
Systemcluster d0a0e37b2b Declared unnamed typedef structs as their types
Without defining them as structs it was impossible to forward declare `GLFWgammaramp` and `GLFWvidmode`.
2013-08-29 06:15:55 +02:00
Camilla Berglund 8c1588b14e Started 3.0.3. 2013-08-26 16:22:06 +02:00
Camilla Berglund 3cfc400cf9 Simplified source file comment headers. 2013-07-30 14:46:52 +02:00
Camilla Berglund bd2d571c31 Added explanation for #error. 2013-07-23 13:44:39 +02:00
Camilla Berglund bea59f64b2 Enabled inclusion of stddef.h on all platforms.
The OS X gl.h defines section macros that prevents glext.h from
including stddef.h, leaving it undeclared when it's later used.
2013-07-23 00:20:23 +02:00
Camilla Berglund 6632cc7c1d Tagged close flag for use from secondary threads. 2013-07-11 02:00:48 +02:00
Camilla Berglund 4b7ae4918b Documentation work. 2013-07-07 12:59:30 +02:00
Bruce Mitchener 5f37d36d4a Fix typo. 2013-06-27 17:28:31 +07:00
Camilla Berglund f5f55e3ff8 Documentation work. 2013-06-17 14:15:35 +02:00
Camilla Berglund 1de60a4ff7 Started 3.0.2. 2013-06-17 12:46:44 +02:00
Camilla Berglund e93bade240 Fixed docs for glfwGetJoystickButtons. 2013-06-16 02:33:33 +02:00
Camilla Berglund f1c88b41f2 Fixed bad reference in documentation. 2013-06-14 12:12:16 +02:00
Camilla Berglund dbef5ea46b Grammar fix. 2013-06-13 12:06:51 +02:00
Camilla Berglund c38f33adda Started 3.0.1. 2013-06-13 12:05:23 +02:00
Camilla Berglund c347b07b20 Updated bug tag. 2013-06-12 20:58:13 +02:00
Camilla Berglund e6bfbba429 Clarified sticky keys docs. 2013-06-12 16:06:21 +02:00
mewmew cf2d260b2a Update parameter names in documentation of scroll callback. 2013-06-06 19:49:23 +02:00
Camilla Berglund 11615fcaf2 Added scancode to key callback. 2013-06-05 23:46:09 +02:00
Camilla Berglund 5fd409b679 Documentation work. 2013-06-05 19:42:59 +02:00
Camilla Berglund 44e8401f7b Clarified default profile token name. 2013-06-05 16:15:20 +02:00
Camilla Berglund c3bb5c9e7b Documented not freeing returned values. 2013-06-05 16:04:04 +02:00
Camilla Berglund 128e5b4a73 Removed deprecated key aliases. 2013-06-05 15:39:19 +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 2cd34386bc Added back refresh rate window hint. 2013-05-30 20:42:59 +02:00
Camilla Berglund 53b39a61b9 Token value cleanup. 2013-05-30 18:55:45 +02:00
Camilla Berglund 731812cfc1 Added refresh rate to GLFWvidmode. 2013-05-30 15:52:42 +02:00
Camilla Berglund 95835af0ac Quartz lies. 2013-05-30 13:53:25 +02:00
Camilla Berglund e991a0e7cc Removed tags for fixed bugs. 2013-05-29 22:09:27 +02:00
Camilla Berglund c159411944 Added struct member descriptions. 2013-05-27 22:29:06 +02:00
Camilla Berglund 393e439ac3 Token value cleanup. 2013-05-27 22:16:59 +02:00
Camilla Berglund 1f5f20eeef Documentation work. 2013-05-27 17:10:34 +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 fdd4518ae5 Fixed documentation for glfwJoystickPresent. 2013-05-27 15:13:09 +02:00
Camilla Berglund 98cbf6fda1 Added documentation for modifier bits. 2013-05-23 14:53:33 +02:00
Noel Cower eff85f9500 Added super modifier bit.
Edited during merge.
2013-05-23 14:21:35 +02:00
Camilla Berglund 3bcffba24a Renamed control modifier bit to match key token. 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 5d308db654 New gamma ramp API. 2013-05-22 21:56:14 +02:00
Camilla Berglund 6df692b61e Renamed CURSOR_CAPTURED to CURSOR_DISABLED. 2013-05-22 21:56:14 +02:00
Camilla Berglund 9264b5da0e Removed double mode for cursor mode. 2013-05-22 21:56:14 +02:00
Camilla Berglund 2d1b835711 Added a conservative set of key modifiers. 2013-05-22 21:56:14 +02:00
Camilla Berglund 7f2eb7b15b New joystick API. 2013-05-22 21:56:14 +02:00
Camilla Berglund c00d057eda Documented that out parameters always get set. 2013-05-15 15:01:42 +02:00
John Bartholomew 93f4effd2b Do not export internal symbols from a unix shared library. 2013-05-01 13:08:09 +01:00
Camilla Berglund 3ec2925da4 Added note on coordinate truncation. 2013-04-25 18:03:15 +02:00
Camilla Berglund 9bc6b7f550 Removed addressed bug. 2013-04-24 22:34:09 +02:00
Camilla Berglund 4538a525f0 Added notes on synthetic release events. 2013-04-24 19:51:48 +02:00
Camilla Berglund 11a27de3d3 Added return by setters of previous callback. 2013-04-18 18:20:25 +02:00
Camilla Berglund 57751a5494 Added initial NSScreen integration.
This (tentatively) fixes the bug of full screen windows on OS X always
opening on the primary monitor.
2013-04-17 23:11:04 +02:00
Camilla Berglund 948cc0488d Documentation work. 2013-04-16 19:58:48 +02:00
Camilla Berglund 608109c249 Documentation work. 2013-04-14 15:41:34 +02:00
Camilla Berglund 2e8446fe74 Fixed member order in GLFWvidmode. 2013-04-11 01:31:00 +02:00
Camilla Berglund fa0cbd9a44 Documentation work. 2013-04-11 01:07:07 +02:00
Camilla Berglund 159f9b9526 Changed default cursor mode for fullscreen. 2013-04-11 01:04:13 +02:00
Camilla Berglund 8282a8fbe0 Documentation work. 2013-04-10 23:01:12 +02:00
Camilla Berglund 7b5b33ee3b Documented GLFW_DECORATED. 2013-04-08 15:28:38 +02:00
Camilla Berglund 49db3b2a9e Formatting. 2013-04-08 15:24:24 +02:00
NathanSweet 8e2e7b37a1 Undecorated window support on win/mac/linux. 2013-04-08 15:24:24 +02:00
Camilla Berglund e248fb6056 Documentation work. 2013-04-08 03:26:54 +02:00