korui v2.0.0 Release Notes
Release Date: 2020-11-23 // over 2 years ago-
๐ 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