Skip to content

Releases: SpaiR/imgui-java

v1.80-1.5.0

25 Jan 22:18
Compare
Choose a tag to compare
  • Updated Dear ImGui to v1.80;
  • Added new imgui-app module. More info below.
  • Added two native extensions: ImNodes and imgui-node-editor (#29) [@abvadabra];
  • Example was revamped. It was simplified, remade to use new imgui-app module and was moved into its own module. Has example of extensions usage as well;
  • Added several new methods:
    • ImGui#inputTextWithHint();
    • ImColor#hslToColor;
    • ImGui#calcItemSize (internal API);
    • ImGui#splitterBehavior (internal API);

ImGui App Module (Application abstration)

New module provides an abstraction layer to create ImGui applications. It hides all low-level routine. Every life-cycle method could be overriden with custom logic, so you can extend class in the way you need. Or just keep it as it is, if need nothing specific. Simple application may look like this:

import imgui.ImGui;
import imgui.app.Application;

public class Main extends Application {
    @Override
    protected void configure(Configuration config) {
        config.setTitle("Dear ImGui is Awesome!");
    }

    @Override
    public void process() {
        ImGui.text("Hello, World!");
    }

    public static void main(String[] args) {
        launch(new Main());
    }
}

v1.79-1.4.0

17 Oct 10:45
Compare
Choose a tag to compare
  • Updated Dear ImGui to v1.79
  • Fixed four of the ImGuiTreeNodeFlags that were all set to Framed (#26) [@silentorb]
  • Added clone() method to ImRect class

Build instruction update

Readme now has a How to Build Native Libraries section. It shows how to build natives libraries for all OS, so everyone can play with it.

v1.78-1.3.0

06 Oct 12:08
Compare
Choose a tag to compare
  • Binding will extract libraries from classpath into unique folder
  • Added ImGuiTextFilter API

v1.78-1.2.0

21 Sep 12:21
Compare
Choose a tag to compare

Added internal ImGuiItemFlags api

v1.78-1.1.1

06 Sep 08:34
Compare
Choose a tag to compare

Fixed a bug with method arguments for dockBuilderSplitNode

v1.78-1.1

05 Sep 09:40
Compare
Choose a tag to compare

Added support for DockBuilder API. It could be used to created windows docked from start. ocornut/imgui#2109 (comment)
A proper example has been added as well.

v1.78-1.0

30 Aug 18:45
Compare
Choose a tag to compare

WARNING!
Binding address has been updated. It's the same but with imgui-java prefix for artifacts id. Check readme to see dependencies instruction.


  • Updated Dear ImGui to v1.78.
  • Added support for multi-viewports feature. If you have your own backend implementation, take a note that this feature require a lot of effort to utilize its functionality. Use imgui.glfw.ImGuiImplGlfw implementation instead. Otherwise no guarantees provided.
  • Classes which are represent native structs was refactored. Now they have a public field ptr which points to their native structure. It's not recommended to touch this field if you don't know what are you doing.

v1.77-0.17.2

21 Aug 06:50
Compare
Choose a tag to compare

Fixed render viewport for retina displays

v1.77-0.17.1

06 Aug 07:33
Compare
Choose a tag to compare

Added ImString#isEmpty and ImString#isNotEmpty methods

v1.77-0.17

15 Jul 07:47
Compare
Choose a tag to compare

Minor API improvements on the Java layer

  • Methods to get only X/Y instead of full ImVec2
  • Methods to add/remove config/backend flags