Skip to content

Commit

Permalink
v1.78-1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaiR committed Oct 6, 2020
1 parent 1e9db61 commit 23b5009
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ JNI based binding for [Dear ImGui](https://github.com/ocornut/imgui) with no dep
Please read **Binding Notice** to get more info about java-specific things of the API.<br>
See official [documentation](https://github.com/ocornut/imgui#usage) and [wiki](https://github.com/ocornut/imgui/wiki) to get more info about how to do things in Dear ImGui.

Binding provides all the data you need to render Dear ImGui. If, for some reason, you want to use your own backend renderer, see [ImGuiImplGl3](https://github.com/SpaiR/imgui-java/blob/v1.78-1.2.0/imgui-lwjgl3/src/main/java/imgui/gl3/ImGuiImplGl3.java) for reference.
Binding provides all the data you need to render Dear ImGui. If, for some reason, you want to use your own backend renderer, see [ImGuiImplGl3](https://github.com/SpaiR/imgui-java/blob/v1.78-1.3.0/imgui-lwjgl3/src/main/java/imgui/gl3/ImGuiImplGl3.java) for reference.

Versioning semantic of the binding: `imguiVersion-bindingVersion`.<br>
For example `1.74-0.1` means that imgui-java uses `1.74` version of Dear ImGui and binding itself has the version `0.1`.
Expand All @@ -21,12 +21,12 @@ _Make sure you have installed Java 8 or higher._
You can try Dear ImGui with Java by yourself in a three simple steps:

```
git clone --branch v1.78-1.2.0 https://github.com/SpaiR/imgui-java.git
git clone --branch v1.78-1.3.0 https://github.com/SpaiR/imgui-java.git
cd imgui-java
gradlew :imgui-lwjgl3:startExample
```

That's all! You will start an example app [ImGuiGlfwExample](https://github.com/SpaiR/imgui-java/blob/v1.78-1.2.0/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java). Feel free to modify [ExampleUi](https://github.com/SpaiR/imgui-java/blob/v1.78-1.2.0/imgui-lwjgl3/src/test/java/ExampleUi.java) class to try different Dear ImGui widgets in action.
That's all! You will start an example app [ImGuiGlfwExample](https://github.com/SpaiR/imgui-java/blob/v1.78-1.3.0/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java). Feel free to modify [ExampleUi](https://github.com/SpaiR/imgui-java/blob/v1.78-1.3.0/imgui-lwjgl3/src/test/java/ExampleUi.java) class to try different Dear ImGui widgets in action.

![imgui-java demo](https://i.imgur.com/WbnnhCn.gif)

Expand All @@ -43,7 +43,7 @@ repositories {
ext {
lwjglVersion = '3.2.3'
imguiVersion = '1.78-1.2.0'
imguiVersion = '1.78-1.3.0'
}
switch (OperatingSystem.current()) {
Expand Down Expand Up @@ -90,7 +90,7 @@ dependencies {
<properties>
<lwjgl.version>3.2.3</lwjgl.version>
<imgui.java.version>1.78-1.2.0</imgui.java.version>
<imgui.java.version>1.78-1.3.0</imgui.java.version>
</properties>
<!-- Resolve OS version for native libraries -->
Expand Down Expand Up @@ -241,7 +241,7 @@ Take a note that multi-viewports api is **VERY** complex to implement. It's high
Otherwise, if you're using your own backed implementation, there are no guarantees it will work.

## Using FreeType
Dear ImGui by default uses a stb_strutype library to render a fonts atlas. It's possible to use FreeType instead to get better fonts quality. See an example in [ImGuiGlfwExample](https://github.com/spair/imgui-java/blob/v1.78-1.2.0/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java). [Read more](https://github.com/ocornut/imgui/blob/v1.78/misc/freetype/README.md)
Dear ImGui by default uses a stb_strutype library to render a fonts atlas. It's possible to use FreeType instead to get better fonts quality. See an example in [ImGuiGlfwExample](https://github.com/spair/imgui-java/blob/v1.78-1.3.0/imgui-lwjgl3/src/test/java/ImGuiGlfwExample.java). [Read more](https://github.com/ocornut/imgui/blob/v1.78/misc/freetype/README.md)

## Binding Notice
* All Dear ImGui methods are available in `camelCase`, not in `PascalCase`.
Expand Down
Binary file modified bin/imgui-java.dll
Binary file not shown.
Binary file modified bin/imgui-java64.dll
Binary file not shown.
Binary file modified bin/libimgui-java.so
Binary file not shown.
Binary file modified bin/libimgui-java64.dylib
Binary file not shown.
Binary file modified bin/libimgui-java64.so
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.78-1.2.0
version=1.78-1.3.0

0 comments on commit 23b5009

Please sign in to comment.