[Doc] Fix javadocs
This commit is contained in:
1 parent
a97242eaeb
commit
2c66c8d3c5
7 files changed
+9
-9
No files matched your search
@@ -1,5 +1,5 @@
|
||||
# imgui-java
|
||||
[](https://travis-ci.org/SpaiR/imgui-java) [](https://javadoc.io/doc/io.imgui.java/binding) [](https://bintray.com/spair/io.imgui.java/binding/_latestVersion) [](https://bintray.com/spair/io.imgui.java/lwjgl3/_latestVersion)
|
||||
[](https://travis-ci.org/SpaiR/imgui-java) [](https://javadoc.io/doc/io.imgui.java/imgui-java-binding) [](https://bintray.com/spair/io.imgui.java/imgui-java-binding/_latestVersion) [](https://bintray.com/spair/io.imgui.java/imgui-java-lwjgl3/_latestVersion)
|
||||
|
||||
JNI based binding for [Dear ImGui](https://github.com/ocornut/imgui) with no dependencies, ready to use pre-compiled binaries and renderer for [LWJGL3](https://www.lwjgl.org/).
|
||||
|
||||
|
||||
@@ -654,7 +654,7 @@ public final class ImGuiIO {
|
||||
|
||||
/**
|
||||
* Disable default OS parenting to main viewport for secondary viewports.
|
||||
* By default, viewports are marked with ParentViewportId = <main_viewport>,
|
||||
* By default, viewports are marked with ParentViewportId = main_viewport,
|
||||
* expecting the platform back-end to setup a parent/child relationship between the OS windows (some back-end may ignore this).
|
||||
* Set to true if you want the default to be 0, then all viewports will be top-level OS windows.
|
||||
*/
|
||||
@@ -664,7 +664,7 @@ public final class ImGuiIO {
|
||||
|
||||
/**
|
||||
* Disable default OS parenting to main viewport for secondary viewports.
|
||||
* By default, viewports are marked with ParentViewportId = <main_viewport>,
|
||||
* By default, viewports are marked with ParentViewportId = main_viewport,
|
||||
* expecting the platform back-end to setup a parent/child relationship between the OS windows (some back-end may ignore this).
|
||||
* Set to true if you want the default to be 0, then all viewports will be top-level OS windows.
|
||||
*/
|
||||
|
||||
@@ -23,7 +23,7 @@ import imgui.callback.ImPlatformFuncViewportSuppImVec2;
|
||||
* About the coordinates system:
|
||||
* - When multi-viewports are enabled, all Dear ImGui coordinates become absolute coordinates (same as OS coordinates!)
|
||||
* - So e.g. ImGui::SetNextWindowPos(ImVec2(0,0)) will position a window relative to your primary monitor!
|
||||
* - If you want to position windows relative to your main application viewport, use ImGui::GetMainViewport()->Pos as a base position.
|
||||
* - If you want to position windows relative to your main application viewport, use ImGui::GetMainViewport().Pos as a base position.
|
||||
* Steps to use multi-viewports in your application, when using a default back-end from the examples/ folder:
|
||||
* - Application: Enable feature with 'io.ConfigFlags |= ImGuiConfigFlags_ViewportsEnable'.
|
||||
* - Back-end: The back-end initialization will setup all necessary ImGuiPlatformIO's functions and update monitors info every frame.
|
||||
@@ -471,7 +471,7 @@ public final class ImGuiPlatformIO extends ImGuiStruct {
|
||||
|
||||
/**
|
||||
* // . . . R . // (Optional) Clear framebuffer, setup render target,
|
||||
* then render the viewport->DrawData. 'render_arg' is the value passed to RenderPlatformWindowsDefault().
|
||||
* then render the viewport.DrawData. 'render_arg' is the value passed to RenderPlatformWindowsDefault().
|
||||
*/
|
||||
public native void setRendererRenderWindow(ImPlatformFuncViewport func); /*
|
||||
IM_RENDERER_FUNC_VIEWPORT_METHOD_TMPL(RenderWindow)
|
||||
|
||||
@@ -3,7 +3,7 @@ package imgui.callback;
|
||||
import imgui.ImGuiViewport;
|
||||
|
||||
/**
|
||||
* Callback to represent ImGuiPlatformIO function with args: (ImGuiViewport*) -> Boolean
|
||||
* Callback to represent ImGuiPlatformIO function with args: (ImGuiViewport*) - Boolean
|
||||
*/
|
||||
public abstract class ImPlatformFuncViewportSuppBoolean {
|
||||
public abstract boolean get(ImGuiViewport vp);
|
||||
|
||||
@@ -3,7 +3,7 @@ package imgui.callback;
|
||||
import imgui.ImGuiViewport;
|
||||
|
||||
/**
|
||||
* Callback to represent ImGuiPlatformIO function with args: (ImGuiViewport*) -> Boolean
|
||||
* Callback to represent ImGuiPlatformIO function with args: (ImGuiViewport*) - Boolean
|
||||
*/
|
||||
public abstract class ImPlatformFuncViewportSuppFloat {
|
||||
public abstract float get(ImGuiViewport vp);
|
||||
|
||||
@@ -4,7 +4,7 @@ import imgui.ImGuiViewport;
|
||||
import imgui.ImVec2;
|
||||
|
||||
/**
|
||||
* Callback to represent ImGuiPlatformIO function with args: (ImGuiViewport*) -> ImVec2
|
||||
* Callback to represent ImGuiPlatformIO function with args: (ImGuiViewport*) - ImVec2
|
||||
*/
|
||||
public abstract class ImPlatformFuncViewportSuppImVec2 {
|
||||
public abstract void get(ImGuiViewport vp, ImVec2 dstImVec2);
|
||||
|
||||
@@ -22,7 +22,7 @@ public final class ImDrawListFlags {
|
||||
*/
|
||||
public static final int AntiAliasedFill = 1 << 2;
|
||||
/**
|
||||
* Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.
|
||||
* Can emit 'VtxOffset {@code >} 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.
|
||||
*/
|
||||
public static final int AllowVtxOffset = 1 << 3;
|
||||
}
|
||||
Reference in new issue
Block a user