Skip to content

v2.2.0

Compare
Choose a tag to compare
@jayschwa jayschwa released this 31 Aug 00:42
· 68 commits to master since this release

API additions

  • Added function wrappers for:
    • MaximizeWindow
    • SetWindowAspectRatio
    • SetWindowSizeLimits
    • PostEmptyEvent
    • WaitEvents variant that wraps glfwWaitEventsTimeout

Backward compatible API changes

  • Updated functions to return named tuples:
    • GetCursorPos returns (x, y)
    • GetFramebufferSize returns (width, height)
    • GetMonitorPhysicalSize returns (width, height)
    • GetMonitorPos returns (x, y)
    • GetWindowFrameSize returns (left, top, right, bottom)
    • GetWindowPos returns (x, y)
    • GetWindowSize returns (width, height)
  • Created enum types for related constants:
    • MouseButton groups MOUSE_BUTTON_*
    • Joystick groups JOYSTICK_*
    • StandardCursorShape groups *_CURSOR
    • DeviceConfigEvent groups CONNECTED and DISCONNECTED
  • Improved show implementations for Joystick, Monitor, and VidMode types.

Implementation changes

  • Added minimum version for dependencies that work on Julia 1.0.