Releases: pongasoft/emscripten-glfw
Releases · pongasoft/emscripten-glfw
Version 1.0.0
- First 1.0.0 release
- Added examples
- Added documentation
- Fixed some issues
- Removed
GLFW_EMSCRIPTEN_CANVAS_SELECTOR
window hint in favor of a new apiemscripten_glfw_set_next_window_canvas_selector
- Removed
GLFW_EMSCRIPTEN_CANVAS_RESIZE_SELECTOR
andModule.glfwSetCanvasResizableSelector
in favor of a new
apiemscripten_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
andglfwGetTimerFrequency
) - Implemented
glfwExtensionSupported
- Implemented
glfwSetWindowTitle
(changes the browser window title)
Version 0.5.0 (wip)
- Added support for resizable canvas (
glfwWindowHintString(GLFW_EMSCRIPTEN_CANVAS_RESIZE_SELECTOR, "#canvas2-container")
from c/c++ code orModule.glfwSetCanvasResizableSelector('#canvas2', '#canvas2-container')
from javascript) - Added support fo visibility (
glfwShowWindow
andglfwHideWindow
) - Added support for
GLFW_FOCUS_ON_SHOW
window hint/attribute - Added support for dynamic Hi DPI Awareness (
GLFW_SCALE_TO_MONITOR
can be used inglfwSetWindowAttrib
) - Added support for "sticky" mouse button and keyboard
- Added support for window size constraints (
glfwSetWindowSizeLimits
andglfwSetWindowAspectRatio
) - Added support for providing a callback function in javascript to be notified when a window is created (
Module.glfwOnWindowCreated
)
Version 0.4.0 (wip)
- Added support for joystick/gamepad
Version 0.3.0 (wip)
- Added support for input mode
GLFW_CURSOR
(handle all use cases: Normal / Hidden / Locked) - Added support for glfw defined cursors (implemented
glfwCreateStandardCursor
andglfwSetCursor
) - Added support for window opacity (implemented
glfwGetWindowOpacity
andglfwSetWindowOpacity
)
Version 0.2.0 (wip)
- 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)
- first public version