From b042a5596d41f4f8cdb09a111373d2066a0f6f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Sun, 16 Jun 2019 13:19:39 +0200 Subject: [PATCH] Updated GLFW 4.0 sketchbook (markdown) --- GLFW-4.0-sketchbook.md | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/GLFW-4.0-sketchbook.md b/GLFW-4.0-sketchbook.md index ca952ae..97ec32c 100644 --- a/GLFW-4.0-sketchbook.md +++ b/GLFW-4.0-sketchbook.md @@ -1,33 +1,33 @@ **This is not a design document.** -- Rename joystick to controller -- Enumerable controller objects -- Context objects +- Add `APIENTRY` to `GLFWproc` +- Add return value error indication where possible +- Add enumerable controller objects +- Add context objects - Replace character callbacks with text callback -- Put major version number in shared/dynamic library name - Replace `glfwGetWindowAttrib` with accessors for run-time attributes +- Replace empty events with custom events that carry a pointer +- Put major version number in shared/dynamic library name - Possible adaption to positioning-less Wayland - Cleanup of float vs. double - Cleanup of signed vs. unsigned - Change default to compatibility profile - Possibly move to built-in config selection +- Rename joystick to controller - Rename `GLFW_CLIENT_API` to `GLFW_CONTEXT_TYPE` -- Removal of `GLFW_CURSOR_HIDDEN` -- Change macOS prefix to `MACOS` -- Separate video mode from window -- Remove auto-iconification -- Revert to map monitors to CRTCs unless major legacy Oculus clones appear -- Remove window parameter of clipboard functions -- Make `GLFW_DONT_CARE` default for context version hints -- Replace empty events with custom events that carry a pointer -- Unify `GLFW*proc` to `GLFWproc` -- Add `APIENTRY` to `GLFWproc` -- Sane function pointer typedefs -- Move to enums for tokens -- Add return value error indication where possible -- Sort out `SRGB_CAPABLE` vs. `COLORSPACE` -- Make space between last key and `GLFW_KEY_LAST` - Rename `glfwGetVersion` to `glfwGetLibraryVersion` - Rename `GLFW_VERSION_*` to `GLFW_HEADER_VERSION_*` +- Change macOS prefix to `MACOS` +- Separate video mode from window +- Revert to map monitors to CRTCs unless major legacy Oculus clones appear +- Make `GLFW_DONT_CARE` default for context version hints +- Unify `GLFW*proc` to `GLFWproc` +- Sane function pointer typedefs +- Move to enums for tokens +- Sort out `SRGB_CAPABLE` vs. `COLORSPACE` +- Make space between last key and `GLFW_KEY_LAST` - Remove focus behavior from `glfwShowWindow` -- Remove `glfwSetTime` ([rationale](http://discourse.glfw.org/t/poll-rfq-on-glfwsettime/1333)) \ No newline at end of file +- Remove `glfwSetTime` ([rationale](http://discourse.glfw.org/t/poll-rfq-on-glfwsettime/1333)) +- Remove window parameter of clipboard functions +- Remove auto-iconification +- Remove `GLFW_CURSOR_HIDDEN`