imgui-java

JNI based binding for Dear ImGui

MIT License

Stars
594

Bot releases are hidden (Show)

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

Published by SpaiR over 4 years ago

  • Additional overloaded methods for ImGui#image and ImGui#imageButton
  • Additional native methods for ImDrawList
    • pushClipRect
    • pushClipRectFullScreen
    • popClipRect
    • pushTextureId
    • popTextureId
    • getClipRectMin
    • getClipRectMax
imgui-java -

Published by SpaiR almost 5 years ago

imgui-java -

Published by SpaiR almost 5 years ago

imgui-java -

Published by SpaiR almost 5 years ago

imgui-java -

Published by SpaiR almost 5 years ago

imgui-java -

Published by SpaiR almost 5 years ago