imgui-java

JNI based binding for Dear ImGui

MIT License

Stars
594

Bot releases are visible (Hide)

imgui-java -

Published by SpaiR about 4 years ago

Added support for DockBuilder API. It could be used to created windows docked from start. https://github.com/ocornut/imgui/issues/2109#issuecomment-426204357
A proper example has been added as well.

imgui-java - v1.78-1.0

Published by SpaiR about 4 years ago

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.
imgui-java -

Published by SpaiR about 4 years ago

Fixed render viewport for retina displays

imgui-java -

Published by SpaiR about 4 years ago

Added ImString#isEmpty and ImString#isNotEmpty methods

imgui-java -

Published by SpaiR over 4 years ago

Minor API improvements on the Java layer

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

Published by SpaiR over 4 years ago

Update imgui-java to Dear ImGui v1.77

imgui-java -

Published by SpaiR over 4 years ago

  • Add port of GLFW backend (#13) [@ambye85]
imgui-java -

Published by SpaiR over 4 years ago

  • Add ImGuiIO::NavInputs
  • Add ImString support for "null" values
    new ImString(null) or imString.set(null) will work in the same way String.valueOf(null) does.
imgui-java -

Published by SpaiR over 4 years ago

  • Refactor packages structure:
    • All primitive wrappers are moved to the separate package imgui.type
    • Rename: imgui.callbacks -> imgui.callback
    • Rename: imgui.enums -> imgui.flag
    • ImGuiInputTextData converted into the inner class of ImString and renamed to InputData
    • Rename class: ImBool -> ImBoolean
  • Add ImGuiStorage class
  • Simplify drag'n'drop API with new methods: setDragDropPayloadObject(String, Object), acceptDragDropPayloadObject(String): Object, getDragDropPayloadObject(): Object. With new methods you can use any Java object as payload. Read javadoc to get more info.
  • Optimize and reduce memory footprint for ImFontAtlas#getTexDataAsAlpha8/ImFontAtlas#getTexDataAsRGBA32 methods
imgui-java -

Published by SpaiR over 4 years ago

  • Fix draw lists
  • Add new methods to create draw lists with fixed pointer (getWindowDrawListNew(), getBackgroundDrawListNew(), getForegroundDrawListNew()). Read javadoc to get more info
  • Improve color API. Methods which are work with colors are now can take 4 float, 4 int or 1 int number. For RGBA color packed in 4 or 1 value appropriately.
  • Add ImColor helper to create a ABGR packed int value used by Dear ImGui
  • Implement Clonable interface for all primitive wrappers
  • getID method now returns ID as an int number
  • Add ImGuiOnceUponAFrame helper
imgui-java -

Published by SpaiR over 4 years ago

MacOS support

imgui-java -

Published by SpaiR over 4 years ago

Docking support!

imgui-java -

Published by SpaiR over 4 years ago

Add ImGui#checkbox method which can take a simple boolean instead of ImBool.

imgui-java -

Published by SpaiR over 4 years ago

  • Fix auto-resize for ImString
  • Make ImString to return a UTF-8 encoded string value
imgui-java -

Published by SpaiR over 4 years ago

  • Refactor LWJGL3 renderer routine. Small performance improvements and fix for OpenGL contexts >= 3.2
  • Add Freetype support to build fonts texture
imgui-java -

Published by SpaiR over 4 years ago

  • Fix Windows x64 build
imgui-java -

Published by SpaiR over 4 years ago

  • [#3] Fix binding for input fields
imgui-java -

Published by SpaiR over 4 years ago

  • Fix treeNode methods and pointer types
  • Natively mapped ImGuiStyle class
imgui-java -

Published by SpaiR over 4 years ago

Added new methods to provide and get separate ImGuiStyle.Colors values

  • setColor(ImGuiCol, float, float, float, float)
  • getColor(ImGuiCol, ImVec4)
imgui-java -

Published by SpaiR over 4 years ago

  • Dear ImGui updated to v1.75
  • Fonts API, usage example could be found in example app
    • ImFont
    • ImFontConfig
    • ImFontAtlas
    • ImFontGlyph
  • Documentation improvements