Releases: SpaiR/imgui-java
Releases · SpaiR/imgui-java
v1.84.1.0
v1.83.3
v1.83.2
v1.83.1
Added ImPlot extension (#56) [@calvertdw @perrymacmurray];
v1.83.0
- Updated Dear ImGui to v1.83 [0ed891f];
- Dropped support of 32bit native binaries;
- Added ImFontGlyphRangesBuilder (#51) [@abvadabra];
- Added ImGuizmo API (#54) [@AAstroPhysiCS];
imgui-app.jarnow contains all needed dependecies to run Dear ImGui Application.
Previously it was still needed to add native libs and binding/lwjgl3 modules as well.
Consider reading the official changelog to see other library changes.
v1.82.2
v1.82.1
- Updated
ImGuiImplGl3to the latest Dear ImGui implementation; [d1e264a] - Updated
ImGuiImplGlfwto the latest Dear ImGui implementation; [e8678ef]
Now it will check GLFW version and ignore features, which are not available for user. - FreeType font renderer is now optional, read FreeType section for more info.
v1.82.0
v1.81.2
Refactored Drag & Drop API
The original Dear ImGui uses raw byte arrays as a payload data. This is fine for C++, yet unacceptable for Java.
Binding has a method setDragDropPayloadObject(), which is able to take a Java object as a payload.
Now it's the only available method and it was renamed to setDragDropPayload().
API itself was extended, so now you can pass any payload, without passing String data type.
Binding will take payload class as an identifier. For example, now you can write:
static CustomClass PAYLOAD = new CustomClass();
ImGui.setDragDropPayload(PAYLOAD);
...and later...
CustomClass payload = ImGui.acceptDragDropPayload(CustomClass.class);
Binding will do a proper typecasting automatically.
v1.81.1
- Removed lazy-created structs. This fixes the problem which addressed to situations, when Dear ImGui context dropped, but underlying pointer for structs didn't update;
- Added
#isValidPtr()/#isNotValidPtr()to verify object uses the valid pointer; ImVec2/4and type classes are now has#set(value)method, where value is another object of that class.
Fox example:imFloat.set(new ImFloat())orimVec2.set(new ImVec2());- Added
ImString#clearmethod to drop string content; - Binding API now can return
ImVec2/ImVec4directly, without "dst" argument. Under the hood, such methods will create a new object and fill it with data; - Added
ImGuiStyle#getColors()to returnfloat[ImGuiCol.COUNT][4]array with GUI colors; - Fixed
ImGui#getDragDropPayloadObject()threw exception if there were no payload.