Update binding to Dear ImGui v1.77

This commit is contained in:
SpaiR committed 2020-07-03 16:38:18 +03:00
1 parent 0fa727b44a
commit 6c008e6e8c
8 files changed
+284 -121

No files matched your search

@@ -81,6 +81,7 @@ public final class ImGuiStyle implements ImGuiDestroyableStruct {
/**
* Radius of window corners rounding. Set to 0.0f to have rectangular windows.
* Large values tend to lead to variety of artifacts and are not recommended.
*/
public native float getWindowRounding(); /*
return IMGUI_STYLE->WindowRounding;
@@ -88,6 +89,7 @@ public final class ImGuiStyle implements ImGuiDestroyableStruct {
/**
* Radius of window corners rounding. Set to 0.0f to have rectangular windows.
* Large values tend to lead to variety of artifacts and are not recommended.
*/
public native void setWindowRounding(float windowRounding); /*
IMGUI_STYLE->WindowRounding = windowRounding;
@@ -409,6 +411,22 @@ public final class ImGuiStyle implements ImGuiDestroyableStruct {
IMGUI_STYLE->TabBorderSize = tabBorderSize;
*/
/**
* Minimum width for close button to appears on an unselected tab when hovered.
* Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected.
*/
public native float getTabMinWidthForUnselectedCloseButton(); /*
return IMGUI_STYLE->TabMinWidthForUnselectedCloseButton;
*/
/**
* Minimum width for close button to appears on an unselected tab when hovered.
* Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected.
*/
public native void setTabMinWidthForUnselectedCloseButton(float tabMinWidthForUnselectedCloseButton); /*
IMGUI_STYLE->TabMinWidthForUnselectedCloseButton = tabMinWidthForUnselectedCloseButton;
*/
/**
* Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right.
*/