GLFW-b 0.1.0.4 → 0.1.0.5
raw patch · 2 files changed
+9/−2 lines, 2 filesPVP: minor bump suggested
API additions: PVP suggests at least a minor version bump
API changes (from Hackage documentation)
+ Graphics.UI.GLFW: disableKeyRepeat :: IO ()
+ Graphics.UI.GLFW: enableKeyRepeat :: IO ()
Files
- GLFW-b.cabal +1/−1
- src/Graphics/UI/GLFW.hsc +8/−1
GLFW-b.cabal view
@@ -1,5 +1,5 @@ name: GLFW-b-version: 0.1.0.4+version: 0.1.0.5 category: Graphics
src/Graphics/UI/GLFW.hsc view
@@ -57,6 +57,8 @@ , pollEvents , waitEvents , enableAutoPoll+ , enableKeyRepeat+ , disableKeyRepeat , disableAutoPoll -- ** Keyboard , keyIsPressed@@ -556,7 +558,6 @@ waitEvents = glfwWaitEvents - -- Make 'swapBuffers' implicitly call 'pollEvents' (Default) enableAutoPoll :: IO () enableAutoPoll = glfwEnable (#const GLFW_AUTO_POLL_EVENTS)@@ -564,6 +565,12 @@ -- Disable 'swapBuffers' implicitly calling 'pollEvents' disableAutoPoll :: IO () disableAutoPoll = glfwDisable (#const GLFW_AUTO_POLL_EVENTS)++enableKeyRepeat :: IO ()+enableKeyRepeat = glfwEnable (#const GLFW_KEY_REPEAT)++disableKeyRepeat :: IO ()+disableKeyRepeat = glfwDisable (#const GLFW_KEY_REPEAT) -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Keyboard