[API] Add support for DockBuilder
This commit is contained in:
1 parent
b3b26e9136
commit
4e564240ca
11 files changed
+1057
-14
No files matched your search
@@ -18,7 +18,7 @@ import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.nio.file.StandardCopyOption;
|
||||
|
||||
public final class ImGui {
|
||||
public class ImGui {
|
||||
private static final String LIB_PATH_PROP = "imgui.library.path";
|
||||
private static final String LIB_NAME_PROP = "imgui.library.name";
|
||||
private static final String LIB_NAME_DEFAULT = System.getProperty("os.arch").contains("64") ? "imgui-java64" : "imgui-java";
|
||||
@@ -114,9 +114,6 @@ public final class ImGui {
|
||||
public static void init() {
|
||||
}
|
||||
|
||||
private ImGui() {
|
||||
}
|
||||
|
||||
/*JNI
|
||||
#include <stdint.h>
|
||||
#include <imgui.h>
|
||||
@@ -650,6 +647,13 @@ public final class ImGui {
|
||||
ImGui::SetNextWindowBgAlpha(alpha);
|
||||
*/
|
||||
|
||||
/**
|
||||
* Set next window viewport.
|
||||
*/
|
||||
public static native void setNextWindowViewport(int viewportId); /*
|
||||
ImGui::SetNextWindowViewport(viewportId);
|
||||
*/
|
||||
|
||||
/**
|
||||
* (not recommended) set current window position - call within Begin()/End().
|
||||
* Prefer using SetNextWindowPos(), as this may incur tearing and side-effects.
|
||||
|
||||
Reference in new issue
Block a user