java.lang.Object
net.botwithus.rs3.imgui.ImGui
The class represents Dear ImGui bindings for java.
Check out ImGui for more information.
Check out ImGui for more information.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DragData
AcceptDragDropPayload
(String id, int flags) static boolean
static boolean
BeginChild
(String id, float width, float height, boolean border, int flags) static boolean
BeginChildFrame
(int id, float width, float height, int flags) static void
BeginDisabled
(boolean enabled) static boolean
BeginDragDropSource
(int flags) static boolean
static boolean
static boolean
BeginPopup
(String id, int flags) static boolean
BeginPopupModal
(String id, int flags) static boolean
BeginTabBar
(String label, int flags) static boolean
BeginTabItem
(String label, int flags) static boolean
BeginTable
(String label, int columns, int flags) static void
static boolean
static Vector2f
CalcTextSize
(String text) static boolean
static void
static void
static int
static boolean
Combo
(String label, NativeInteger currentItem, String... items) static void
End()
static void
EndChild()
static void
static void
static void
static void
static void
EndMenu()
static void
EndPopup()
static void
static void
static void
EndTable()
static void
static String
static Vector2f
static Vector2f
static Vector2f
static int
GetMouseClickedCount
(int button) static Vector2f
static boolean
HasContextMenu
(String id) static void
Indent
(float width) static int
static int
static String
static String
static String
InputTextWithHint
(String hint, String label, String text) static String
InputTextWithHint
(String hint, String label, String buffer, int size, int flags) static boolean
IsItemClicked
(ImGui.MouseButton button) static boolean
static boolean
IsMouseClicked
(int button, boolean repeat) static boolean
IsMouseDoubleClicked
(int button) static boolean
IsMouseDown
(int button) static boolean
IsMouseDragging
(int button, float lockThreshold) static boolean
IsMouseHoveringRect
(float r_min_x, float r_min_y, float r_max_x, float r_max_y, boolean clip) static boolean
IsMouseReleased
(int button) static void
static boolean
ListBoxHeader
(String label, float width, float height) static boolean
static boolean
static void
static void
static void
PopID()
static void
static void
PopStyleColor
(int count) static void
PopStyleVar
(int count) static void
ProgressBar
(String overlay, float progress, float size_x, float size_y) static void
PushID
(int id) static void
static void
PushStyleColor
(int idx, float r, float g, float b, float a) static void
PushStyleColor
(int idx, int color) static void
PushStyleVar
(int idx, float value) static void
PushStyleVar
(int idx, float var, float var1) static void
SameLine()
static void
SameLine
(float spacing) static void
SameLine
(float offsetFromStartX, float spacing) static boolean
Selectable
(String label, boolean selected, int flags) static void
static void
SeparatorText
(String text) static void
SetClipboardText
(String text, Object... args) static void
SetColumnWidth
(int index, float width) static void
SetCursorPos
(float x, float y) static void
SetCursorPosX
(float x) static void
SetCursorPosY
(float y) static void
SetDragDropPayload
(String id, int data) static void
static void
SetItemWidth
(float width) static void
SetKeyboardFocusHere
(int offset) static void
SetNextWindowPos
(float x, float y) static void
SetNextWindowSize
(float sizeX, float sizeY, int cond) static void
SetScrollHereX
(float x) static void
SetScrollHereY
(float x) static void
SetTooltip
(String text) static void
SetWindowFontScale
(float scale) static void
SetWindowSize
(float sizeX, float sizeY) static int
static void
Spacing
(float x, float y) static boolean
TabItemButton
(String label, int flags) static void
static boolean
static void
static void
TableSetupColumn
(String name, int flags) static void
static void
UnIndent
(float width)
-
Method Details
-
Spacing
public static void Spacing(float x, float y) -
InputInt
-
InputInt
-
SetWindowSize
public static void SetWindowSize(float sizeX, float sizeY) -
SetNextWindowSize
public static void SetNextWindowSize(float sizeX, float sizeY, int cond) -
Begin
-
End
public static void End() -
Button
-
Text
-
Separator
public static void Separator() -
BeginChild
-
EndChild
public static void EndChild() -
BeginChildFrame
public static boolean BeginChildFrame(int id, float width, float height, int flags) -
EndChildFrame
public static void EndChildFrame() -
BeginPopup
-
BeginPopupModal
-
OpenPopup
-
CloseCurrentPopup
public static void CloseCurrentPopup() -
MenuItem
-
MenuItem
-
EndPopup
public static void EndPopup() -
IsItemHovered
public static boolean IsItemHovered() -
IsItemClicked
-
BeginTooltip
public static void BeginTooltip() -
EndTooltip
public static void EndTooltip() -
SameLine
public static void SameLine() -
SameLine
public static void SameLine(float spacing) -
PushStyleColor
public static void PushStyleColor(int idx, float r, float g, float b, float a) -
PushStyleColor
public static void PushStyleColor(int idx, int color) -
PopStyleColor
public static void PopStyleColor() -
PushStyleVar
public static void PushStyleVar(int idx, float var, float var1) -
PushStyleVar
public static void PushStyleVar(int idx, float value) -
PopStyleVar
public static void PopStyleVar(int count) -
PushID
-
PushID
public static void PushID(int id) -
PopID
public static void PopID() -
PopStyleColor
public static void PopStyleColor(int count) -
SameLine
public static void SameLine(float offsetFromStartX, float spacing) -
Checkbox
-
Combo
-
Combo
-
SetNextWindowPos
public static void SetNextWindowPos(float x, float y) -
SetCursorPosX
public static void SetCursorPosX(float x) -
SetCursorPosY
public static void SetCursorPosY(float y) -
BeginTable
-
TableSetupColumn
-
GetClipboardText
-
SetClipboardText
-
TableHeadersRow
public static void TableHeadersRow() -
TableNextRow
public static void TableNextRow() -
TableNextColumn
public static boolean TableNextColumn() -
EndTable
public static void EndTable() -
Selectable
-
ListBoxHeader
-
BeginTabBar
-
EndTabBar
public static void EndTabBar() -
BeginTabItem
-
TabItemButton
-
EndTabItem
public static void EndTabItem() -
CalcTextSize
-
GetItemRectSize
-
GetItemRectMin
-
GetItemRectMax
-
InputText
-
InputTextWithHint
-
SetScrollHereX
public static void SetScrollHereX(float x) -
SetScrollHereY
public static void SetScrollHereY(float x) -
BeginMenu
-
EndMenu
public static void EndMenu() -
SetItemWidth
public static void SetItemWidth(float width) -
Columns
-
UnIndent
public static void UnIndent(float width) -
NextColumn
public static void NextColumn() -
SeparatorText
-
Indent
public static void Indent(float width) -
IsMouseClicked
public static boolean IsMouseClicked(int button, boolean repeat) -
IsMouseReleased
public static boolean IsMouseReleased(int button) -
IsMouseDown
public static boolean IsMouseDown(int button) -
IsMouseDragging
public static boolean IsMouseDragging(int button, float lockThreshold) -
SetWindowFontScale
public static void SetWindowFontScale(float scale) -
GetWindowPos
-
IsMouseDoubleClicked
public static boolean IsMouseDoubleClicked(int button) -
GetMouseClickedCount
public static int GetMouseClickedCount(int button) -
SetTooltip
-
IsMouseHoveringRect
public static boolean IsMouseHoveringRect(float r_min_x, float r_min_y, float r_max_x, float r_max_y, boolean clip) -
SetColumnWidth
public static void SetColumnWidth(int index, float width) -
BeginDragDropSource
public static boolean BeginDragDropSource(int flags) -
EndDragDropSource
public static void EndDragDropSource() -
BeginDragDropTarget
public static boolean BeginDragDropTarget() -
EndDragDropTarget
public static void EndDragDropTarget() -
SetDragDropPayload
-
AcceptDragDropPayload
-
BeginDisabled
public static void BeginDisabled(boolean enabled) -
EndDisabled
public static void EndDisabled() -
ProgressBar
-
Slider
-
SetKeyboardFocusHere
public static void SetKeyboardFocusHere(int offset) -
SetItemDefaultFocus
public static void SetItemDefaultFocus() -
InputText
-
InputTextWithHint
-
SetCursorPos
public static void SetCursorPos(float x, float y) -
HasContextMenu
-