Commit Graph
43 Commits
Author SHA1 Message Date
ΔeltaandSpaiR 194381c44e feat(api): add bindings for imgui-knobs (#211)
* feat(api): add bindings for imgui-knobs

Add bindings for the imgui-knobs extension

* Update example/src/main/java/Extra.java

Update styling

Co-authored-by: SpaiR <klimbetoo@gmail.com>

* Update example/src/main/java/Extra.java

Update styling

Co-authored-by: SpaiR <klimbetoo@gmail.com>

* Update .gitignore

Remove gradle.properties from git ignore

* Update styling

Update styling, field names set to UPPER_CASE, remove throwing exceptions from constructors, refactored flags to general style

---------

Co-authored-by: SpaiR <klimbetoo@gmail.com>
2024-01-09 10:34:10 +02:00
dependabot[bot] 297e69d5d4 up: bump com.badlogicgames.gdx:gdx-jnigen from 2.3.1 to 2.4.0 (#184)
Bumps [com.badlogicgames.gdx:gdx-jnigen](https://github.com/libgdx/gdx-jnigen) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/libgdx/gdx-jnigen/releases)
- [Changelog](https://github.com/libgdx/gdx-jnigen/blob/master/CHANGES)
- [Commits](https://github.com/libgdx/gdx-jnigen/commits)

---
updated-dependencies:
- dependency-name: com.badlogicgames.gdx:gdx-jnigen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-19 21:43:46 +03:00
dependabot[bot] e4ee51527a [Build] Bump com.badlogicgames.gdx:gdx-jnigen from 2.0.1 to 2.3.1 (#168)
Bumps [com.badlogicgames.gdx:gdx-jnigen](https://github.com/libgdx/gdx-jnigen) from 2.0.1 to 2.3.1.
- [Release notes](https://github.com/libgdx/gdx-jnigen/releases)
- [Changelog](https://github.com/libgdx/gdx-jnigen/blob/master/CHANGES)
- [Commits](https://github.com/libgdx/gdx-jnigen/compare/v2.0.1...2.3.1)

---
updated-dependencies:
- dependency-name: com.badlogicgames.gdx:gdx-jnigen
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 09:46:17 +02:00
SpaiR e2cfbdcf3f [Build] Change comparison for binary libraries
Instead of size we will compare hash of the `imgui-binding/src/main` folder.
2022-12-27 12:30:06 +02:00
SpaiR a2bacb292e [Build] Update artifacts only when needed (#150) 2022-12-15 12:36:35 +02:00
SpaiR 2957cb4b88 [Build] CI refactor (#149)
* [Build] CI refactor

* [Build] Fix GenerateLibs

* [Build] Up actions/checkout@v3

* [Build] Remove actions/gradle-build-action

* [Build] Uncomment publish/release jobs

* [Build] Delete obsolete jobs

* [Build] Add more info to the jar manifest

* [Build] Make checkout to fetch tags

* [Build] Return job to update binaries

* [Doc] Update README
2022-12-12 21:45:50 +02:00
SpaiR f01a5a573d [Build] Tweak build classes 2022-04-17 22:57:06 +03:00
SpaiR a6ca631506 [Build] Add more logs to the release script 2022-02-02 20:45:09 +02:00
Trevor Flynn fefac80157 [API] Memory editor extension (#110)
* Working on memory editor bindings for SpaiR/imgui-java#109

* Initial working implementation

* Add mising entry for imgui_club in .gitmodules

* Sorry, fixing readme link type and description for memory editor.

* Rename .club package to .memedit

* Rename _club.h to _memedit.h
2022-02-02 13:17:07 +02:00
Trevor FlynnandSpaiR 74203bc333 [API] Add a mechanism for Dear ImGui assertion callbacks (#100)
* Syncing wip to github

* Assertion callback works

* Restore example that does not crash

* Add comment in build script. Merge with upstream.

* Fix assert always triggering

* Resolve jvm env at runtime to prevent looking up bad stack address

* Fixed EXCEPTION_ACCESS_VIOLATION within native code after callback was complete.

* Fix linting errors

* Change ImGui to Dear ImGui

Co-authored-by: SpaiR <klimbetoo@gmail.com>

* Move jvm native layer to its own header/source

Co-authored-by: SpaiR <klimbetoo@gmail.com>
2021-12-26 14:11:56 +02:00
SpaiR adf9d5fe4e [Build] Update publish scripts 2021-12-18 10:49:09 +02:00
Trevor Flynn 0bbbc2e037 [API] Implement ImGuiFileDialog extension (#89)
* Initial setup for ImGuiFileDialog extension

* Need to resolve linker errors. Working on PaneFun callback.

* Remove jni callback code that is not compiling to expose linker error.

* Callbacks for paneFun not yet implemented. Linker error still present, seems that some header is being included multiple times.

* Fixed linker errors. Added example for demo.

* Add support for multiple callbacks

* Callbacks work
2021-11-16 13:07:13 +02:00
Adam GrzegorzewskiandSpaiR 4e56056222 [API] Bindings for ImGuiColorTextEdit (#79)
* Add ImGuiColorTextEdit submodule

* ImGuiColorTextEdit integration

* Remove unused Identifier class (oops)

* Fix checkstyle

* Small tweaks and fixes

* Remove empty line before imports

Co-authored-by: SpaiR <klimbetoo@gmail.com>
2021-09-12 11:22:43 +03:00
SpaiR 255f2e2286 [Build] Move sourceCompatibility option to the root build file 2021-08-29 10:29:54 +03:00
SpaiR 1544682cc4 [Build] Add workflows for automatic releases 2021-07-10 14:15:45 +03:00
92fa416657 [API] Include ImPlot (#56)
* Add implot submodule.

* Add implot to generateLibs

* Add _implot.h

* Add placeholder ImPlot java classes.

* Create demo window.

* Try to show the ImPlot demo in the window.

* Create ImPlot context.

* Fix final check.

* Implement ImPlotFlags.

* Implement the rest of the enums.

* Make classes final.

* Implement ImPlotContext and related methods

* Added more methods to ImPlot wrapper (mostly plot utils)

* Implement ImPlotPoint

* Implement ImPlotRange

* Switch native method to static in ImPlotPoint

* Implement ImPlotLimits

* Finish ImPlot Plot Utils bindings

* Implement more ImPlot methods (Miscellaneous)

* Implement more ImPlot methods (Legend utils/tools)

* Implement more ImPlot methods (Drag and drop utils)

* Implement more ImPlot methods (Plot tools)

* Implement more ImPlot methods (most plot items)

* Fix compile error (casting to double and not Double)

* Fix ImDrawData.getCmdListCmdBufferTextureId()

* Implement more ImPlot methods (rest of plot items)
(except for PlotImage, which is not currently supported)

* Fix ImGui binding problems due to API changes

* Adhere to style guidelines.

* Fix imguizmo submodule

* Fix API

* Implement ImPlotStyle

* Implement more ImPlot methods (Plot and Item styling)

* Implement remainder of ImPlot methods (Colormaps)

* Modify ImPlot example program

* Fix ImPlot example program bug

* ImPlot bugfixes

* Update ImPlot Demo

* Revert merge errors.

* Make the submodules the version on master.

* Fix URL/style in ExampleImPlot

* Fix merge conflicts with example ImPlot context creation

* Remove unneccesary static block for field declarations

* Revert libimgui-java64.so

* Change construction to use define (vs passing a pointer)

* Fixed memory leaks
Changed ImPlotLimits, ImPlotRange, and ImPlotPoint to extend ImGuiStructDestroyable instead of ImGuiStruct so user-created instances can be destroyed. Methods that create instances that must be destroyed manually specify this in the docs.

* Fix style violations

* Fix compile error

* Replace exception type

Co-authored-by: Perry MacMurray <perrymacmurray@gmail.com>
Co-authored-by: Perry <pmacmurray@ihmc.org>
Co-authored-by: SpaiR <klimbetoo@gmail.com>
2021-06-21 16:07:16 +03:00
SpaiR 37bc815a06 [Build] Add FreeType support for CI 2021-05-30 16:11:54 +03:00
SpaiR 39a86991f2 [Build] Drop 32bit support 2021-05-30 14:30:00 +03:00
Okan GüclüandSpaiR 5ea2712c91 [API] ImGuizmo (#54)
* [API] ImGuizmo

* [Example] Fix ImGuizmo demo

Co-authored-by: SpaiR <klimbetoo@gmail.com>
2021-05-29 12:06:09 +03:00
SpaiR f1556009a9 [Build] Gradle v7.0 2021-04-10 21:31:16 +03:00
SpaiR ad24d65c86 [Build] QOL for build scripts 2021-04-10 14:24:52 +03:00
SpaiR 6e67a18c26 [Build] Make freetype optional 2021-04-04 09:55:59 +03:00
SpaiR d8338f5609 [Build] Fix build scripts 2021-02-20 13:26:05 +02:00
SpaiR 08bf84ad64 [API] Dear ImGui v1.81 2021-02-20 11:16:44 +02:00
SpaiR 90e0fed103 [Build] Change MacOS build args and gitignore
Compile with C++14 with extensions and min MacOS version 10.15
2021-01-24 12:15:31 +02:00
SpaiR 99c53d5e27 [Build] Update Gradle and gdx-jnigen 2021-01-23 20:40:05 +02:00
SpaiR 13b3836e47 [API] Delete obsolete functions 2021-01-23 20:24:40 +02:00
SpaiR 70ac8e70c5 [API] Move sumbodules into separate folder 2021-01-23 16:20:33 +02:00
SpaiR 5beb896b50 [Binding] Fix ImNodes minor probs and add Style struct 2021-01-23 16:04:57 +02:00
Danil Dubrovksy a2d5ba0035 [Binding] Implemented java bindings for imnodes and imgui-node-editor.
Implemented simple graph editor to demonstrate both imnodes and imgui-node-editor usage.
2021-01-23 15:15:17 +02:00
SpaiR 4977e384cb [Build] Make freetype optional 2020-10-17 15:47:48 +03:00
SpaiR 2f7eb6f063 [Build] Optimize build scripts 2020-08-30 23:11:25 +03:00
SpaiR e328d738ce [WIP] Viewports backend 2020-08-30 15:47:27 +03:00
SpaiR a392a4227f Build scripts 2020-08-22 19:41:50 +03:00
SpaiR b8708182c8 Add mac64 target to the AntScriptGenerator 2020-06-06 16:05:26 +03:00
SpaiR 99bb339eae Add support for MacOsX 2020-06-02 22:02:40 +03:00
SpaiR 7f152431fa Add freetype support 2020-05-18 13:42:40 +03:00
SpaiR 68a7e0cc6b Remove unneeded line in GenerateLibs task 2020-01-04 18:56:36 +03:00
SpaiR 706a4f4d9c v1.74-0.2.1 2020-01-03 10:12:35 +03:00
SpaiR dffef452c9 Build configurations for other OSs 2019-12-29 23:59:40 +03:00
SpaiR fcecffa5fa ImGui API 2019-12-29 23:59:38 +03:00
SpaiR b59aea96d9 Remove internal and extension API 2019-12-29 23:59:36 +03:00
SpaiR dc59810566 Add rendering implementation for LWJGL 2019-12-29 23:59:34 +03:00