korui v2.0.1 Release Notes

Release Date: 2020-12-03 // about 1 year ago

Previous changes from v2.0.0

  • v1.12.25...v2.0.0

    👌 Improvements:

    • 👌 Support embedding on AWT on all major desktop targets
    • 👌 Support detecting alt, shift, ctrl and meta keys on Mouse and Key events on all the major targets
    • 👍 Partial support for mouse wheel
    • 👌 Support changing the cursor to standard cursors (no custom cursors for now)
    • ➕ Added korui code and components for now just implemented on JVM AWT and partially on korgw (used on intellij plugin)
    • 👌 Improved key and mouse events on most targets
    • ➕ Added initial gamepad support on Windows and Linux
    • Try to improve opengl context choosing on X11
    • 👍 Proper fullscreen support on all desktop targets

    ➕ Additions:

    • 👌 Support AndroidTV and support key events on Android
    • ➕ Added IKmlGl.enableDisable and IKmlGl.enableDisableVertexAttribArray
    • ➕ Added KmlGl.logIf
    • ➕ Added KmlGlState
    • ➕ Added PrintAG
    • ➕ Added UniformValueStorageMatrix3D and update AG.UniformValues.storageForMatrix3D to use it
    • ➕ Added AG.UniformValues.storageForTextureUnit to support other textures for the shaders
    • ➕ Added VarType.Sampler1D, VarType.Sampler2D, VarType.Sampler3D and VarType.SamplerCube
    • ➕ Added GameWindow.Cursor
    • ➕ Added internal TouchEventHandler to simplify handling touches on GameWindow implementations

    🛠 Fixes:

    • 🛠 Fix transposed stick gamepad axis. Thanks @stewsters
    • Implements awtOpenFileDialog and awtOpenColorPickerDialog
    • 🛠 Fixes mouse coordinates clamped to 0..256 on native windows
    • 🛠 Fixes red images on some linux with amd drivers. Thanks to @sojuz151 for the remote session!

    💥 Breaking changes:

    • Due to problem with K/N on iOS, KmlGl TRUE and FLASE were renamed to GTRUE and GFALSE
    • 🔄 Changed how AG works internally to support AWT rendering on MacOS where the framebuffer is not the first one and requires scissors to just render on subcomponents
    • ✂ Removed deprecated code