Skip to content

Releases: pongasoft/emscripten-glfw

Version 1.0.0

21 Jan 18:57
Compare
Choose a tag to compare
  • First 1.0.0 release
  • Added examples
  • Added documentation
  • Fixed some issues
  • Removed GLFW_EMSCRIPTEN_CANVAS_SELECTOR window hint in favor of a new api emscripten_glfw_set_next_window_canvas_selector
  • Removed GLFW_EMSCRIPTEN_CANVAS_RESIZE_SELECTOR and Module.glfwSetCanvasResizableSelector in favor of a new
    api emscripten_glfw_make_canvas_resizable
  • This new api also offer the ability to deal with the handle automatically
  • Implemented getWindowPosition (canvas position in the browser window)
  • Implemented all timer apis (glfwSetTime, glfwGetTimerValue and glfwGetTimerFrequency)
  • Implemented glfwExtensionSupported
  • Implemented glfwSetWindowTitle (changes the browser window title)

Version 0.5.0 (wip)

12 Jan 16:32
Compare
Choose a tag to compare
  • Added support for resizable canvas (glfwWindowHintString(GLFW_EMSCRIPTEN_CANVAS_RESIZE_SELECTOR, "#canvas2-container")
    from c/c++ code or Module.glfwSetCanvasResizableSelector('#canvas2', '#canvas2-container') from javascript)
  • Added support fo visibility (glfwShowWindow and glfwHideWindow)
  • Added support for GLFW_FOCUS_ON_SHOW window hint/attribute
  • Added support for dynamic Hi DPI Awareness (GLFW_SCALE_TO_MONITOR can be used in glfwSetWindowAttrib)
  • Added support for "sticky" mouse button and keyboard
  • Added support for window size constraints (glfwSetWindowSizeLimits and glfwSetWindowAspectRatio)
  • Added support for providing a callback function in javascript to be notified when a window is created (Module.glfwOnWindowCreated)

Version 0.4.0 (wip)

03 Jan 18:00
Compare
Choose a tag to compare
  • Added support for joystick/gamepad

Version 0.3.0 (wip)

31 Dec 17:17
Compare
Choose a tag to compare
  • Added support for input mode GLFW_CURSOR (handle all use cases: Normal / Hidden / Locked)
  • Added support for glfw defined cursors (implemented glfwCreateStandardCursor and glfwSetCursor)
  • Added support for window opacity (implemented glfwGetWindowOpacity and glfwSetWindowOpacity)

Version 0.2.0 (wip)

28 Dec 19:51
Compare
Choose a tag to compare
  • remembers the last window that had focus so that some events can be sent to it even if no window has
    focus (ex: requesting fullscreen)
  • added support for mouse wheel (glfwSetScrollCallback)
  • added support for mouse enter/leave (glfwSetCursorEnterCallback)

Version 0.1.0 (wip)

26 Dec 19:02
Compare
Choose a tag to compare
  • first public version