Package imgui
Class ImGui
java.lang.Object
imgui.ImGui
- Direct Known Subclasses:
ImGui
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TacceptDragDropPayload(Class<T> aClass) Binding alternative foracceptDragDropPayload(String), which uses payload class as a unique identifier.static <T> TacceptDragDropPayload(Class<T> aClass, int imGuiDragDropFlags) Binding alternative foracceptDragDropPayload(String, int), which uses payload class as a unique identifier.static <T> TacceptDragDropPayload(String dataType) Accept contents of a given type.static <T> TacceptDragDropPayload(String dataType, int imGuiDragDropFlags) Accept contents of a given type.static <T> TacceptDragDropPayload(String dataType, int imGuiDragDropFlags, Class<T> aClass) Type safe alternative foracceptDragDropPayload(String, int), since it checks assignability of the accepted class.static <T> TacceptDragDropPayload(String dataType, Class<T> aClass) Type safe alternative foracceptDragDropPayload(String), since it checks assignability of the accepted class.static voidVertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item)static booleanarrowButton(String strId, int dir) Square button with an arrow shapestatic booleanstatic booleanstatic booleanstatic booleanstatic booleanbeginChild(int id) static booleanbeginChild(int id, float sizeX, float sizeY) static booleanbeginChild(int id, float sizeX, float sizeY, boolean border) Deprecated.static booleanbeginChild(int id, float sizeX, float sizeY, boolean border, int windowFlags) Deprecated.UsebeginChild(String, ImVec2, int, int)instead.static booleanbeginChild(int id, float sizeX, float sizeY, int childFlags) static booleanbeginChild(int id, float sizeX, float sizeY, int childFlags, int windowFlags) static booleanbeginChild(int id, int windowFlags) static booleanbeginChild(int id, int childFlags, int windowFlags) static booleanbeginChild(int id, ImVec2 size) static booleanbeginChild(int id, ImVec2 size, boolean border) Deprecated.UsebeginChild(String, ImVec2, int, int)instead.static booleanbeginChild(int id, ImVec2 size, boolean border, int windowFlags) Deprecated.UsebeginChild(String, ImVec2, int, int)instead.static booleanbeginChild(int id, ImVec2 size, int childFlags) static booleanbeginChild(int id, ImVec2 size, int childFlags, int windowFlags) static booleanbeginChild(String strId) static booleanbeginChild(String strId, float sizeX, float sizeY) static booleanbeginChild(String strId, float sizeX, float sizeY, boolean border) static booleanbeginChild(String strId, float sizeX, float sizeY, boolean border, int windowFlags) static booleanbeginChild(String strId, float sizeX, float sizeY, int childFlags) static booleanbeginChild(String strId, float sizeX, float sizeY, int childFlags, int windowFlags) static booleanbeginChild(String strId, int windowFlags) static booleanbeginChild(String strId, int childFlags, int windowFlags) static booleanbeginChild(String strId, ImVec2 size) static booleanbeginChild(String strId, ImVec2 size, boolean border) static booleanbeginChild(String strId, ImVec2 size, boolean border, int windowFlags) static booleanbeginChild(String strId, ImVec2 size, int childFlags) static booleanbeginChild(String strId, ImVec2 size, int childFlags, int windowFlags) static booleanbeginCombo(String label, String previewValue) static booleanbeginCombo(String label, String previewValue, int imGuiComboFlags) static voidDisable all user interactions and dim items visuals (applying style.DisabledAlpha over current colors) BeginDisabled(false) essentially does nothing useful but is provided to facilitate use of boolean expressions.static voidbeginDisabled(boolean disabled) Disable all user interactions and dim items visuals (applying style.DisabledAlpha over current colors) BeginDisabled(false) essentially does nothing useful but is provided to facilitate use of boolean expressions.static booleanCall when the current item is active.static booleanbeginDragDropSource(int imGuiDragDropFlags) Call when the current item is active.static booleanCall after submitting an item that may receive a payload.static voidLock horizontal starting positionstatic booleanBegin/append a tooltip window if preceding item was hovered.static booleanbeginListBox(String label) Open a framed scrolling region.static booleanbeginListBox(String label, float sizeX, float sizeY) Open a framed scrolling region.static booleanbeginListBox(String label, ImVec2 size) Open a framed scrolling region.static booleanCreate and append to a full screen menu-bar.static booleanCreate a sub-menu entry.static booleanCreate a sub-menu entry.static booleanAppend to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window).static booleanbeginPopup(String strId) Return true if the popup is open, and you can start outputting to it.static booleanbeginPopup(String strId, int imGuiWindowFlags) Return true if the popup is open, and you can start outputting to it.static booleanOpen+begin popup when clicked on last item.static booleanbeginPopupContextItem(int imGuiPopupFlags) Open+begin popup when clicked on last item.static booleanbeginPopupContextItem(String strId) Open+begin popup when clicked on last item.static booleanbeginPopupContextItem(String strId, int imGuiPopupFlags) Open+begin popup when clicked on last item.static booleanOpen+begin popup when clicked in void (where there are no windows).static booleanbeginPopupContextVoid(int imGuiPopupFlags) Open+begin popup when clicked in void (where there are no windows).static booleanbeginPopupContextVoid(String strId) Open+begin popup when clicked in void (where there are no windows).static booleanbeginPopupContextVoid(String strId, int imGuiPopupFlags) Open+begin popup when clicked in void (where there are no windows).static booleanOpen+begin popup when clicked on current window.static booleanbeginPopupContextWindow(int imGuiPopupFlags) Open+begin popup when clicked on current window.static booleanbeginPopupContextWindow(String strId) Open+begin popup when clicked on current window.static booleanbeginPopupContextWindow(String strId, int imGuiPopupFlags) Open+begin popup when clicked on current window.static booleanbeginPopupModal(String name) Return true if the popup is open, and you can start outputting to it.static booleanbeginPopupModal(String name, int imGuiWindowFlags) Return true if the popup is open, and you can start outputting to it.static booleanbeginPopupModal(String name, ImBoolean pOpen) Return true if the popup is open, and you can start outputting to it.static booleanbeginPopupModal(String name, ImBoolean pOpen, int imGuiWindowFlags) Return true if the popup is open, and you can start outputting to it.static booleanbeginTabBar(String strId) Create and append into a TabBarstatic booleanbeginTabBar(String strId, int imGuiTabBarFlags) Create and append into a TabBarstatic booleanbeginTabItem(String label) Create a Tab.static booleanbeginTabItem(String label, int imGuiTabItemFlags) Create a Tab.static booleanbeginTabItem(String label, ImBoolean pOpen) Create a Tab.static booleanbeginTabItem(String label, ImBoolean pOpen, int imGuiTabItemFlags) Create a Tab.static booleanbeginTable(String id, int columns) static booleanbeginTable(String id, int columns, float innerWidth) static booleanbeginTable(String id, int columns, float outerSizeX, float outerSizeY, float innerWidth) static booleanbeginTable(String id, int columns, int imGuiTableFlags) static booleanbeginTable(String id, int columns, int imGuiTableFlags, float innerWidth) static booleanbeginTable(String id, int columns, int imGuiTableFlags, float outerSizeX, float outerSizeY) static booleanbeginTable(String id, int columns, int imGuiTableFlags, float outerSizeX, float outerSizeY, float innerWidth) static booleanbeginTable(String id, int columns, int imGuiTableFlags, ImVec2 outerSize) static booleanbeginTable(String id, int columns, int imGuiTableFlags, ImVec2 outerSize, float innerWidth) static booleanbeginTable(String id, int columns, ImVec2 outerSize, float innerWidth) static voidBegin/append a tooltip window.static voidbullet()Draw a small circle + keep the cursor on the same line.static voidbulletText(String text) Shortcut for Bullet()+Text()static booleanButtonstatic booleanButtonstatic booleanButtonstatic floatWidth of item given pushed settings and current cursor position.static voidcalcTextSize(ImVec2 dst, String text) static voidcalcTextSize(ImVec2 dst, String text, boolean hideTextAfterDoubleHash) static voidcalcTextSize(ImVec2 dst, String text, boolean hideTextAfterDoubleHash, float wrapWidth) static voidcalcTextSize(ImVec2 dst, String text, float wrapWidth) static ImVec2calcTextSize(String text) static ImVec2calcTextSize(String text, boolean hideTextAfterDoubleHash) static ImVec2calcTextSize(String text, boolean hideTextAfterDoubleHash, float wrapWidth) static ImVec2calcTextSize(String text, float wrapWidth) static floatcalcTextSizeX(String text) static floatcalcTextSizeX(String text, boolean hideTextAfterDoubleHash) static floatcalcTextSizeX(String text, boolean hideTextAfterDoubleHash, float wrapWidth) static floatcalcTextSizeX(String text, float wrapWidth) static floatcalcTextSizeY(String text) static floatcalcTextSizeY(String text, boolean hideTextAfterDoubleHash) static floatcalcTextSizeY(String text, boolean hideTextAfterDoubleHash, float wrapWidth) static floatcalcTextSizeY(String text, float wrapWidth) static booleanstatic booleanstatic booleancheckboxFlags(String label, ImInt flags, int flagsValue) static voidManually close the popup we have begin-ed into.static booleancollapsingHeader(String label) If returning 'true' the header is open.static booleancollapsingHeader(String label, int imGuiTreeNodeFlags) If returning 'true' the header is open.static booleancollapsingHeader(String label, ImBoolean pVisible) When 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.static booleancollapsingHeader(String label, ImBoolean pVisible, int imGuiTreeNodeFlags) When 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.static booleancolorButton(String descId, float[] col) Deprecated.static booleancolorButton(String descId, float[] col, float sizeX, float sizeY) Deprecated.static booleancolorButton(String descId, float[] col, int imGuiColorEditFlags) Deprecated.static booleancolorButton(String descId, float[] col, int imGuiColorEditFlags, float sizeX, float sizeY) Deprecated.static booleancolorButton(String descId, float[] col, int imGuiColorEditFlags, ImVec2 size) Deprecated.static booleancolorButton(String descId, float[] col, ImVec2 size) Deprecated.static booleancolorButton(String descId, float colX, float colY, float colZ, float colW) Display a colored square/button, hover for details, return true when pressed.static booleancolorButton(String descId, float colX, float colY, float colZ, float colW, float sizeX, float sizeY) Display a colored square/button, hover for details, return true when pressed.static booleancolorButton(String descId, float colX, float colY, float colZ, float colW, int imGuiColorEditFlags) Display a colored square/button, hover for details, return true when pressed.static booleancolorButton(String descId, float colX, float colY, float colZ, float colW, int imGuiColorEditFlags, float sizeX, float sizeY) Display a colored square/button, hover for details, return true when pressed.static booleancolorButton(String descId, ImVec4 col) Display a colored square/button, hover for details, return true when pressed.static booleancolorButton(String descId, ImVec4 col, int imGuiColorEditFlags) Display a colored square/button, hover for details, return true when pressed.static booleancolorButton(String descId, ImVec4 col, int imGuiColorEditFlags, ImVec2 size) Display a colored square/button, hover for details, return true when pressed.static booleancolorButton(String descId, ImVec4 col, ImVec2 size) Display a colored square/button, hover for details, return true when pressed.static intcolorConvertFloat4ToU32(float inX, float inY, float inZ, float inW) static intstatic voidcolorConvertHSVtoRGB(float[] hsv, float[] rgb) static voidcolorConvertRGBtoHSV(float[] rgb, float[] hsv) static ImVec4colorConvertU32ToFloat4(int in) static voidcolorConvertU32ToFloat4(ImVec4 dst, int in) static floatcolorConvertU32ToFloat4W(int in) static floatcolorConvertU32ToFloat4X(int in) static floatcolorConvertU32ToFloat4Y(int in) static floatcolorConvertU32ToFloat4Z(int in) static booleancolorEdit3(String label, float[] col) static booleancolorEdit3(String label, float[] col, int imGuiColorEditFlags) static booleancolorEdit4(String label, float[] col) static booleancolorEdit4(String label, float[] col, int imGuiColorEditFlags) static booleancolorPicker3(String label, float[] col) static booleancolorPicker3(String label, float[] col, int imGuiColorEditFlags) static booleancolorPicker4(String label, float[] col) static booleancolorPicker4(String label, float[] col, float[] refCol) static booleancolorPicker4(String label, float[] col, int imGuiColorEditFlags) static booleancolorPicker4(String label, float[] col, int imGuiColorEditFlags, float[] refCol) static voidcolumns()static voidcolumns(boolean border) static voidcolumns(int count) static voidcolumns(int count, boolean border) static voidstatic voidstatic voidstatic booleanSeparate items with \0 within a string, end item-list with \0\0.static booleanstatic booleanstatic booleanSeparate items with \0 within a string, end item-list with \0\0.static ImGuiContextstatic ImGuiContextcreateContext(ImFontAtlas sharedFontAtlas) static booleandebugCheckVersionAndDataLayout(String versionStr, int szIo, int szStyle, int szVec2, int szVec4, int szDrawVert, int szDrawIdx) static voiddebugFlashStyleColor(int idx) static voidstatic voiddebugTextEncoding(String text) static voidstatic voidstatic voidCall DestroyWindow platform functions for all viewports.static intdockSpace(int dockspaceId) static intdockSpace(int dockspaceId, float sizeX, float sizeY) static intdockSpace(int dockspaceId, float sizeX, float sizeY, int imGuiDockNodeFlags) static intdockSpace(int dockspaceId, float sizeX, float sizeY, int imGuiDockNodeFlags, ImGuiWindowClass windowClass) static intdockSpace(int dockspaceId, float sizeX, float sizeY, ImGuiWindowClass windowClass) static intdockSpace(int dockspaceId, int imGuiDockNodeFlags, ImGuiWindowClass windowClass) static intdockSpace(int dockspaceId, ImGuiWindowClass windowClass) static intstatic intstatic intdockSpace(int dockspaceId, ImVec2 size, int imGuiDockNodeFlags, ImGuiWindowClass windowClass) static intdockSpace(int dockspaceId, ImVec2 size, ImGuiWindowClass windowClass) static intstatic intdockSpaceOverViewport(int dockspaceId) static intdockSpaceOverViewport(int dockspaceId, ImGuiViewport viewport) static intdockSpaceOverViewport(int dockspaceId, ImGuiViewport viewport, int imGuiDockNodeFlags) static intdockSpaceOverViewport(int dockspaceId, ImGuiViewport viewport, int imGuiDockNodeFlags, ImGuiWindowClass windowClass) static intdockSpaceOverViewport(int dockspaceId, ImGuiViewport viewport, ImGuiWindowClass windowClass) static intdockSpaceOverViewport(ImGuiViewport viewport, int imGuiDockNodeFlags, ImGuiWindowClass windowClass) static booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleandragFloat(String label, float[] v, float vSpeed, float vMin, float vMax, String format, int imGuiSliderFlags) IfvMin >= vMaxwe have no boundstatic booleandragFloat2(String label, float[] v) static booleandragFloat2(String label, float[] v, float vSpeed) static booleandragFloat2(String label, float[] v, float vSpeed, float vMin) static booleandragFloat2(String label, float[] v, float vSpeed, float vMin, float vMax) static booleandragFloat2(String label, float[] v, float vSpeed, float vMin, float vMax, int imGuiSliderFlags) static booleandragFloat2(String label, float[] v, float vSpeed, float vMin, float vMax, String format) static booleandragFloat2(String label, float[] v, float vSpeed, float vMin, float vMax, String format, int imGuiSliderFlags) static booleandragFloat3(String label, float[] v) static booleandragFloat3(String label, float[] v, float vSpeed) static booleandragFloat3(String label, float[] v, float vSpeed, float vMin) static booleandragFloat3(String label, float[] v, float vSpeed, float vMin, float vMax) static booleandragFloat3(String label, float[] v, float vSpeed, float vMin, float vMax, int imGuiSliderFlags) static booleandragFloat3(String label, float[] v, float vSpeed, float vMin, float vMax, String format) static booleandragFloat3(String label, float[] v, float vSpeed, float vMin, float vMax, String format, int imGuiSliderFlags) static booleandragFloat4(String label, float[] v) static booleandragFloat4(String label, float[] v, float vSpeed) static booleandragFloat4(String label, float[] v, float vSpeed, float vMin) static booleandragFloat4(String label, float[] v, float vSpeed, float vMin, float vMax) static booleandragFloat4(String label, float[] v, float vSpeed, float vMin, float vMax, int imGuiSliderFlags) static booleandragFloat4(String label, float[] v, float vSpeed, float vMin, float vMax, String format) static booleandragFloat4(String label, float[] v, float vSpeed, float vMin, float vMax, String format, int imGuiSliderFlags) static booleandragFloatRange2(String label, float[] vCurrentMin, float[] vCurrentMax, float vSpeed) static booleandragFloatRange2(String label, float[] vCurrentMin, float[] vCurrentMax, float vSpeed, float vMin) static booleandragFloatRange2(String label, float[] vCurrentMin, float[] vCurrentMax, float vSpeed, float vMin, float vMax) static booleandragFloatRange2(String label, float[] vCurrentMin, float[] vCurrentMax, float vSpeed, float vMin, float vMax, String format) static booleandragFloatRange2(String label, float[] vCurrentMin, float[] vCurrentMax, float vSpeed, float vMin, float vMax, String format, String formatMax) static booleandragFloatRange2(String label, float[] vCurrentMin, float[] vCurrentMax, float vSpeed, float vMin, float vMax, String format, String formatMax, int imGuiSliderFlags) static booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleanIfvMin >= vMaxwe have no boundstatic booleandragInt(String label, int[] v, float vSpeed, int vMin, int vMax, String format, int imGuiSliderFlags) IfvMin >= vMaxwe have no boundstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleandragInt2(String label, int[] v, float vSpeed, int vMin, int vMax, String format, int imGuiSliderFlags) static booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleandragInt3(String label, int[] v, float vSpeed, int vMin, int vMax, String format, int imGuiSliderFlags) static booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleandragInt4(String label, int[] v, float vSpeed, int vMin, int vMax, String format, int imGuiSliderFlags) static booleandragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax) static booleandragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax, float vSpeed) static booleandragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax, float vSpeed, int vMin) static booleandragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax, float vSpeed, int vMin, int vMax) static booleandragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax, float vSpeed, int vMin, int vMax, String format) static booleandragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax, float vSpeed, int vMin, int vMax, String format, String formatMax) static booleandragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax, float vSpeed, int vMin, int vMax, String format, String formatMax, int imGuiSliderFlags) static booleandragScalar(String label, double[] pData) static booleandragScalar(String label, double[] pData, float vSpeed) static booleandragScalar(String label, double[] pData, float vSpeed, double pMin) static booleandragScalar(String label, double[] pData, float vSpeed, double pMin, double pMax) static booleandragScalar(String label, double[] pData, float vSpeed, double pMin, double pMax, String format) static booleandragScalar(String label, double[] pData, float vSpeed, double pMin, double pMax, String format, int imGuiSliderFlags) static booleandragScalar(String label, float[] pData) static booleandragScalar(String label, float[] pData, float vSpeed) static booleandragScalar(String label, float[] pData, float vSpeed, float pMin) static booleandragScalar(String label, float[] pData, float vSpeed, float pMin, float pMax) static booleandragScalar(String label, float[] pData, float vSpeed, float pMin, float pMax, String format) static booleandragScalar(String label, float[] pData, float vSpeed, float pMin, float pMax, String format, int imGuiSliderFlags) static booleandragScalar(String label, int[] pData) static booleandragScalar(String label, int[] pData, float vSpeed) static booleandragScalar(String label, int[] pData, float vSpeed, int pMin) static booleandragScalar(String label, int[] pData, float vSpeed, int pMin, int pMax) static booleandragScalar(String label, int[] pData, float vSpeed, int pMin, int pMax, String format) static booleandragScalar(String label, int[] pData, float vSpeed, int pMin, int pMax, String format, int imGuiSliderFlags) static booleandragScalar(String label, long[] pData) static booleandragScalar(String label, long[] pData, float vSpeed) static booleandragScalar(String label, long[] pData, float vSpeed, long pMin) static booleandragScalar(String label, long[] pData, float vSpeed, long pMin, long pMax) static booleandragScalar(String label, long[] pData, float vSpeed, long pMin, long pMax, String format) static booleandragScalar(String label, long[] pData, float vSpeed, long pMin, long pMax, String format, int imGuiSliderFlags) static booleandragScalar(String label, short[] pData) static booleandragScalar(String label, short[] pData, float vSpeed) static booleandragScalar(String label, short[] pData, float vSpeed, short pMin) static booleandragScalar(String label, short[] pData, float vSpeed, short pMin, short pMax) static booleandragScalar(String label, short[] pData, float vSpeed, short pMin, short pMax, String format) static booleandragScalar(String label, short[] pData, float vSpeed, short pMin, short pMax, String format, int imGuiSliderFlags) static booleandragScalarN(String label, double[] pData, int components) static booleandragScalarN(String label, double[] pData, int components, float vSpeed) static booleandragScalarN(String label, double[] pData, int components, float vSpeed, double pMin) static booleandragScalarN(String label, double[] pData, int components, float vSpeed, double pMin, double pMax) static booleandragScalarN(String label, double[] pData, int components, float vSpeed, double pMin, double pMax, String format) static booleandragScalarN(String label, double[] pData, int components, float vSpeed, double pMin, double pMax, String format, int imGuiSliderFlags) static booleandragScalarN(String label, float[] pData, int components) static booleandragScalarN(String label, float[] pData, int components, float vSpeed) static booleandragScalarN(String label, float[] pData, int components, float vSpeed, float pMin) static booleandragScalarN(String label, float[] pData, int components, float vSpeed, float pMin, float pMax) static booleandragScalarN(String label, float[] pData, int components, float vSpeed, float pMin, float pMax, String format) static booleandragScalarN(String label, float[] pData, int components, float vSpeed, float pMin, float pMax, String format, int imGuiSliderFlags) static booleandragScalarN(String label, int[] pData, int components) static booleandragScalarN(String label, int[] pData, int components, float vSpeed) static booleandragScalarN(String label, int[] pData, int components, float vSpeed, int pMin) static booleandragScalarN(String label, int[] pData, int components, float vSpeed, int pMin, int pMax) static booleandragScalarN(String label, int[] pData, int components, float vSpeed, int pMin, int pMax, String format) static booleandragScalarN(String label, int[] pData, int components, float vSpeed, int pMin, int pMax, String format, int imGuiSliderFlags) static booleandragScalarN(String label, long[] pData, int components) static booleandragScalarN(String label, long[] pData, int components, float vSpeed) static booleandragScalarN(String label, long[] pData, int components, float vSpeed, long pMin) static booleandragScalarN(String label, long[] pData, int components, float vSpeed, long pMin, long pMax) static booleandragScalarN(String label, long[] pData, int components, float vSpeed, long pMin, long pMax, String format) static booleandragScalarN(String label, long[] pData, int components, float vSpeed, long pMin, long pMax, String format, int imGuiSliderFlags) static booleandragScalarN(String label, short[] pData, int components) static booleandragScalarN(String label, short[] pData, int components, float vSpeed) static booleandragScalarN(String label, short[] pData, int components, float vSpeed, short pMin) static booleandragScalarN(String label, short[] pData, int components, float vSpeed, short pMin, short pMax) static booleandragScalarN(String label, short[] pData, int components, float vSpeed, short pMin, short pMax, String format) static booleandragScalarN(String label, short[] pData, int components, float vSpeed, short pMin, short pMax, String format, int imGuiSliderFlags) static voiddummy(float sizeX, float sizeY) Add a dummy item of given size.static voidAdd a dummy item of given size.static voidend()static voidendChild()static voidendCombo()Only call EndCombo() if BeginCombo() returns true!static voidstatic voidOnly call EndDragDropSource() if BeginDragDropSource() returns true!static voidOnly call EndDragDropTarget() if BeginDragDropTarget() returns true!static voidendFrame()Ends the Dear ImGui frame.static voidendGroup()Unlock horizontal starting position + capture the whole group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.)static voidOnly call EndListBox() if BeginListBox() returned true!static voidOnly call EndMainMenuBar() if BeginMainMenuBar() returns true!static voidendMenu()Only call EndMenu() if BeginMenu() returns true!static voidOnly call EndMenuBar() if BeginMenuBar() returns true!static voidendPopup()Only call EndPopup() if BeginPopupXXX() returns true!static voidOnly call EndTabBar() if BeginTabBar() returns true!static voidOnly call EndTabItem() if BeginTabItem() returns true!static voidendTable()Only call EndTable() if BeginTable() returns true!static voidOnly call EndTooltip() if BeginTooltip()/BeginItemTooltip() returns true!static ImGuiViewportfindViewportByID(int imGuiID) This is a helper for backends.static ImGuiViewportfindViewportByPlatformHandle(long platformHandle) This is a helper for backends.static ImDrawListGet background draw list for the given viewport or viewport associated to the current window.static ImDrawListgetBackgroundDrawList(ImGuiViewport viewport) Get background draw list for the given viewport or viewport associated to the current window.static Stringstatic intgetColorU32(float colX, float colY, float colZ, float colW) Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList.static intgetColorU32(int idx) Retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList.static intgetColorU32(int idx, float alphaMul) Retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList.static intgetColorU32(ImVec4 col) Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList.static intgetColorU32i(int col) Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList.static intgetColorU32i(int col, float alphaMul) Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList.static intGet current column indexstatic floatGet position of column line (in pixels, from the left side of the contents region).static floatgetColumnOffset(int columnIndex) Get position of column line (in pixels, from the left side of the contents region).static intstatic floatGet column width (in pixels).static floatgetColumnWidth(int columnIndex) Get column width (in pixels).static ImVec2== GetContentRegionMax() - GetCursorPos()static void== GetContentRegionMax() - GetCursorPos()static float== GetContentRegionMax() - GetCursorPos()static float== GetContentRegionMax() - GetCursorPos()static ImVec2Current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinatesstatic voidCurrent content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinatesstatic floatCurrent content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinatesstatic floatCurrent content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinatesstatic ImGuiContextstatic ImVec2Cursor position in window coordinates (relative to window position)static voidgetCursorPos(ImVec2 dst) Cursor position in window coordinates (relative to window position)static floatCursor position in window coordinates (relative to window position)static floatCursor position in window coordinates (relative to window position)static ImVec2Cursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API).static voidgetCursorScreenPos(ImVec2 dst) Cursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API).static floatCursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API).static floatCursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API).static ImVec2Initial cursor position in window coordinatesstatic voidgetCursorStartPos(ImVec2 dst) Initial cursor position in window coordinatesstatic floatInitial cursor position in window coordinatesstatic floatInitial cursor position in window coordinatesstatic <T> TPeek directly into the current payload from anywhere.static <T> TgetDragDropPayload(Class<T> aClass) Binding alternative forgetDragDropPayload(String), which uses payload class as a unique identifier.static <T> TgetDragDropPayload(String dataType) Peek directly into the current payload from anywhere.static ImDrawDataValid after Render() and until the next call to NewFrame().static ImFontgetFont()Get current font.static intGet current font size (= height in pixels) of current font with current scale appliedstatic ImVec2Get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList APIstatic voidGet UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList APIstatic floatGet UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList APIstatic floatGet UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList APIstatic ImDrawListGet foreground draw list for the given viewport or viewport associated to the current window.static ImDrawListgetForegroundDrawList(ImGuiViewport viewport) Get foreground draw list for the given viewport or viewport associated to the current window.static intGet global imgui frame count.static float~ FontSize + style.FramePadding.y * 2static float~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets)static intgetID(long ptrId) Calculate unique ID (hash of whole ID stack + given parameter).static intCalculate unique ID (hash of whole ID stack + given parameter).static intCalculate unique ID (hash of whole ID stack + given parameter).static ImGuiIOgetIO()Access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags).static intGet generic flags of last item (since imgui 1.91).static intGet ID of last item (~~ often same ImGui::GetID(label) beforehand)static ImVec2Get lower-right bounding rectangle of the last item (screen space)static voidgetItemRectMax(ImVec2 dst) Get lower-right bounding rectangle of the last item (screen space)static floatGet lower-right bounding rectangle of the last item (screen space)static floatGet lower-right bounding rectangle of the last item (screen space)static ImVec2Get upper-left bounding rectangle of the last item (screen space)static voidgetItemRectMin(ImVec2 dst) Get upper-left bounding rectangle of the last item (screen space)static floatGet upper-left bounding rectangle of the last item (screen space)static floatGet upper-left bounding rectangle of the last item (screen space)static ImVec2Get size of last itemstatic voidgetItemRectSize(ImVec2 dst) Get size of last itemstatic floatGet size of last itemstatic floatGet size of last itemstatic StringgetKeyName(int key) [DEBUG] returns English name of the key.static booleangetKeyPressedAmount(int key, float repeatDelay, float rate) Uses provided repeat rate/delay.static ImGuiViewportReturn primary/default viewport.static intgetMouseClickedCount(int button) Return the number of successive mouse-clicks at the time where a click happen (otherwise 0).static intGet desired mouse cursor shape.static ImVec2Return the delta from the initial clicking position while the mouse button is pressed or was just released.static ImVec2getMouseDragDelta(int button) Return the delta from the initial clicking position while the mouse button is pressed or was just released.static ImVec2getMouseDragDelta(int button, float lockThreshold) Return the delta from the initial clicking position while the mouse button is pressed or was just released.static voidgetMouseDragDelta(ImVec2 dst) Return the delta from the initial clicking position while the mouse button is pressed or was just released.static voidgetMouseDragDelta(ImVec2 dst, int button) Return the delta from the initial clicking position while the mouse button is pressed or was just released.static voidgetMouseDragDelta(ImVec2 dst, int button, float lockThreshold) Return the delta from the initial clicking position while the mouse button is pressed or was just released.static floatReturn the delta from the initial clicking position while the mouse button is pressed or was just released.static floatgetMouseDragDeltaX(int button) Return the delta from the initial clicking position while the mouse button is pressed or was just released.static floatgetMouseDragDeltaX(int button, float lockThreshold) Return the delta from the initial clicking position while the mouse button is pressed or was just released.static floatReturn the delta from the initial clicking position while the mouse button is pressed or was just released.static floatgetMouseDragDeltaY(int button) Return the delta from the initial clicking position while the mouse button is pressed or was just released.static floatgetMouseDragDeltaY(int button, float lockThreshold) Return the delta from the initial clicking position while the mouse button is pressed or was just released.static ImVec2Shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other callsstatic voidgetMousePos(ImVec2 dst) Shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other callsstatic ImVec2Retrieve backup of mouse position at the time of opening popup we have BeginPopup() intostatic voidRetrieve backup of mouse position at the time of opening popup we have BeginPopup() intostatic floatRetrieve backup of mouse position at the time of opening popup we have BeginPopup() intostatic floatRetrieve backup of mouse position at the time of opening popup we have BeginPopup() intostatic floatShortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other callsstatic floatShortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other callsstatic ImGuiPlatformIOPlatform/renderer functions, for backend to setup + viewports list.static floatGet maximum scrolling amount ~~ ContentSize.x - WindowSize.x - DecorationsSize.xstatic floatGet maximum scrolling amount ~~ ContentSize.y - WindowSize.y - DecorationsSize.ystatic floatGet scrolling amount [0 ..static floatGet scrolling amount [0 ..static ImGuiStoragestatic ImGuiStylegetStyle()Access the Style structure (colors, sizes).static StringgetStyleColorName(int imGuiColIdx) Get a string corresponding to the enum value (for display, saving, etc.).static ImVec4getStyleColorVec4(int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure.static voidgetStyleColorVec4(ImVec4 dst, int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure.static floatgetStyleColorVec4W(int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure.static floatgetStyleColorVec4X(int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure.static floatgetStyleColorVec4Y(int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure.static floatgetStyleColorVec4Z(int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure.static float~ FontSizestatic float~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text)static doublegetTime()Get global imgui time.static floatHorizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNodestatic StringGet the compiled version string e.g.static ImVec2Content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinatesstatic voidContent boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinatesstatic floatContent boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinatesstatic floatContent boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinatesstatic ImVec2Content boundaries min for the full window (roughly (0,0)-Scroll), in window coordinatesstatic voidContent boundaries min for the full window (roughly (0,0)-Scroll), in window coordinatesstatic floatContent boundaries min for the full window (roughly (0,0)-Scroll), in window coordinatesstatic floatContent boundaries min for the full window (roughly (0,0)-Scroll), in window coordinatesstatic intstatic floatGet DPI scale currently associated to the current window's viewport.static ImDrawListGet draw list associated to the current window, to append your own drawing primitivesstatic floatGet current window height (shortcut for GetWindowSize().y)static ImVec2Get current window position in screen space (note: it is unlikely you need to use this.static voidgetWindowPos(ImVec2 dst) Get current window position in screen space (note: it is unlikely you need to use this.static floatGet current window position in screen space (note: it is unlikely you need to use this.static floatGet current window position in screen space (note: it is unlikely you need to use this.static ImVec2Get current window size (note: it is unlikely you need to use this.static voidgetWindowSize(ImVec2 dst) Get current window size (note: it is unlikely you need to use this.static floatGet current window size (note: it is unlikely you need to use this.static floatGet current window size (note: it is unlikely you need to use this.static ImGuiViewportGet viewport currently associated to the current window.static floatGet current window width (shortcut for GetWindowSize().x)static voidimage(long userTextureId, float imageSizeX, float imageSizeY) static voidimage(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y) static voidimage(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y) static voidstatic voidstatic voidstatic booleanimageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY) static booleanimageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y) static booleanimageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y) static booleanimageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float bgColX, float bgColY, float bgColZ, float bgColW) static booleanimageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float bgColX, float bgColY, float bgColZ, float bgColW, float tintColX, float tintColY, float tintColZ, float tintColW) static booleanimageButton(String strId, long userTextureId, ImVec2 imageSize) static booleanimageButton(String strId, long userTextureId, ImVec2 imageSize, ImVec2 uv0) static booleanimageButton(String strId, long userTextureId, ImVec2 imageSize, ImVec2 uv0, ImVec2 uv1) static booleanimageButton(String strId, long userTextureId, ImVec2 imageSize, ImVec2 uv0, ImVec2 uv1, ImVec4 bgCol) static booleanimageButton(String strId, long userTextureId, ImVec2 imageSize, ImVec2 uv0, ImVec2 uv1, ImVec4 bgCol, ImVec4 tintCol) static voidimageWithBg(long userTextureId, float imageSizeX, float imageSizeY) static voidimageWithBg(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y) static voidimageWithBg(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y) static voidimageWithBg(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float bgColX, float bgColY, float bgColZ, float bgColW) static voidimageWithBg(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float bgColX, float bgColY, float bgColZ, float bgColW, float tintColX, float tintColY, float tintColZ, float tintColW) static voidimageWithBg(long userTextureId, ImVec2 imageSize) static voidimageWithBg(long userTextureId, ImVec2 imageSize, ImVec2 uv0) static voidimageWithBg(long userTextureId, ImVec2 imageSize, ImVec2 uv0, ImVec2 uv1) static voidimageWithBg(long userTextureId, ImVec2 imageSize, ImVec2 uv0, ImVec2 uv1, ImVec4 bgCol) static voidimageWithBg(long userTextureId, ImVec2 imageSize, ImVec2 uv0, ImVec2 uv1, ImVec4 bgCol, ImVec4 tintCol) static voidindent()Move content position toward the right, by indent_w, or style.IndentSpacing if indent_w<= 0.static voidindent(float indentW) Move content position toward the right, by indent_w, or style.IndentSpacing if indent_w<= 0.static voidinit()For internal usage.static booleaninputDouble(String label, ImDouble v) static booleaninputDouble(String label, ImDouble v, double step) static booleaninputDouble(String label, ImDouble v, double step, double stepFast) static booleaninputDouble(String label, ImDouble v, double step, double stepFast, int imGuiInputTextFlags) static booleaninputDouble(String label, ImDouble v, double step, double stepFast, String format) static booleaninputDouble(String label, ImDouble v, double step, double stepFast, String format, int imGuiInputTextFlags) static booleaninputFloat(String label, ImFloat v) static booleaninputFloat(String label, ImFloat v, float step) static booleaninputFloat(String label, ImFloat v, float step, float stepFast) static booleaninputFloat(String label, ImFloat v, float step, float stepFast, int imGuiInputTextFlags) static booleaninputFloat(String label, ImFloat v, float step, float stepFast, String format) static booleaninputFloat(String label, ImFloat v, float step, float stepFast, String format, int imGuiInputTextFlags) static booleaninputFloat2(String label, float[] v) static booleaninputFloat2(String label, float[] v, int imGuiInputTextFlags) static booleaninputFloat2(String label, float[] v, String format) static booleaninputFloat2(String label, float[] v, String format, int imGuiInputTextFlags) static booleaninputFloat3(String label, float[] v) static booleaninputFloat3(String label, float[] v, int imGuiInputTextFlags) static booleaninputFloat3(String label, float[] v, String format) static booleaninputFloat3(String label, float[] v, String format, int imGuiInputTextFlags) static booleaninputFloat4(String label, float[] v) static booleaninputFloat4(String label, float[] v, int imGuiInputTextFlags) static booleaninputFloat4(String label, float[] v, String format) static booleaninputFloat4(String label, float[] v, String format, int imGuiInputTextFlags) static booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleaninputScalar(String label, int dataType, ImDouble pData) static booleaninputScalar(String label, int dataType, ImDouble pData, double pStep) static booleaninputScalar(String label, int dataType, ImDouble pData, double pStep, double pStepFast) static booleaninputScalar(String label, int dataType, ImDouble pData, double pStep, double pStepFast, String format) static booleaninputScalar(String label, int dataType, ImDouble pData, double pStep, double pStepFast, String format, int imGuiSliderFlags) static booleaninputScalar(String label, int dataType, ImFloat pData) static booleaninputScalar(String label, int dataType, ImFloat pData, float pStep) static booleaninputScalar(String label, int dataType, ImFloat pData, float pStep, float pStepFast) static booleaninputScalar(String label, int dataType, ImFloat pData, float pStep, float pStepFast, String format) static booleaninputScalar(String label, int dataType, ImFloat pData, float pStep, float pStepFast, String format, int imGuiSliderFlags) static booleaninputScalar(String label, int dataType, ImInt pData) static booleaninputScalar(String label, int dataType, ImInt pData, int pStep) static booleaninputScalar(String label, int dataType, ImInt pData, int pStep, int pStepFast) static booleaninputScalar(String label, int dataType, ImInt pData, int pStep, int pStepFast, String format) static booleaninputScalar(String label, int dataType, ImInt pData, int pStep, int pStepFast, String format, int imGuiSliderFlags) static booleaninputScalar(String label, int dataType, ImLong pData) static booleaninputScalar(String label, int dataType, ImLong pData, long pStep) static booleaninputScalar(String label, int dataType, ImLong pData, long pStep, long pStepFast) static booleaninputScalar(String label, int dataType, ImLong pData, long pStep, long pStepFast, String format) static booleaninputScalar(String label, int dataType, ImLong pData, long pStep, long pStepFast, String format, int imGuiSliderFlags) static booleaninputScalar(String label, int dataType, ImShort pData) static booleaninputScalar(String label, int dataType, ImShort pData, short pStep) static booleaninputScalar(String label, int dataType, ImShort pData, short pStep, short pStepFast) static booleaninputScalar(String label, int dataType, ImShort pData, short pStep, short pStepFast, String format) static booleaninputScalar(String label, int dataType, ImShort pData, short pStep, short pStepFast, String format, int imGuiSliderFlags) static booleaninputScalar(String label, ImDouble pData) static booleaninputScalar(String label, ImDouble pData, double pStep) static booleaninputScalar(String label, ImDouble pData, double pStep, double pStepFast) static booleaninputScalar(String label, ImDouble pData, double pStep, double pStepFast, String format) static booleaninputScalar(String label, ImDouble pData, double pStep, double pStepFast, String format, int imGuiSliderFlags) static booleaninputScalar(String label, ImFloat pData) static booleaninputScalar(String label, ImFloat pData, float pStep) static booleaninputScalar(String label, ImFloat pData, float pStep, float pStepFast) static booleaninputScalar(String label, ImFloat pData, float pStep, float pStepFast, String format) static booleaninputScalar(String label, ImFloat pData, float pStep, float pStepFast, String format, int imGuiSliderFlags) static booleaninputScalar(String label, ImInt pData) static booleaninputScalar(String label, ImInt pData, int pStep) static booleaninputScalar(String label, ImInt pData, int pStep, int pStepFast) static booleaninputScalar(String label, ImInt pData, int pStep, int pStepFast, String format) static booleaninputScalar(String label, ImInt pData, int pStep, int pStepFast, String format, int imGuiSliderFlags) static booleaninputScalar(String label, ImLong pData) static booleaninputScalar(String label, ImLong pData, long pStep) static booleaninputScalar(String label, ImLong pData, long pStep, long pStepFast) static booleaninputScalar(String label, ImLong pData, long pStep, long pStepFast, String format) static booleaninputScalar(String label, ImLong pData, long pStep, long pStepFast, String format, int imGuiSliderFlags) static booleaninputScalar(String label, ImShort pData) static booleaninputScalar(String label, ImShort pData, short pStep) static booleaninputScalar(String label, ImShort pData, short pStep, short pStepFast) static booleaninputScalar(String label, ImShort pData, short pStep, short pStepFast, String format) static booleaninputScalar(String label, ImShort pData, short pStep, short pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, double[] pData, int components) static booleaninputScalarN(String label, double[] pData, int components, double pStep) static booleaninputScalarN(String label, double[] pData, int components, double pStep, double pStepFast) static booleaninputScalarN(String label, double[] pData, int components, double pStep, double pStepFast, String format) static booleaninputScalarN(String label, double[] pData, int components, double pStep, double pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, float[] pData, int components) static booleaninputScalarN(String label, float[] pData, int components, float pStep) static booleaninputScalarN(String label, float[] pData, int components, float pStep, float pStepFast) static booleaninputScalarN(String label, float[] pData, int components, float pStep, float pStepFast, String format) static booleaninputScalarN(String label, float[] pData, int components, float pStep, float pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, int[] pData, int components) static booleaninputScalarN(String label, int[] pData, int components, int pStep) static booleaninputScalarN(String label, int[] pData, int components, int pStep, int pStepFast) static booleaninputScalarN(String label, int[] pData, int components, int pStep, int pStepFast, String format) static booleaninputScalarN(String label, int[] pData, int components, int pStep, int pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, int dataType, double[] pData, int components) static booleaninputScalarN(String label, int dataType, double[] pData, int components, double pStep) static booleaninputScalarN(String label, int dataType, double[] pData, int components, double pStep, double pStepFast) static booleaninputScalarN(String label, int dataType, double[] pData, int components, double pStep, double pStepFast, String format) static booleaninputScalarN(String label, int dataType, double[] pData, int components, double pStep, double pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, int dataType, float[] pData, int components) static booleaninputScalarN(String label, int dataType, float[] pData, int components, float pStep) static booleaninputScalarN(String label, int dataType, float[] pData, int components, float pStep, float pStepFast) static booleaninputScalarN(String label, int dataType, float[] pData, int components, float pStep, float pStepFast, String format) static booleaninputScalarN(String label, int dataType, float[] pData, int components, float pStep, float pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, int dataType, int[] pData, int components) static booleaninputScalarN(String label, int dataType, int[] pData, int components, int pStep) static booleaninputScalarN(String label, int dataType, int[] pData, int components, int pStep, int pStepFast) static booleaninputScalarN(String label, int dataType, int[] pData, int components, int pStep, int pStepFast, String format) static booleaninputScalarN(String label, int dataType, int[] pData, int components, int pStep, int pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, int dataType, long[] pData, int components) static booleaninputScalarN(String label, int dataType, long[] pData, int components, long pStep) static booleaninputScalarN(String label, int dataType, long[] pData, int components, long pStep, long pStepFast) static booleaninputScalarN(String label, int dataType, long[] pData, int components, long pStep, long pStepFast, String format) static booleaninputScalarN(String label, int dataType, long[] pData, int components, long pStep, long pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, int dataType, short[] pData, int components) static booleaninputScalarN(String label, int dataType, short[] pData, int components, short pStep) static booleaninputScalarN(String label, int dataType, short[] pData, int components, short pStep, short pStepFast) static booleaninputScalarN(String label, int dataType, short[] pData, int components, short pStep, short pStepFast, String format) static booleaninputScalarN(String label, int dataType, short[] pData, int components, short pStep, short pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, long[] pData, int components) static booleaninputScalarN(String label, long[] pData, int components, long pStep) static booleaninputScalarN(String label, long[] pData, int components, long pStep, long pStepFast) static booleaninputScalarN(String label, long[] pData, int components, long pStep, long pStepFast, String format) static booleaninputScalarN(String label, long[] pData, int components, long pStep, long pStepFast, String format, int imGuiSliderFlags) static booleaninputScalarN(String label, short[] pData, int components) static booleaninputScalarN(String label, short[] pData, int components, short pStep) static booleaninputScalarN(String label, short[] pData, int components, short pStep, short pStepFast) static booleaninputScalarN(String label, short[] pData, int components, short pStep, short pStepFast, String format) static booleaninputScalarN(String label, short[] pData, int components, short pStep, short pStepFast, String format, int imGuiSliderFlags) static booleanstatic booleanstatic booleaninputText(String label, ImString text, int imGuiInputTextFlags, ImGuiInputTextCallback callback) static booleaninputTextMultiline(String label, ImString text) static booleaninputTextMultiline(String label, ImString text, float width, float height) static booleaninputTextMultiline(String label, ImString text, float width, float height, int imGuiInputTextFlags) static booleaninputTextMultiline(String label, ImString text, float width, float height, int imGuiInputTextFlags, ImGuiInputTextCallback callback) static booleaninputTextMultiline(String label, ImString text, int imGuiInputTextFlags) static booleaninputTextMultiline(String label, ImString text, int imGuiInputTextFlags, ImGuiInputTextCallback callback) static booleaninputTextWithHint(String label, String hint, ImString text) static booleaninputTextWithHint(String label, String hint, ImString text, int imGuiInputTextFlags) static booleaninputTextWithHint(String label, String hint, ImString text, int imGuiInputTextFlags, ImGuiInputTextCallback callback) static booleaninvisibleButton(String strId, float sizeX, float sizeY) Flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)static booleaninvisibleButton(String strId, float sizeX, float sizeY, int imGuiButtonFlags) Flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)static booleaninvisibleButton(String strId, ImVec2 size) Flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)static booleaninvisibleButton(String strId, ImVec2 size, int imGuiButtonFlags) Flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.)static booleanIs any item active?static booleanIs any item focused?static booleanIs any item hovered?static booleanIs any mouse button heldstatic booleanWas the last item just made active (item was previously inactive).static booleanIs the last item active? (e.g.static booleanIs the last item hovered and mouse clicked on? (**) ==IsMouseClicked(mouseButton) && IsItemHovered()Important.static booleanisItemClicked(int mouseButton) Is the last item hovered and mouse clicked on? (**) ==IsMouseClicked(mouseButton) && IsItemHovered()Important.static booleanWas the last item just made inactive (item was previously active).static booleanWas the last item just made inactive and made a value change when it was active? (e.g.static booleanDid the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets.static booleanIs the last item focused for keyboard/gamepad navigation?static booleanIs the last item hovered? (and usable, aka not blocked by a popup, etc.).static booleanisItemHovered(int imGuiHoveredFlags) Is the last item hovered? (and usable, aka not blocked by a popup, etc.).static booleanWas the last item open state toggled? set by TreeNode().static booleanWas the last item's selection state toggled? (since imgui 1.91 multi-select).static booleanIs the last item visible? (items may be out of sight because of clipping/scrolling)static booleanisKeyChordPressed(int keyChord) Was key chord (mods + key) pressed, e.g.static booleanisKeyDown(int key) Is key being held.static booleanisKeyPressed(int key) Was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRatestatic booleanisKeyPressed(int key, boolean repeat) Was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRatestatic booleanisKeyReleased(int key) Was key released (went from Down to !Down)static booleanisMouseClicked(int button) Did mouse button clicked (went from !Down to Down) (0=left, 1=right, 2=middle)static booleanisMouseClicked(int button, boolean repeat) Did mouse button clicked (went from !Down to Down) (0=left, 1=right, 2=middle)static booleanisMouseDoubleClicked(int button) did mouse button double-clicked? (note that a double-click will also report IsMouseClicked() == true).static booleanisMouseDown(int button) Is mouse button held (0=left, 1=right, 2=middle)static booleanisMouseDragging(int button) Is mouse dragging?(uses io.MouseDraggingThreshold if lock_threshold < 0.0f)static booleanisMouseDragging(int button, float lockThreshold) Is mouse dragging?(uses io.MouseDraggingThreshold if lock_threshold < 0.0f)static booleanisMouseHoveringRect(float rMinX, float rMinY, float rMaxX, float rMaxY) Is mouse hovering given bounding rect (in screen space).static booleanisMouseHoveringRect(float rMinX, float rMinY, float rMaxX, float rMaxY, boolean clip) Is mouse hovering given bounding rect (in screen space).static booleanisMouseHoveringRect(ImVec2 rMin, ImVec2 rMax) Is mouse hovering given bounding rect (in screen space).static booleanisMouseHoveringRect(ImVec2 rMin, ImVec2 rMax, boolean clip) Is mouse hovering given bounding rect (in screen space).static booleanBy convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mousestatic booleanisMousePosValid(float mousePosX, float mousePosY) By convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mousestatic booleanisMousePosValid(ImVec2 mousePos) By convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mousestatic booleanisMouseReleased(int button) Did mouse button released (went from Down to !Down)static booleanisPopupOpen(String strId) Return true if the popup is open.static booleanisPopupOpen(String strId, int imGuiPopupFlags) Return true if the popup is open.static booleanisRectVisible(float sizeX, float sizeY) Test if rectangle (of given size, starting from cursor position) is visible / not clipped.static booleanisRectVisible(float rectMinX, float rectMinY, float rectMaxX, float rectMaxY) Test if rectangle (in screen space) is visible / not clipped.static booleanisRectVisible(ImVec2 size) Test if rectangle (of given size, starting from cursor position) is visible / not clipped.static booleanisRectVisible(ImVec2 rectMin, ImVec2 rectMax) Test if rectangle (in screen space) is visible / not clipped.static booleanstatic booleanstatic booleanIs current window docked into another window?static booleanIs current window focused? or its root/child, depending on flags.static booleanisWindowFocused(int imGuiFocusedFlags) Is current window focused? or its root/child, depending on flags.static booleanIs current window hovered and hoverable (e.g.static booleanisWindowHovered(int imGuiHoveredFlags) Is current window hovered and hoverable (e.g.static voidDisplay text+label aligned the same way as value+label widgetsstatic voidstatic voidstatic voidloadIniSettingsFromDisk(String iniFilename) Call after CreateContext() and before the first call to NewFrame().static voidloadIniSettingsFromMemory(String iniData) Call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.static voidloadIniSettingsFromMemory(String iniData, int iniSize) Call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source.static voidHelper to display buttons for logging to tty/file/clipboardstatic voidStop logging (close file, etc.)static voidPass text data straight to log (without being displayed)static voidStart logging to OS clipboardstatic voidlogToClipboard(int autoOpenDepth) Start logging to OS clipboardstatic voidStart logging to filestatic voidlogToFile(int autoOpenDepth) Start logging to filestatic voidStart logging to filestatic voidStart logging to filestatic voidlogToTTY()Start logging to tty (stdout)static voidlogToTTY(int autoOpenDepth) Start logging to tty (stdout)static booleanReturn true when activated.static booleanReturn true when activated.static booleanReturn true when activated.static booleanReturn true when activated.static booleanReturn true when activated.static booleanReturn true when activated.static booleanReturn true when activated + toggle (*pSelected) if pSelected != NULLstatic booleanReturn true when activated + toggle (*pSelected) if pSelected != NULLstatic voidnColorConvertHSVtoRGB(float[] hsv, float[] rgb) static voidnColorConvertRGBtoHSV(float[] rgb, float[] hsv) static voidnewFrame()Start a new Dear ImGui frame, you can submit any command from this point until Render()/EndFrame().static voidnewLine()Undo a SameLine() or force a new line when in a horizontal-layout context.static voidNext column, defaults to current row or next row if the current row is finishedstatic voidopenPopup(int id) Id overload to facilitate calling from nested stacks.static voidopenPopup(int id, int imGuiPopupFlags) Id overload to facilitate calling from nested stacks.static voidCall to mark popup as open (don't call every frame!).static voidCall to mark popup as open (don't call every frame!).static voidHelper to open popup when clicked on last item.static voidopenPopupOnItemClick(int imGuiPopupFlags) Helper to open popup when clicked on last item.static voidopenPopupOnItemClick(String strId) Helper to open popup when clicked on last item.static voidopenPopupOnItemClick(String strId, int imGuiPopupFlags) Helper to open popup when clicked on last item.static voidplotHistogram(String label, float[] values, int valuesCount) static voidplotHistogram(String label, float[] values, int valuesCount, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) static voidplotHistogram(String label, float[] values, int valuesCount, float scaleMin, float scaleMax, ImVec2 graphSize, int stride) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, ImVec2 graphSize, int stride) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, String overlayText) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, int stride) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, ImVec2 graphSize) static voidplotHistogram(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, ImVec2 graphSize, int stride) static voidplotHistogram(String label, float[] values, int valuesCount, String overlayText, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) static voidplotHistogram(String label, float[] values, int valuesCount, String overlayText, float scaleMin, float scaleMax, ImVec2 graphSize, int stride) static voidstatic voidplotLines(String label, float[] values, int valuesCount, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) static voidplotLines(String label, float[] values, int valuesCount, float scaleMin, float scaleMax, ImVec2 graphSize, int stride) static voidstatic voidplotLines(String label, float[] values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) static voidplotLines(String label, float[] values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, ImVec2 graphSize, int stride) static voidstatic voidplotLines(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin) static voidplotLines(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax) static voidplotLines(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY) static voidplotLines(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) static voidplotLines(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, int stride) static voidplotLines(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, ImVec2 graphSize) static voidplotLines(String label, float[] values, int valuesCount, int valuesOffset, String overlayText, float scaleMin, float scaleMax, ImVec2 graphSize, int stride) static voidplotLines(String label, float[] values, int valuesCount, String overlayText, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) static voidplotLines(String label, float[] values, int valuesCount, String overlayText, float scaleMin, float scaleMax, ImVec2 graphSize, int stride) static voidstatic voidstatic voidpopFont()static voidpopID()Pop from the ID stack.static voidstatic voidstatic voidpopStyleColor(int count) static voidstatic voidpopStyleVar(int count) static voidstatic voidstatic voidprogressBar(float fraction) static voidprogressBar(float fraction, float sizeX, float sizeY) static voidprogressBar(float fraction, float sizeX, float sizeY, String overlay) static voidprogressBar(float fraction, ImVec2 size) static voidprogressBar(float fraction, ImVec2 size, String overlay) static voidprogressBar(float fraction, String overlay) static voidpushButtonRepeat(boolean repeat) In 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting).static voidpushClipRect(float clipRectMinX, float clipRectMinY, float clipRectMaxX, float clipRectMaxY, boolean intersectWithCurrentClipRect) static voidpushClipRect(ImVec2 clipRectMin, ImVec2 clipRectMax, boolean intersectWithCurrentClipRect) static voidPush a font onto the stack.static voidpushID(int intId) Push integer into the ID stack (will hash integer).static voidpushID(long ptrId) Push pointer into the ID stack (will hash pointer).static voidPush string into the ID stack (will hash string).static voidPush string into the ID stack (will hash string).static voidpushItemWidth(float itemWidth) Push width of items for common large "item+label" widgets.static voidpushStyleColor(int imGuiCol, float colX, float colY, float colZ, float colW) Modify a style color.static voidpushStyleColor(int imGuiCol, int col) Modify a style color.static voidpushStyleColor(int imGuiCol, int r, int g, int b, int a) Modify a style color.static voidpushStyleColor(int imGuiCol, ImVec4 col) Modify a style color.static voidpushStyleVar(int imGuiStyleVar, float val) Modify a style float variable.static voidpushStyleVar(int imGuiStyleVar, float valX, float valY) Modify a style ImVec2 variable.static voidpushStyleVar(int imGuiStyleVar, ImVec2 val) Modify a style ImVec2 variable.static voidpushTabStop(boolean tabStop) Tab stop enable.static voidPush Word-wrapping positions for Text*() commands.static voidpushTextWrapPos(float wrapLocalPosX) Push Word-wrapping positions for Text*() commands.static booleanradioButton(String label, boolean active) Use with e.g.static booleanradioButton(String label, ImInt v, int vButton) Shortcut to handle the above pattern when value is an integerstatic voidrender()Ends the Dear ImGui frame, finalize the draw data.static voidCall in main loop.static voidstatic voidresetMouseDragDelta(int button) static voidsameLine()Call between widgets or groups to layout them horizontally.static voidsameLine(float offsetFromStartX) Call between widgets or groups to layout them horizontally.static voidsameLine(float offsetFromStartX, float spacing) Call between widgets or groups to layout them horizontally.static voidsaveIniSettingsToDisk(String iniFilename) This is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext).static StringReturn a zero-terminated string with the .ini data which you can save by your own mean.static StringsaveIniSettingsToMemory(long outIniSize) Return a zero-terminated string with the .ini data which you can save by your own mean.static booleanselectable(String label) static booleanselectable(String label, boolean selected) static booleanselectable(String label, boolean selected, float sizeX, float sizeY) static booleanselectable(String label, boolean selected, int imGuiSelectableFlags) static booleanselectable(String label, boolean selected, int imGuiSelectableFlags, float sizeX, float sizeY) static booleanselectable(String label, boolean selected, int imGuiSelectableFlags, ImVec2 size) static booleanselectable(String label, boolean selected, ImVec2 size) static booleanselectable(String label, float sizeX, float sizeY) static booleanselectable(String label, int imGuiSelectableFlags, float sizeX, float sizeY) static booleanselectable(String label, int imGuiSelectableFlags, ImVec2 size) static booleanselectable(String label, ImVec2 size) static booleanselectable(String label, ImBoolean pSelected) static booleanselectable(String label, ImBoolean pSelected, float sizeX, float sizeY) static booleanselectable(String label, ImBoolean pSelected, int imGuiSelectableFlags) static booleanselectable(String label, ImBoolean pSelected, int imGuiSelectableFlags, float sizeX, float sizeY) static booleanselectable(String label, ImBoolean pSelected, int imGuiSelectableFlags, ImVec2 size) static booleanselectable(String label, ImBoolean pSelected, ImVec2 size) static voidSeparator, generally horizontal.static voidseparatorText(String label) Currently: formatted text with an horizontal linestatic voidsetAssertCallback(ImAssertCallback callback) Set a custom assertion callback for ImGui assertions.static voidsetClipboardText(String text) static voidsetColorEditOptions(int imGuiColorEditFlags) Initialize current options (generally on application startup) if you want to select a default format, picker type, etc.static voidsetColumnOffset(int columnIndex, float offsetX) Set position of column line (in pixels, from the left side of the contents region).static voidsetColumnWidth(int columnIndex, float width) Set column width (in pixels).static voidstatic voidsetCursorPos(float localPosX, float localPosY) Cursor position in window coordinates (relative to window position)static voidsetCursorPos(ImVec2 localPos) Cursor position in window coordinates (relative to window position)static voidsetCursorPosX(float localX) Cursor position in window coordinates (relative to window position)static voidsetCursorPosY(float localY) Cursor position in window coordinates (relative to window position)static voidsetCursorScreenPos(float posX, float posY) Cursor position in absolute coordinates.static voidsetCursorScreenPos(ImVec2 pos) Cursor position in absolute coordinates.static booleansetDragDropPayload(Object payload) Binding alternative forsetDragDropPayload(String, Object), which uses payload class as a unique identifier.static booleansetDragDropPayload(Object payload, int imGuiCond) Binding alternative forsetDragDropPayload(String, Object, int), which uses payload class as a unique identifier.static booleansetDragDropPayload(String dataType, Object payload) Type is a user defined string of maximum 32 characters.static booleansetDragDropPayload(String dataType, Object payload, int imGuiCond) Type is a user defined string of maximum 32 characters.static voidMake last item the default focused item of a window.static voidsetItemTooltip(String text) Set a text-only tooltip if preceding item was hovered.static voidFocus keyboard on the next widget.static voidsetKeyboardFocusHere(int offset) Focus keyboard on the next widget.static voidsetMouseCursor(int type) Set desired mouse cursor shapestatic voidsetNextFrameWantCaptureKeyboard(boolean wantCaptureKeyboard) Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs).static voidsetNextFrameWantCaptureMouse(boolean wantCaptureMouse) Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs).static voidAllow next item to be overlapped by a subsequent item.static voidsetNextItemOpen(boolean isOpen) Set next TreeNode/CollapsingHeader open state.static voidsetNextItemOpen(boolean isOpen, int cond) Set next TreeNode/CollapsingHeader open state.static voidsetNextItemSelectionUserData(long selectionUserData) Set selection user data for the next item, used byBeginMultiSelect/EndMultiSelect()and insideImGuiMultiSelectIO.static voidsetNextItemShortcut(int keyChord) static voidsetNextItemShortcut(int keyChord, int flags) static voidsetNextItemWidth(float itemWidth) Set width of the _next_ common large "item+label" widget.static voidsetNextWindowBgAlpha(float alpha) Set next window background color alpha.static voidsetNextWindowClass(ImGuiWindowClass windowClass) set next window class (rare/advanced uses: provide hints to the platform backend via altered viewport flags and parent/child info)static voidsetNextWindowCollapsed(boolean collapsed) Set next window collapsed state.static voidsetNextWindowCollapsed(boolean collapsed, int cond) Set next window collapsed state.static voidsetNextWindowContentSize(float sizeX, float sizeY) Set next window content size (~ scrollable client area, which enforce the range of scrollbars).static voidSet next window content size (~ scrollable client area, which enforce the range of scrollbars).static voidsetNextWindowDockID(int dockId) Set next window dock idstatic voidsetNextWindowDockID(int dockId, int imGuiCond) Set next window dock idstatic voidSet next window to be focused / top-most.static voidsetNextWindowPos(float posX, float posY) Set next window position.static voidsetNextWindowPos(float posX, float posY, float pivotX, float pivotY) Set next window position.static voidsetNextWindowPos(float posX, float posY, int cond) Set next window position.static voidsetNextWindowPos(float posX, float posY, int cond, float pivotX, float pivotY) Set next window position.static voidsetNextWindowPos(ImVec2 pos) Set next window position.static voidsetNextWindowPos(ImVec2 pos, int cond) Set next window position.static voidsetNextWindowPos(ImVec2 pos, int cond, ImVec2 pivot) Set next window position.static voidsetNextWindowPos(ImVec2 pos, ImVec2 pivot) Set next window position.static voidsetNextWindowScroll(float scrollX, float scrollY) Set next window scrolling value (use< 0.0fto not affect a given axis).static voidsetNextWindowScroll(ImVec2 scroll) Set next window scrolling value (use< 0.0fto not affect a given axis).static voidsetNextWindowSize(float sizeX, float sizeY) Set next window size.static voidsetNextWindowSize(float sizeX, float sizeY, int cond) Set next window size.static voidsetNextWindowSize(ImVec2 size) Set next window size.static voidsetNextWindowSize(ImVec2 size, int cond) Set next window size.static voidsetNextWindowSizeConstraints(float sizeMinX, float sizeMinY, float sizeMaxX, float sizeMaxY) Set next window size limits.static voidsetNextWindowSizeConstraints(ImVec2 sizeMin, ImVec2 sizeMax) Set next window size limits.static voidsetNextWindowViewport(int viewportId) Set next window viewport.static voidsetScrollFromPosX(float localX) Adjust scrolling amount to make given position visible.static voidsetScrollFromPosX(float localX, float centerXRatio) Adjust scrolling amount to make given position visible.static voidsetScrollFromPosY(float localY) Adjust scrolling amount to make given position visible.static voidsetScrollFromPosY(float localY, float centerYRatio) Adjust scrolling amount to make given position visible.static voidAdjust scrolling amount to make current cursor position visible.static voidsetScrollHereX(float centerXRatio) Adjust scrolling amount to make current cursor position visible.static voidAdjust scrolling amount to make current cursor position visible.static voidsetScrollHereY(float centerYRatio) Adjust scrolling amount to make current cursor position visible.static voidsetScrollX(float scrollX) Set scrolling amount [0 ..static voidsetScrollY(float scrollY) Set scrolling amount [0..GetScrollMaxY()]static voidsetStateStorage(ImGuiStorage storage) Replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it).static voidsetTabItemClosed(String tabOrDockedWindowLabel) Notify TabBar or Docking system of a closed tab/window ahead (useful to reduce visual flicker on reorderable tab bars).static voidsetTooltip(String text) Set a text-only tooltip.static voidsetWindowCollapsed(boolean collapsed) (not recommended) set current window collapsed state.static voidsetWindowCollapsed(boolean collapsed, int cond) (not recommended) set current window collapsed state.static voidsetWindowCollapsed(String name, boolean collapsed) Set named window collapsed statestatic voidsetWindowCollapsed(String name, boolean collapsed, int cond) Set named window collapsed statestatic void(not recommended) set current window to be focused / top-most.static voidsetWindowFocus(String name) Set named window to be focused / top-most.static voidsetWindowFontScale(float scale) Set font scale.static voidsetWindowPos(float posX, float posY) (not recommended) set current window position - call within Begin()/End().static voidsetWindowPos(float posX, float posY, int cond) (not recommended) set current window position - call within Begin()/End().static voidsetWindowPos(ImVec2 pos) (not recommended) set current window position - call within Begin()/End().static voidsetWindowPos(ImVec2 pos, int cond) (not recommended) set current window position - call within Begin()/End().static voidsetWindowPos(String name, float posX, float posY) Set named window position.static voidsetWindowPos(String name, float posX, float posY, int cond) Set named window position.static voidsetWindowPos(String name, ImVec2 pos) Set named window position.static voidsetWindowPos(String name, ImVec2 pos, int cond) Set named window position.static voidsetWindowSize(float sizeX, float sizeY) (not recommended) set current window size - call within Begin()/End().static voidsetWindowSize(float sizeX, float sizeY, int cond) (not recommended) set current window size - call within Begin()/End().static voidsetWindowSize(ImVec2 size) (not recommended) set current window size - call within Begin()/End().static voidsetWindowSize(ImVec2 size, int cond) (not recommended) set current window size - call within Begin()/End().static voidsetWindowSize(String name, float sizeX, float sizeY) Set named window size.static voidsetWindowSize(String name, float sizeX, float sizeY, int cond) Set named window size.static voidsetWindowSize(String name, ImVec2 size) Set named window size.static voidsetWindowSize(String name, ImVec2 size, int cond) Set named window size.static booleanshortcut(int keyChord) static booleanshortcut(int keyChord, int flags) static voidCreate About window.static voidshowAboutWindow(ImBoolean pOpen) Create About window.static voidCreate Debug Log window.static voidshowDebugLogWindow(ImBoolean pOpen) Create Debug Log window.static voidCreate Demo window.static voidshowDemoWindow(ImBoolean pOpen) Create Demo window.static voidshowFontSelector(String label) Add font selector block (not a window), essentially a combo listing the loaded fonts.static voidCreate Stack Tool window.static voidshowIDStackToolWindow(ImBoolean pOpen) Create Stack Tool window.static voidCreate Metrics/Debugger window.static voidshowMetricsWindow(ImBoolean pOpen) Create Metrics/Debugger window.static voidAdd style editor block (not a window).static voidAdd style editor block (not a window).static booleanshowStyleSelector(String label) Add style selector block (not a window), essentially a combo listing the default styles.static voidAdd basic help/info block (not a window): how to manipulate ImGui as an end-user (mouse/keyboard controls).static booleansliderAngle(String label, float[] vRad) static booleansliderAngle(String label, float[] vRad, float vDegreesMin) static booleansliderAngle(String label, float[] vRad, float vDegreesMin, float vDegreesMax) static booleansliderAngle(String label, float[] vRad, float vDegreesMin, float vDegreesMax, int imGuiSliderFlags) static booleansliderAngle(String label, float[] vRad, float vDegreesMin, float vDegreesMax, String format) static booleansliderAngle(String label, float[] vRad, float vDegreesMin, float vDegreesMax, String format, int imGuiSliderFlags) static booleansliderFloat(String label, float[] v, float vMin, float vMax) Adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.static booleansliderFloat(String label, float[] v, float vMin, float vMax, int imGuiSliderFlags) Adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.static booleansliderFloat(String label, float[] v, float vMin, float vMax, String format) Adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.static booleansliderFloat(String label, float[] v, float vMin, float vMax, String format, int imGuiSliderFlags) Adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.static booleansliderFloat2(String label, float[] v, float vMin, float vMax) static booleansliderFloat2(String label, float[] v, float vMin, float vMax, int imGuiSliderFlags) static booleansliderFloat2(String label, float[] v, float vMin, float vMax, String format) static booleansliderFloat2(String label, float[] v, float vMin, float vMax, String format, int imGuiSliderFlags) static booleansliderFloat3(String label, float[] v, float vMin, float vMax) static booleansliderFloat3(String label, float[] v, float vMin, float vMax, int imGuiSliderFlags) static booleansliderFloat3(String label, float[] v, float vMin, float vMax, String format) static booleansliderFloat3(String label, float[] v, float vMin, float vMax, String format, int imGuiSliderFlags) static booleansliderFloat4(String label, float[] v, float vMin, float vMax) static booleansliderFloat4(String label, float[] v, float vMin, float vMax, int imGuiSliderFlags) static booleansliderFloat4(String label, float[] v, float vMin, float vMax, String format) static booleansliderFloat4(String label, float[] v, float vMin, float vMax, String format, int imGuiSliderFlags) static booleanstatic booleanstatic booleanstatic booleanstatic booleansliderInt2(String label, int[] v, int vMin, int vMax) static booleansliderInt2(String label, int[] v, int vMin, int vMax, int imGuiSliderFlags) static booleansliderInt2(String label, int[] v, int vMin, int vMax, String format) static booleansliderInt2(String label, int[] v, int vMin, int vMax, String format, int imGuiSliderFlags) static booleansliderInt3(String label, int[] v, int vMin, int vMax) static booleansliderInt3(String label, int[] v, int vMin, int vMax, int imGuiSliderFlags) static booleansliderInt3(String label, int[] v, int vMin, int vMax, String format) static booleansliderInt3(String label, int[] v, int vMin, int vMax, String format, int imGuiSliderFlags) static booleansliderInt4(String label, int[] v, int vMin, int vMax) static booleansliderInt4(String label, int[] v, int vMin, int vMax, int imGuiSliderFlags) static booleansliderInt4(String label, int[] v, int vMin, int vMax, String format) static booleansliderInt4(String label, int[] v, int vMin, int vMax, String format, int imGuiSliderFlags) static booleansliderScalar(String label, double[] pData, double pMin, double pMax) static booleansliderScalar(String label, double[] pData, double pMin, double pMax, String format) static booleansliderScalar(String label, double[] pData, double pMin, double pMax, String format, int imGuiSliderFlags) static booleansliderScalar(String label, float[] pData, float pMin, float pMax) static booleansliderScalar(String label, float[] pData, float pMin, float pMax, String format) static booleansliderScalar(String label, float[] pData, float pMin, float pMax, String format, int imGuiSliderFlags) static booleansliderScalar(String label, int[] pData, int pMin, int pMax) static booleansliderScalar(String label, int[] pData, int pMin, int pMax, String format) static booleansliderScalar(String label, int[] pData, int pMin, int pMax, String format, int imGuiSliderFlags) static booleansliderScalar(String label, long[] pData, long pMin, long pMax) static booleansliderScalar(String label, long[] pData, long pMin, long pMax, String format) static booleansliderScalar(String label, long[] pData, long pMin, long pMax, String format, int imGuiSliderFlags) static booleansliderScalar(String label, short[] pData, short pMin, short pMax) static booleansliderScalar(String label, short[] pData, short pMin, short pMax, String format) static booleansliderScalar(String label, short[] pData, short pMin, short pMax, String format, int imGuiSliderFlags) static booleansliderScalarN(String label, double[] pData, int components, double pMin, double pMax) static booleansliderScalarN(String label, double[] pData, int components, double pMin, double pMax, String format) static booleansliderScalarN(String label, double[] pData, int components, double pMin, double pMax, String format, int imGuiSliderFlags) static booleansliderScalarN(String label, float[] pData, int components, float pMin, float pMax) static booleansliderScalarN(String label, float[] pData, int components, float pMin, float pMax, String format) static booleansliderScalarN(String label, float[] pData, int components, float pMin, float pMax, String format, int imGuiSliderFlags) static booleansliderScalarN(String label, int[] pData, int components, int pMin, int pMax) static booleansliderScalarN(String label, int[] pData, int components, int pMin, int pMax, String format) static booleansliderScalarN(String label, int[] pData, int components, int pMin, int pMax, String format, int imGuiSliderFlags) static booleansliderScalarN(String label, long[] pData, int components, long pMin, long pMax) static booleansliderScalarN(String label, long[] pData, int components, long pMin, long pMax, String format) static booleansliderScalarN(String label, long[] pData, int components, long pMin, long pMax, String format, int imGuiSliderFlags) static booleansliderScalarN(String label, short[] pData, int components, short pMin, short pMax) static booleansliderScalarN(String label, short[] pData, int components, short pMin, short pMax, String format) static booleansliderScalarN(String label, short[] pData, int components, short pMin, short pMax, String format, int imGuiSliderFlags) static booleansmallButton(String label) Button with (FramePadding.y == 0) to easily embed within textstatic voidspacing()Add vertical spacing.static voidClassic imgui stylestatic voidstyleColorsClassic(ImGuiStyle style) Classic imgui stylestatic voidNew, recommended style (default)static voidstyleColorsDark(ImGuiStyle style) New, recommended style (default)static voidBest used with borders and a custom, thicker fontstatic voidstyleColorsLight(ImGuiStyle style) Best used with borders and a custom, thicker fontstatic booleantabItemButton(String label) Create a Tab behaving like a button.static booleantabItemButton(String label, int imGuiTabItemFlags) Create a Tab behaving like a button.static voidSubmit a row with angled headers for every column with the ImGuiTableColumnFlags_AngledHeader flag.static intReturn number of columns (value passed to BeginTable).static intReturn column flags, so you can query their Enabled/Visible/Sorted/Hovered status flags.static inttableGetColumnFlags(int columnN) Return column flags, so you can query their Enabled/Visible/Sorted/Hovered status flags.static intReturn current column index.static StringReturn "" if column didn't have a name declared by TableSetupColumn().static StringtableGetColumnName(int columnN) Return "" if column didn't have a name declared by TableSetupColumn().static intReturn hovered column.static intReturn current row index.static ImGuiTableSortSpecsGet latest sort specs for the table (NULL if not sorting).static voidtableHeader(String label) Submit one header cell manually (rarely used)static voidSubmit all headers cells based on data provided to TableSetupColumn() + submit context menustatic booleanAppend into the next column (or first column of next row if currently in last column).static voidAppend into the first cell of a new row.static voidtableNextRow(float minRowHeight) Append into the first cell of a new row.static voidtableNextRow(int imGuiTableRowFlags) Append into the first cell of a new row.static voidtableNextRow(int imGuiTableRowFlags, float minRowHeight) Append into the first cell of a new row.static voidtableSetBgColor(int imGuiTableBgTarget, int color) Change the color of a cell, row, or column.static voidtableSetBgColor(int imGuiTableBgTarget, int color, int columnN) Change the color of a cell, row, or column.static voidtableSetColumnEnabled(int columnN, boolean value) change user accessible enabled/disabled state of a column.static booleantableSetColumnIndex(int columnN) Append into the specified column.static voidtableSetupColumn(String label) static voidtableSetupColumn(String label, float initWidthOrWeight, int userId) static voidtableSetupColumn(String label, int imGuiTableColumnFlags) static voidtableSetupColumn(String label, int imGuiTableColumnFlags, float initWidthOrWeight) static voidtableSetupColumn(String label, int imGuiTableColumnFlags, float initWidthOrWeight, int userId) static voidtableSetupColumn(String label, int imGuiTableColumnFlags, int userId) static voidtableSetupScrollFreeze(int cols, int rows) Lock columns/rows so they stay visible when scrolled.static voidFormatted textstatic voidtextColored(float colX, float colY, float colZ, float colW, String text) Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();static voidtextColored(int r, int g, int b, int a, String text) Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();static voidtextColored(int col, String text) Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();static voidtextColored(ImVec4 col, String text) Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();static voidtextDisabled(String text) Shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();static booleanHyperlink text button; returns true when clicked (new in imgui 1.91).static booleantextLinkOpenURL(String label) Hyperlink text button that automatically opens the given file/URL on click (new in imgui 1.91).static booleantextLinkOpenURL(String label, String url) Hyperlink text button that automatically opens the given file/URL on click (new in imgui 1.91).static voidtextUnformatted(String text) Raw text without formatting.static voidtextUnformatted(String text, String textEnd) Raw text without formatting.static voidtextWrapped(String text) Shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();.static booleanstatic booleanstatic booleanHelper variation to easily decorelate the id from the displayed string.static booleantreeNodeEx(long ptrId, int flags, String label) static booleantreeNodeEx(String label) static booleantreeNodeEx(String label, int flags) static booleantreeNodeEx(String strId, int flags, String label) static voidtreePop()~ Unindent()+PopID()static voidtreePush(long ptrId) ~ Indent()+PushID().static void~ Indent()+PushID().static voidunindent()Move content position back to the left, by indent_w, or style.IndentSpacing if indent_w<= 0.static voidunindent(float indentW) Move content position back to the left, by indent_w, or style.IndentSpacing if indent_w<= 0.static voidCall in main loop.static voidstatic voidstatic booleanvSliderFloat(String label, float sizeX, float sizeY, float[] v, float vMin, float vMax) static booleanvSliderFloat(String label, float sizeX, float sizeY, float[] v, float vMin, float vMax, int imGuiSliderFlags) static booleanvSliderFloat(String label, float sizeX, float sizeY, float[] v, float vMin, float vMax, String format) static booleanvSliderFloat(String label, float sizeX, float sizeY, float[] v, float vMin, float vMax, String format, int imGuiSliderFlags) static booleanvSliderFloat(String label, ImVec2 size, float[] v, float vMin, float vMax) static booleanvSliderFloat(String label, ImVec2 size, float[] v, float vMin, float vMax, int imGuiSliderFlags) static booleanvSliderFloat(String label, ImVec2 size, float[] v, float vMin, float vMax, String format) static booleanvSliderFloat(String label, ImVec2 size, float[] v, float vMin, float vMax, String format, int imGuiSliderFlags) static booleanvSliderInt(String label, float sizeX, float sizeY, int[] v, int vMin, int vMax) static booleanvSliderInt(String label, float sizeX, float sizeY, int[] v, int vMin, int vMax, int imGuiSliderFlags) static booleanvSliderInt(String label, float sizeX, float sizeY, int[] v, int vMin, int vMax, String format) static booleanvSliderInt(String label, float sizeX, float sizeY, int[] v, int vMin, int vMax, String format, int imGuiSliderFlags) static booleanvSliderInt(String label, ImVec2 size, int[] v, int vMin, int vMax) static booleanvSliderInt(String label, ImVec2 size, int[] v, int vMin, int vMax, int imGuiSliderFlags) static booleanvSliderInt(String label, ImVec2 size, int[] v, int vMin, int vMax, String format) static booleanvSliderInt(String label, ImVec2 size, int[] v, int vMin, int vMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, float sizeX, float sizeY, double[] pData, double pMin, double pMax) static booleanvSliderScalar(String label, float sizeX, float sizeY, double[] pData, double pMin, double pMax, String format) static booleanvSliderScalar(String label, float sizeX, float sizeY, double[] pData, double pMin, double pMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, float sizeX, float sizeY, float[] pData, float pMin, float pMax) static booleanvSliderScalar(String label, float sizeX, float sizeY, float[] pData, float pMin, float pMax, String format) static booleanvSliderScalar(String label, float sizeX, float sizeY, float[] pData, float pMin, float pMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, float sizeX, float sizeY, int[] pData, int pMin, int pMax) static booleanvSliderScalar(String label, float sizeX, float sizeY, int[] pData, int pMin, int pMax, String format) static booleanvSliderScalar(String label, float sizeX, float sizeY, int[] pData, int pMin, int pMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, float sizeX, float sizeY, long[] pData, long pMin, long pMax) static booleanvSliderScalar(String label, float sizeX, float sizeY, long[] pData, long pMin, long pMax, String format) static booleanvSliderScalar(String label, float sizeX, float sizeY, long[] pData, long pMin, long pMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, float sizeX, float sizeY, short[] pData, short pMin, short pMax) static booleanvSliderScalar(String label, float sizeX, float sizeY, short[] pData, short pMin, short pMax, String format) static booleanvSliderScalar(String label, float sizeX, float sizeY, short[] pData, short pMin, short pMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, ImVec2 size, double[] pData, double pMin, double pMax) static booleanvSliderScalar(String label, ImVec2 size, double[] pData, double pMin, double pMax, String format) static booleanvSliderScalar(String label, ImVec2 size, double[] pData, double pMin, double pMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, ImVec2 size, float[] pData, float pMin, float pMax) static booleanvSliderScalar(String label, ImVec2 size, float[] pData, float pMin, float pMax, String format) static booleanvSliderScalar(String label, ImVec2 size, float[] pData, float pMin, float pMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, ImVec2 size, int[] pData, int pMin, int pMax) static booleanvSliderScalar(String label, ImVec2 size, int[] pData, int pMin, int pMax, String format) static booleanvSliderScalar(String label, ImVec2 size, int[] pData, int pMin, int pMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, ImVec2 size, long[] pData, long pMin, long pMax) static booleanvSliderScalar(String label, ImVec2 size, long[] pData, long pMin, long pMax, String format) static booleanvSliderScalar(String label, ImVec2 size, long[] pData, long pMin, long pMax, String format, int imGuiSliderFlags) static booleanvSliderScalar(String label, ImVec2 size, short[] pData, short pMin, short pMax) static booleanvSliderScalar(String label, ImVec2 size, short[] pData, short pMin, short pMax, String format) static booleanvSliderScalar(String label, ImVec2 size, short[] pData, short pMin, short pMax, String format, int imGuiSliderFlags)
-
Constructor Details
-
ImGui
public ImGui()
-
-
Method Details
-
init
public static void init()For internal usage. Method is used to initiate static instantiation (loading of the native libraries etc.). Otherwise, native libraries will be loaded on demand and natively mapped objects won't work. -
setAssertCallback
Set a custom assertion callback for ImGui assertions. Take note: Any custom assertion callback SHOULD NOT throw any exception. After any callback the application will be terminated, any attempt to bypass this behavior will result in a EXCEPTION_ACCESS_VIOLATION from within the native layer.- Parameters:
callback- The custom ImGui assertion callback
-
createContext
-
createContext
-
destroyContext
public static void destroyContext() -
destroyContext
-
getCurrentContext
-
setCurrentContext
-
getIO
Access the IO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags). -
getStyle
Access the Style structure (colors, sizes). Always use PushStyleColor(), PushStyleVar() to modify style mid-frame! -
newFrame
public static void newFrame()Start a new Dear ImGui frame, you can submit any command from this point until Render()/EndFrame(). -
endFrame
public static void endFrame()Ends the Dear ImGui frame. automatically called by Render(). If you don't need to render data (skipping rendering) you may call EndFrame() without Render()... but you'll have wasted CPU already! If you don't need to render, better to not create any windows and not call NewFrame() at all! -
render
public static void render()Ends the Dear ImGui frame, finalize the draw data. You can then get call GetDrawData(). -
getDrawData
Valid after Render() and until the next call to NewFrame(). this is what you have to render. -
showDemoWindow
public static void showDemoWindow()Create Demo window. Demonstrate most ImGui features. Call this to learn about the library! -
showDemoWindow
Create Demo window. Demonstrate most ImGui features. Call this to learn about the library! -
showMetricsWindow
public static void showMetricsWindow()Create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc. -
showMetricsWindow
Create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc. -
showDebugLogWindow
public static void showDebugLogWindow()Create Debug Log window. display a simplified log of important dear imgui events. -
showDebugLogWindow
Create Debug Log window. display a simplified log of important dear imgui events. -
showIDStackToolWindow
public static void showIDStackToolWindow()Create Stack Tool window. hover items with mouse to query information about the source of their unique ID. -
showIDStackToolWindow
Create Stack Tool window. hover items with mouse to query information about the source of their unique ID. -
showAboutWindow
public static void showAboutWindow()Create About window. display Dear ImGui version, credits and build/system information. -
showAboutWindow
Create About window. display Dear ImGui version, credits and build/system information. -
showStyleEditor
public static void showStyleEditor()Add style editor block (not a window). You can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) -
showStyleEditor
Add style editor block (not a window). You can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style) -
showStyleSelector
Add style selector block (not a window), essentially a combo listing the default styles. -
showFontSelector
Add font selector block (not a window), essentially a combo listing the loaded fonts. -
showUserGuide
public static void showUserGuide()Add basic help/info block (not a window): how to manipulate ImGui as an end-user (mouse/keyboard controls). -
getVersion
Get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp) -
styleColorsDark
public static void styleColorsDark()New, recommended style (default) -
styleColorsDark
New, recommended style (default) -
styleColorsLight
public static void styleColorsLight()Best used with borders and a custom, thicker font -
styleColorsLight
Best used with borders and a custom, thicker font -
styleColorsClassic
public static void styleColorsClassic()Classic imgui style -
styleColorsClassic
Classic imgui style -
begin
-
begin
-
begin
-
begin
-
end
public static void end() -
beginChild
-
beginChild
-
beginChild
-
beginChild
-
beginChild
-
beginChild
-
beginChild
public static boolean beginChild(String strId, float sizeX, float sizeY, int childFlags, int windowFlags) -
beginChild
-
beginChild
-
beginChild
public static boolean beginChild(int id) -
beginChild
-
beginChild
public static boolean beginChild(int id, float sizeX, float sizeY) -
beginChild
-
beginChild
public static boolean beginChild(int id, float sizeX, float sizeY, int childFlags) -
beginChild
-
beginChild
public static boolean beginChild(int id, float sizeX, float sizeY, int childFlags, int windowFlags) -
beginChild
public static boolean beginChild(int id, int childFlags, int windowFlags) -
beginChild
public static boolean beginChild(int id, int windowFlags) -
beginChild
-
beginChild
-
beginChild
-
beginChild
public static boolean beginChild(String strId, float sizeX, float sizeY, boolean border, int windowFlags) -
beginChild
Deprecated.UsebeginChild(String, ImVec2, int, int)instead. -
beginChild
Deprecated.UsebeginChild(String, ImVec2, int, int)instead. -
beginChild
Deprecated.UsebeginChild(String, ImVec2, int, int)instead. -
beginChild
@Deprecated public static boolean beginChild(int id, float sizeX, float sizeY, boolean border, int windowFlags) Deprecated.UsebeginChild(String, ImVec2, int, int)instead. -
endChild
public static void endChild() -
isWindowAppearing
public static boolean isWindowAppearing() -
isWindowCollapsed
public static boolean isWindowCollapsed() -
isWindowFocused
public static boolean isWindowFocused()Is current window focused? or its root/child, depending on flags. see flags for options. -
isWindowFocused
public static boolean isWindowFocused(int imGuiFocusedFlags) Is current window focused? or its root/child, depending on flags. see flags for options. -
isWindowHovered
public static boolean isWindowHovered()Is current window hovered and hoverable (e.g. not blocked by a popup/modal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry "How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?" for details. -
isWindowHovered
public static boolean isWindowHovered(int imGuiHoveredFlags) Is current window hovered and hoverable (e.g. not blocked by a popup/modal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry "How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?" for details. -
getWindowDrawList
Get draw list associated to the current window, to append your own drawing primitives -
getWindowDpiScale
public static float getWindowDpiScale()Get DPI scale currently associated to the current window's viewport. -
getWindowPos
Get current window position in screen space (note: it is unlikely you need to use this. Consider using current layout pos instead, GetCursorScreenPos()) -
getWindowPosX
public static float getWindowPosX()Get current window position in screen space (note: it is unlikely you need to use this. Consider using current layout pos instead, GetCursorScreenPos()) -
getWindowPosY
public static float getWindowPosY()Get current window position in screen space (note: it is unlikely you need to use this. Consider using current layout pos instead, GetCursorScreenPos()) -
getWindowPos
Get current window position in screen space (note: it is unlikely you need to use this. Consider using current layout pos instead, GetCursorScreenPos()) -
getWindowSize
Get current window size (note: it is unlikely you need to use this. Consider using GetCursorScreenPos() and e.g. GetContentRegionAvail() instead) -
getWindowSizeX
public static float getWindowSizeX()Get current window size (note: it is unlikely you need to use this. Consider using GetCursorScreenPos() and e.g. GetContentRegionAvail() instead) -
getWindowSizeY
public static float getWindowSizeY()Get current window size (note: it is unlikely you need to use this. Consider using GetCursorScreenPos() and e.g. GetContentRegionAvail() instead) -
getWindowSize
Get current window size (note: it is unlikely you need to use this. Consider using GetCursorScreenPos() and e.g. GetContentRegionAvail() instead) -
getWindowWidth
public static float getWindowWidth()Get current window width (shortcut for GetWindowSize().x) -
getWindowHeight
public static float getWindowHeight()Get current window height (shortcut for GetWindowSize().y) -
getWindowViewport
Get viewport currently associated to the current window. -
setNextWindowPos
Set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -
setNextWindowPos
public static void setNextWindowPos(float posX, float posY) Set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -
setNextWindowPos
Set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -
setNextWindowPos
public static void setNextWindowPos(float posX, float posY, int cond) Set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -
setNextWindowPos
Set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -
setNextWindowPos
public static void setNextWindowPos(float posX, float posY, int cond, float pivotX, float pivotY) Set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -
setNextWindowPos
Set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -
setNextWindowPos
public static void setNextWindowPos(float posX, float posY, float pivotX, float pivotY) Set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -
setNextWindowSize
Set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -
setNextWindowSize
public static void setNextWindowSize(float sizeX, float sizeY) Set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -
setNextWindowSize
Set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -
setNextWindowSize
public static void setNextWindowSize(float sizeX, float sizeY, int cond) Set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin() -
setNextWindowSizeConstraints
Set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints. -
setNextWindowSizeConstraints
public static void setNextWindowSizeConstraints(float sizeMinX, float sizeMinY, float sizeMaxX, float sizeMaxY) Set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints. -
setNextWindowContentSize
Set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin() -
setNextWindowContentSize
public static void setNextWindowContentSize(float sizeX, float sizeY) Set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin() -
setNextWindowCollapsed
public static void setNextWindowCollapsed(boolean collapsed) Set next window collapsed state. call before Begin() -
setNextWindowCollapsed
public static void setNextWindowCollapsed(boolean collapsed, int cond) Set next window collapsed state. call before Begin() -
setNextWindowFocus
public static void setNextWindowFocus()Set next window to be focused / top-most. call before Begin() -
setNextWindowScroll
Set next window scrolling value (use< 0.0fto not affect a given axis). -
setNextWindowScroll
public static void setNextWindowScroll(float scrollX, float scrollY) Set next window scrolling value (use< 0.0fto not affect a given axis). -
setNextWindowBgAlpha
public static void setNextWindowBgAlpha(float alpha) Set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBg/ChildBg/PopupBg. You may also use ImGuiWindowFlags_NoBackground. -
setNextWindowViewport
public static void setNextWindowViewport(int viewportId) Set next window viewport. -
setWindowPos
(not recommended) set current window position - call within Begin()/End(). Prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -
setWindowPos
public static void setWindowPos(float posX, float posY) (not recommended) set current window position - call within Begin()/End(). Prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -
setWindowPos
(not recommended) set current window position - call within Begin()/End(). Prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -
setWindowPos
public static void setWindowPos(float posX, float posY, int cond) (not recommended) set current window position - call within Begin()/End(). Prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -
setWindowSize
(not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. Prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -
setWindowSize
public static void setWindowSize(float sizeX, float sizeY) (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. Prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -
setWindowSize
(not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. Prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -
setWindowSize
public static void setWindowSize(float sizeX, float sizeY, int cond) (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0,0) to force an auto-fit. Prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -
setWindowCollapsed
public static void setWindowCollapsed(boolean collapsed) (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -
setWindowCollapsed
public static void setWindowCollapsed(boolean collapsed, int cond) (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -
setWindowFocus
public static void setWindowFocus()(not recommended) set current window to be focused / top-most. prefer using SetNextWindowFocus(). -
setWindowFontScale
public static void setWindowFontScale(float scale) Set font scale. Adjust IO.FontGlobalScale if you want to scale all windows. This is an old API! For correct scaling, prefer to reload font + rebuild ImFontAtlas + call style.ScaleAllSizes(). -
setWindowPos
Set named window position. -
setWindowPos
Set named window position. -
setWindowPos
Set named window position. -
setWindowPos
Set named window position. -
setWindowSize
Set named window size. set axis to 0.0f to force an auto-fit on this axis. -
setWindowSize
Set named window size. set axis to 0.0f to force an auto-fit on this axis. -
setWindowSize
Set named window size. set axis to 0.0f to force an auto-fit on this axis. -
setWindowSize
Set named window size. set axis to 0.0f to force an auto-fit on this axis. -
setWindowCollapsed
Set named window collapsed state -
setWindowCollapsed
Set named window collapsed state -
setWindowFocus
Set named window to be focused / top-most. Use NULL to remove focus. -
getContentRegionAvail
== GetContentRegionMax() - GetCursorPos() -
getContentRegionAvailX
public static float getContentRegionAvailX()== GetContentRegionMax() - GetCursorPos() -
getContentRegionAvailY
public static float getContentRegionAvailY()== GetContentRegionMax() - GetCursorPos() -
getContentRegionAvail
== GetContentRegionMax() - GetCursorPos() -
getContentRegionMax
Current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -
getContentRegionMaxX
public static float getContentRegionMaxX()Current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -
getContentRegionMaxY
public static float getContentRegionMaxY()Current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -
getContentRegionMax
Current content boundaries (typically window boundaries including scrolling, or current column boundaries), in windows coordinates -
getWindowContentRegionMin
Content boundaries min for the full window (roughly (0,0)-Scroll), in window coordinates -
getWindowContentRegionMinX
public static float getWindowContentRegionMinX()Content boundaries min for the full window (roughly (0,0)-Scroll), in window coordinates -
getWindowContentRegionMinY
public static float getWindowContentRegionMinY()Content boundaries min for the full window (roughly (0,0)-Scroll), in window coordinates -
getWindowContentRegionMin
Content boundaries min for the full window (roughly (0,0)-Scroll), in window coordinates -
getWindowContentRegionMax
Content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinates -
getWindowContentRegionMaxX
public static float getWindowContentRegionMaxX()Content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinates -
getWindowContentRegionMaxY
public static float getWindowContentRegionMaxY()Content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinates -
getWindowContentRegionMax
Content boundaries max for the full window (roughly (0,0)+Size-Scroll) where Size can be overridden with SetNextWindowContentSize(), in window coordinates -
getScrollX
public static float getScrollX()Get scrolling amount [0 .. GetScrollMaxX()] -
getScrollY
public static float getScrollY()Get scrolling amount [0 .. GetScrollMaxY()] -
setScrollX
public static void setScrollX(float scrollX) Set scrolling amount [0 .. GetScrollMaxX()] -
setScrollY
public static void setScrollY(float scrollY) Set scrolling amount [0..GetScrollMaxY()] -
getScrollMaxX
public static float getScrollMaxX()Get maximum scrolling amount ~~ ContentSize.x - WindowSize.x - DecorationsSize.x -
getScrollMaxY
public static float getScrollMaxY()Get maximum scrolling amount ~~ ContentSize.y - WindowSize.y - DecorationsSize.y -
setScrollHereX
public static void setScrollHereX()Adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -
setScrollHereX
public static void setScrollHereX(float centerXRatio) Adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -
setScrollHereY
public static void setScrollHereY()Adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -
setScrollHereY
public static void setScrollHereY(float centerYRatio) Adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -
setScrollFromPosX
public static void setScrollFromPosX(float localX) Adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. -
setScrollFromPosX
public static void setScrollFromPosX(float localX, float centerXRatio) Adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. -
setScrollFromPosY
public static void setScrollFromPosY(float localY) Adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. -
setScrollFromPosY
public static void setScrollFromPosY(float localY, float centerYRatio) Adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. -
pushFont
Push a font onto the stack. Since imgui 1.92 thesizeparameter is required: pass0.0fto keep the current size; passfont.LegacySizeto restore pre-1.92 behavior of using the font's original AddFont size. -
popFont
public static void popFont() -
pushStyleColor
public static void pushStyleColor(int imGuiCol, int r, int g, int b, int a) Modify a style color. always use this if you modify the style after NewFrame(). -
pushStyleColor
Modify a style color. always use this if you modify the style after NewFrame(). -
pushStyleColor
public static void pushStyleColor(int imGuiCol, float colX, float colY, float colZ, float colW) Modify a style color. always use this if you modify the style after NewFrame(). -
pushStyleColor
public static void pushStyleColor(int imGuiCol, int col) Modify a style color. always use this if you modify the style after NewFrame(). -
popStyleColor
public static void popStyleColor() -
popStyleColor
public static void popStyleColor(int count) -
pushStyleVar
public static void pushStyleVar(int imGuiStyleVar, float val) Modify a style float variable. always use this if you modify the style after NewFrame(). -
pushStyleVar
Modify a style ImVec2 variable. always use this if you modify the style after NewFrame(). -
pushStyleVar
public static void pushStyleVar(int imGuiStyleVar, float valX, float valY) Modify a style ImVec2 variable. always use this if you modify the style after NewFrame(). -
popStyleVar
public static void popStyleVar() -
popStyleVar
public static void popStyleVar(int count) -
pushTabStop
public static void pushTabStop(boolean tabStop) Tab stop enable. Allow focusing using TAB/Shift-TAB, enabled by default but you can disable it for certain widgets -
popTabStop
public static void popTabStop() -
pushButtonRepeat
public static void pushButtonRepeat(boolean repeat) In 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame. -
popButtonRepeat
public static void popButtonRepeat() -
pushItemWidth
public static void pushItemWidth(float itemWidth) Push width of items for common large "item+label" widgets.> 0.0f: width in pixels,<0.0falign xx pixels to the right of window (so -1.0f always align width to the right side). -
popItemWidth
public static void popItemWidth() -
setNextItemWidth
public static void setNextItemWidth(float itemWidth) Set width of the _next_ common large "item+label" widget.> 0.0f: width in pixels,<0.0falign xx pixels to the right of window (so -1.0f always align width to the right side) -
calcItemWidth
public static float calcItemWidth()Width of item given pushed settings and current cursor position. NOT necessarily the width of last item unlike most 'Item' functions. -
pushTextWrapPos
public static void pushTextWrapPos()Push Word-wrapping positions for Text*() commands.< 0.0f: no wrapping; 0.0f: wrap to end of window (or column);> 0.0f: wrap at 'wrap_posX' position in window local space -
pushTextWrapPos
public static void pushTextWrapPos(float wrapLocalPosX) Push Word-wrapping positions for Text*() commands.< 0.0f: no wrapping; 0.0f: wrap to end of window (or column);> 0.0f: wrap at 'wrap_posX' position in window local space -
popTextWrapPos
public static void popTextWrapPos() -
getFont
Get current font. -
getFontSize
public static int getFontSize()Get current font size (= height in pixels) of current font with current scale applied -
getFontTexUvWhitePixel
Get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -
getFontTexUvWhitePixelX
public static float getFontTexUvWhitePixelX()Get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -
getFontTexUvWhitePixelY
public static float getFontTexUvWhitePixelY()Get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -
getFontTexUvWhitePixel
Get UV coordinate for a while pixel, useful to draw custom shapes via the ImDrawList API -
getColorU32
public static int getColorU32(int idx) Retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList. -
getColorU32
public static int getColorU32(int idx, float alphaMul) Retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList. -
getColorU32
Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList. -
getColorU32
public static int getColorU32(float colX, float colY, float colZ, float colW) Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList. -
getColorU32i
public static int getColorU32i(int col) Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList. -
getColorU32i
public static int getColorU32i(int col, float alphaMul) Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList. -
getStyleColorVec4
Retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -
getStyleColorVec4X
public static float getStyleColorVec4X(int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -
getStyleColorVec4Y
public static float getStyleColorVec4Y(int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -
getStyleColorVec4Z
public static float getStyleColorVec4Z(int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -
getStyleColorVec4W
public static float getStyleColorVec4W(int imGuiColIdx) Retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -
getStyleColorVec4
Retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -
getCursorScreenPos
Cursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API). -
getCursorScreenPosX
public static float getCursorScreenPosX()Cursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API). -
getCursorScreenPosY
public static float getCursorScreenPosY()Cursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API). -
getCursorScreenPos
Cursor position in absolute coordinates (prefer using this, also more useful to work with ImDrawList API). -
setCursorScreenPos
Cursor position in absolute coordinates. -
setCursorScreenPos
public static void setCursorScreenPos(float posX, float posY) Cursor position in absolute coordinates. -
getCursorPos
Cursor position in window coordinates (relative to window position) -
getCursorPosX
public static float getCursorPosX()Cursor position in window coordinates (relative to window position) -
getCursorPosY
public static float getCursorPosY()Cursor position in window coordinates (relative to window position) -
getCursorPos
Cursor position in window coordinates (relative to window position) -
setCursorPos
Cursor position in window coordinates (relative to window position) -
setCursorPos
public static void setCursorPos(float localPosX, float localPosY) Cursor position in window coordinates (relative to window position) -
setCursorPosX
public static void setCursorPosX(float localX) Cursor position in window coordinates (relative to window position) -
setCursorPosY
public static void setCursorPosY(float localY) Cursor position in window coordinates (relative to window position) -
getCursorStartPos
Initial cursor position in window coordinates -
getCursorStartPosX
public static float getCursorStartPosX()Initial cursor position in window coordinates -
getCursorStartPosY
public static float getCursorStartPosY()Initial cursor position in window coordinates -
getCursorStartPos
Initial cursor position in window coordinates -
separator
public static void separator()Separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. -
sameLine
public static void sameLine()Call between widgets or groups to layout them horizontally. X position given in window coordinates. -
sameLine
public static void sameLine(float offsetFromStartX) Call between widgets or groups to layout them horizontally. X position given in window coordinates. -
sameLine
public static void sameLine(float offsetFromStartX, float spacing) Call between widgets or groups to layout them horizontally. X position given in window coordinates. -
newLine
public static void newLine()Undo a SameLine() or force a new line when in a horizontal-layout context. -
spacing
public static void spacing()Add vertical spacing. -
dummy
Add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into. -
dummy
public static void dummy(float sizeX, float sizeY) Add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into. -
indent
public static void indent()Move content position toward the right, by indent_w, or style.IndentSpacing if indent_w<= 0. -
indent
public static void indent(float indentW) Move content position toward the right, by indent_w, or style.IndentSpacing if indent_w<= 0. -
unindent
public static void unindent()Move content position back to the left, by indent_w, or style.IndentSpacing if indent_w<= 0. -
unindent
public static void unindent(float indentW) Move content position back to the left, by indent_w, or style.IndentSpacing if indent_w<= 0. -
beginGroup
public static void beginGroup()Lock horizontal starting position -
endGroup
public static void endGroup()Unlock horizontal starting position + capture the whole group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.) -
alignTextToFramePadding
public static void alignTextToFramePadding()Vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item) -
getTextLineHeight
public static float getTextLineHeight()~ FontSize -
getTextLineHeightWithSpacing
public static float getTextLineHeightWithSpacing()~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text) -
getFrameHeight
public static float getFrameHeight()~ FontSize + style.FramePadding.y * 2 -
getFrameHeightWithSpacing
public static float getFrameHeightWithSpacing()~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets) -
pushID
Push string into the ID stack (will hash string). -
pushID
Push string into the ID stack (will hash string). -
pushID
public static void pushID(long ptrId) Push pointer into the ID stack (will hash pointer). -
pushID
public static void pushID(int intId) Push integer into the ID stack (will hash integer). -
popID
public static void popID()Pop from the ID stack. -
getID
Calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself -
getID
Calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself -
getID
public static int getID(long ptrId) Calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself -
textUnformatted
Raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'textEnd' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -
textUnformatted
Raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'textEnd' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -
text
Formatted text -
textColored
Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); -
textColored
Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); -
textColored
Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); -
textColored
Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor(); -
textDisabled
Shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor(); -
textWrapped
Shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). -
labelText
Display text+label aligned the same way as value+label widgets -
bulletText
Shortcut for Bullet()+Text() -
textLink
Hyperlink text button; returns true when clicked (new in imgui 1.91). Style viaImGuiCol_TextLink. -
textLinkOpenURL
Hyperlink text button that automatically opens the given file/URL on click (new in imgui 1.91). Usesio.PlatformOpenInShellFn(with OS defaults on Windows/Linux/macOS). -
textLinkOpenURL
Hyperlink text button that automatically opens the given file/URL on click (new in imgui 1.91). Usesio.PlatformOpenInShellFn(with OS defaults on Windows/Linux/macOS). -
separatorText
Currently: formatted text with an horizontal line -
button
Button -
button
Button -
button
Button -
smallButton
Button with (FramePadding.y == 0) to easily embed within text -
invisibleButton
Flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -
invisibleButton
Flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -
invisibleButton
Flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -
invisibleButton
Flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.) -
arrowButton
Square button with an arrow shape -
checkbox
-
checkbox
-
checkboxFlags
-
radioButton
Use with e.g. if (RadioButton("one", my_value==1)) { my_value = 1; } -
radioButton
Shortcut to handle the above pattern when value is an integer -
progressBar
public static void progressBar(float fraction) -
progressBar
-
progressBar
public static void progressBar(float fraction, float sizeX, float sizeY) -
progressBar
-
progressBar
-
progressBar
-
bullet
public static void bullet()Draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses -
image
-
image
public static void image(long userTextureId, float imageSizeX, float imageSizeY) -
image
-
image
public static void image(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y) -
image
-
image
public static void image(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y) -
imageWithBg
-
imageWithBg
public static void imageWithBg(long userTextureId, float imageSizeX, float imageSizeY) -
imageWithBg
-
imageWithBg
public static void imageWithBg(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y) -
imageWithBg
-
imageWithBg
public static void imageWithBg(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y) -
imageWithBg
-
imageWithBg
public static void imageWithBg(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float bgColX, float bgColY, float bgColZ, float bgColW) -
imageWithBg
-
imageWithBg
public static void imageWithBg(long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float bgColX, float bgColY, float bgColZ, float bgColW, float tintColX, float tintColY, float tintColZ, float tintColW) -
imageButton
-
imageButton
public static boolean imageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY) -
imageButton
-
imageButton
public static boolean imageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y) -
imageButton
-
imageButton
public static boolean imageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y) -
imageButton
-
imageButton
public static boolean imageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float bgColX, float bgColY, float bgColZ, float bgColW) -
imageButton
-
imageButton
public static boolean imageButton(String strId, long userTextureId, float imageSizeX, float imageSizeY, float uv0X, float uv0Y, float uv1X, float uv1Y, float bgColX, float bgColY, float bgColZ, float bgColW, float tintColX, float tintColY, float tintColZ, float tintColW) -
beginCombo
-
beginCombo
-
endCombo
public static void endCombo()Only call EndCombo() if BeginCombo() returns true! -
combo
-
combo
-
combo
Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" -
combo
public static boolean combo(String label, ImInt currentItem, String itemsSeparatedByZeros, int popupMaxHeightInItems) Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0" -
dragFloat
IfvMin >= vMaxwe have no bound -
dragFloat
IfvMin >= vMaxwe have no bound -
dragFloat
IfvMin >= vMaxwe have no bound -
dragFloat
IfvMin >= vMaxwe have no bound -
dragFloat
public static boolean dragFloat(String label, float[] v, float vSpeed, float vMin, float vMax, String format) IfvMin >= vMaxwe have no bound -
dragFloat
public static boolean dragFloat(String label, float[] v, float vSpeed, float vMin, float vMax, String format, int imGuiSliderFlags) IfvMin >= vMaxwe have no bound -
dragFloat
public static boolean dragFloat(String label, float[] v, float vSpeed, float vMin, float vMax, int imGuiSliderFlags) IfvMin >= vMaxwe have no bound -
dragFloat2
-
dragFloat2
-
dragFloat2
-
dragFloat2
-
dragFloat2
-
dragFloat2
-
dragFloat2
public static boolean dragFloat2(String label, float[] v, float vSpeed, float vMin, float vMax, int imGuiSliderFlags) -
dragFloat3
-
dragFloat3
-
dragFloat3
-
dragFloat3
-
dragFloat3
-
dragFloat3
-
dragFloat3
public static boolean dragFloat3(String label, float[] v, float vSpeed, float vMin, float vMax, int imGuiSliderFlags) -
dragFloat4
-
dragFloat4
-
dragFloat4
-
dragFloat4
-
dragFloat4
-
dragFloat4
-
dragFloat4
public static boolean dragFloat4(String label, float[] v, float vSpeed, float vMin, float vMax, int imGuiSliderFlags) -
dragFloatRange2
public static boolean dragFloatRange2(String label, float[] vCurrentMin, float[] vCurrentMax, float vSpeed) -
dragFloatRange2
public static boolean dragFloatRange2(String label, float[] vCurrentMin, float[] vCurrentMax, float vSpeed, float vMin) -
dragFloatRange2
public static boolean dragFloatRange2(String label, float[] vCurrentMin, float[] vCurrentMax, float vSpeed, float vMin, float vMax) -
dragFloatRange2
-
dragFloatRange2
-
dragFloatRange2
-
dragInt
IfvMin >= vMaxwe have no bound -
dragInt
IfvMin >= vMaxwe have no bound -
dragInt
IfvMin >= vMaxwe have no bound -
dragInt
IfvMin >= vMaxwe have no bound -
dragInt
public static boolean dragInt(String label, int[] v, float vSpeed, int vMin, int vMax, String format) IfvMin >= vMaxwe have no bound -
dragInt
public static boolean dragInt(String label, int[] v, float vSpeed, int vMin, int vMax, String format, int imGuiSliderFlags) IfvMin >= vMaxwe have no bound -
dragInt
public static boolean dragInt(String label, int[] v, float vSpeed, int vMin, int vMax, int imGuiSliderFlags) IfvMin >= vMaxwe have no bound -
dragInt2
-
dragInt2
-
dragInt2
-
dragInt2
-
dragInt2
-
dragInt2
-
dragInt2
public static boolean dragInt2(String label, int[] v, float vSpeed, int vMin, int vMax, int imGuiSliderFlags) -
dragInt3
-
dragInt3
-
dragInt3
-
dragInt3
-
dragInt3
-
dragInt3
-
dragInt3
public static boolean dragInt3(String label, int[] v, float vSpeed, int vMin, int vMax, int imGuiSliderFlags) -
dragInt4
-
dragInt4
-
dragInt4
-
dragInt4
-
dragInt4
-
dragInt4
-
dragInt4
public static boolean dragInt4(String label, int[] v, float vSpeed, int vMin, int vMax, int imGuiSliderFlags) -
dragIntRange2
-
dragIntRange2
public static boolean dragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax, float vSpeed) -
dragIntRange2
public static boolean dragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax, float vSpeed, int vMin) -
dragIntRange2
public static boolean dragIntRange2(String label, int[] vCurrentMin, int[] vCurrentMax, float vSpeed, int vMin, int vMax) -
dragIntRange2
-
dragIntRange2
-
dragIntRange2
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
-
dragScalar
public static boolean dragScalar(String label, double[] pData, float vSpeed, double pMin, double pMax) -
dragScalar
-
dragScalar
-
dragScalarN
-
dragScalarN
-
dragScalarN
public static boolean dragScalarN(String label, short[] pData, int components, float vSpeed, short pMin) -
dragScalarN
public static boolean dragScalarN(String label, short[] pData, int components, float vSpeed, short pMin, short pMax) -
dragScalarN
-
dragScalarN
-
dragScalarN
-
dragScalarN
-
dragScalarN
public static boolean dragScalarN(String label, int[] pData, int components, float vSpeed, int pMin) -
dragScalarN
public static boolean dragScalarN(String label, int[] pData, int components, float vSpeed, int pMin, int pMax) -
dragScalarN
-
dragScalarN
-
dragScalarN
-
dragScalarN
-
dragScalarN
public static boolean dragScalarN(String label, long[] pData, int components, float vSpeed, long pMin) -
dragScalarN
public static boolean dragScalarN(String label, long[] pData, int components, float vSpeed, long pMin, long pMax) -
dragScalarN
-
dragScalarN
-
dragScalarN
-
dragScalarN
-
dragScalarN
public static boolean dragScalarN(String label, float[] pData, int components, float vSpeed, float pMin) -
dragScalarN
public static boolean dragScalarN(String label, float[] pData, int components, float vSpeed, float pMin, float pMax) -
dragScalarN
-
dragScalarN
-
dragScalarN
-
dragScalarN
-
dragScalarN
public static boolean dragScalarN(String label, double[] pData, int components, float vSpeed, double pMin) -
dragScalarN
public static boolean dragScalarN(String label, double[] pData, int components, float vSpeed, double pMin, double pMax) -
dragScalarN
-
dragScalarN
-
sliderFloat
Adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. -
sliderFloat
Adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. -
sliderFloat
public static boolean sliderFloat(String label, float[] v, float vMin, float vMax, String format, int imGuiSliderFlags) Adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. -
sliderFloat
public static boolean sliderFloat(String label, float[] v, float vMin, float vMax, int imGuiSliderFlags) Adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. -
sliderFloat2
-
sliderFloat2
-
sliderFloat2
-
sliderFloat2
public static boolean sliderFloat2(String label, float[] v, float vMin, float vMax, int imGuiSliderFlags) -
sliderFloat3
-
sliderFloat3
-
sliderFloat3
-
sliderFloat3
public static boolean sliderFloat3(String label, float[] v, float vMin, float vMax, int imGuiSliderFlags) -
sliderFloat4
-
sliderFloat4
-
sliderFloat4
-
sliderFloat4
public static boolean sliderFloat4(String label, float[] v, float vMin, float vMax, int imGuiSliderFlags) -
sliderAngle
-
sliderAngle
-
sliderAngle
-
sliderAngle
-
sliderAngle
-
sliderAngle
public static boolean sliderAngle(String label, float[] vRad, float vDegreesMin, float vDegreesMax, int imGuiSliderFlags) -
sliderInt
-
sliderInt
-
sliderInt
-
sliderInt
-
sliderInt2
-
sliderInt2
-
sliderInt2
-
sliderInt2
-
sliderInt3
-
sliderInt3
-
sliderInt3
-
sliderInt3
-
sliderInt4
-
sliderInt4
-
sliderInt4
-
sliderInt4
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalar
-
sliderScalarN
public static boolean sliderScalarN(String label, short[] pData, int components, short pMin, short pMax) -
sliderScalarN
-
sliderScalarN
-
sliderScalarN
-
sliderScalarN
-
sliderScalarN
-
sliderScalarN
public static boolean sliderScalarN(String label, long[] pData, int components, long pMin, long pMax) -
sliderScalarN
-
sliderScalarN
-
sliderScalarN
public static boolean sliderScalarN(String label, float[] pData, int components, float pMin, float pMax) -
sliderScalarN
-
sliderScalarN
-
sliderScalarN
public static boolean sliderScalarN(String label, double[] pData, int components, double pMin, double pMax) -
sliderScalarN
-
sliderScalarN
-
vSliderFloat
-
vSliderFloat
public static boolean vSliderFloat(String label, float sizeX, float sizeY, float[] v, float vMin, float vMax) -
vSliderFloat
-
vSliderFloat
-
vSliderFloat
-
vSliderFloat
-
vSliderFloat
-
vSliderFloat
public static boolean vSliderFloat(String label, float sizeX, float sizeY, float[] v, float vMin, float vMax, int imGuiSliderFlags) -
vSliderInt
-
vSliderInt
public static boolean vSliderInt(String label, float sizeX, float sizeY, int[] v, int vMin, int vMax) -
vSliderInt
-
vSliderInt
-
vSliderInt
-
vSliderInt
-
vSliderInt
-
vSliderInt
public static boolean vSliderInt(String label, float sizeX, float sizeY, int[] v, int vMin, int vMax, int imGuiSliderFlags) -
vSliderScalar
-
vSliderScalar
public static boolean vSliderScalar(String label, float sizeX, float sizeY, short[] pData, short pMin, short pMax) -
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
public static boolean vSliderScalar(String label, float sizeX, float sizeY, int[] pData, int pMin, int pMax) -
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
public static boolean vSliderScalar(String label, float sizeX, float sizeY, long[] pData, long pMin, long pMax) -
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
public static boolean vSliderScalar(String label, float sizeX, float sizeY, float[] pData, float pMin, float pMax) -
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
public static boolean vSliderScalar(String label, float sizeX, float sizeY, double[] pData, double pMin, double pMax) -
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
vSliderScalar
-
inputText
-
inputText
-
inputText
public static boolean inputText(String label, ImString text, int imGuiInputTextFlags, ImGuiInputTextCallback callback) -
inputTextMultiline
-
inputTextMultiline
-
inputTextMultiline
-
inputTextMultiline
public static boolean inputTextMultiline(String label, ImString text, int imGuiInputTextFlags, ImGuiInputTextCallback callback) -
inputTextMultiline
-
inputTextMultiline
public static boolean inputTextMultiline(String label, ImString text, float width, float height, int imGuiInputTextFlags, ImGuiInputTextCallback callback) -
inputTextWithHint
-
inputTextWithHint
-
inputTextWithHint
public static boolean inputTextWithHint(String label, String hint, ImString text, int imGuiInputTextFlags, ImGuiInputTextCallback callback) -
inputFloat
-
inputFloat
-
inputFloat
-
inputFloat
-
inputFloat
-
inputFloat
-
inputFloat2
-
inputFloat2
-
inputFloat2
-
inputFloat2
-
inputFloat3
-
inputFloat3
-
inputFloat3
-
inputFloat3
-
inputFloat4
-
inputFloat4
-
inputFloat4
-
inputFloat4
-
inputInt
-
inputInt
-
inputInt
-
inputInt
-
inputInt2
-
inputInt2
-
inputInt3
-
inputInt3
-
inputInt4
-
inputInt4
-
inputDouble
-
inputDouble
-
inputDouble
-
inputDouble
-
inputDouble
-
inputDouble
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalar
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, short[] pData, int components, short pStep, short pStepFast) -
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, int[] pData, int components, int pStep, int pStepFast) -
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, long[] pData, int components, long pStep, long pStepFast) -
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, float[] pData, int components, float pStep, float pStepFast) -
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, double[] pData, int components, double pStep, double pStepFast) -
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, int dataType, short[] pData, int components, short pStep) -
inputScalarN
public static boolean inputScalarN(String label, int dataType, short[] pData, int components, short pStep, short pStepFast) -
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, int dataType, int[] pData, int components, int pStep) -
inputScalarN
public static boolean inputScalarN(String label, int dataType, int[] pData, int components, int pStep, int pStepFast) -
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, int dataType, long[] pData, int components, long pStep) -
inputScalarN
public static boolean inputScalarN(String label, int dataType, long[] pData, int components, long pStep, long pStepFast) -
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, int dataType, float[] pData, int components, float pStep) -
inputScalarN
public static boolean inputScalarN(String label, int dataType, float[] pData, int components, float pStep, float pStepFast) -
inputScalarN
-
inputScalarN
-
inputScalarN
-
inputScalarN
public static boolean inputScalarN(String label, int dataType, double[] pData, int components, double pStep) -
inputScalarN
public static boolean inputScalarN(String label, int dataType, double[] pData, int components, double pStep, double pStepFast) -
inputScalarN
-
inputScalarN
-
colorEdit3
-
colorEdit3
-
colorEdit4
-
colorEdit4
-
colorPicker3
-
colorPicker3
-
colorPicker4
-
colorPicker4
-
colorPicker4
public static boolean colorPicker4(String label, float[] col, int imGuiColorEditFlags, float[] refCol) -
colorPicker4
-
colorButton
Display a colored square/button, hover for details, return true when pressed. -
colorButton
Display a colored square/button, hover for details, return true when pressed. -
colorButton
Display a colored square/button, hover for details, return true when pressed. -
colorButton
public static boolean colorButton(String descId, float colX, float colY, float colZ, float colW, int imGuiColorEditFlags) Display a colored square/button, hover for details, return true when pressed. -
colorButton
Display a colored square/button, hover for details, return true when pressed. -
colorButton
public static boolean colorButton(String descId, float colX, float colY, float colZ, float colW, int imGuiColorEditFlags, float sizeX, float sizeY) Display a colored square/button, hover for details, return true when pressed. -
colorButton
Display a colored square/button, hover for details, return true when pressed. -
colorButton
public static boolean colorButton(String descId, float colX, float colY, float colZ, float colW, float sizeX, float sizeY) Display a colored square/button, hover for details, return true when pressed. -
colorButton
Deprecated.Display a colored square/button, hover for details, return true when pressed. -
colorButton
Deprecated.Display a colored square/button, hover for details, return true when pressed. -
colorButton
@Deprecated public static boolean colorButton(String descId, float[] col, int imGuiColorEditFlags, ImVec2 size) Deprecated.Display a colored square/button, hover for details, return true when pressed. -
colorButton
@Deprecated public static boolean colorButton(String descId, float[] col, int imGuiColorEditFlags, float sizeX, float sizeY) Deprecated.Display a colored square/button, hover for details, return true when pressed. -
colorButton
Deprecated.Display a colored square/button, hover for details, return true when pressed. -
colorButton
Deprecated.Display a colored square/button, hover for details, return true when pressed. -
setColorEditOptions
public static void setColorEditOptions(int imGuiColorEditFlags) Initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. -
treeNode
-
treeNode
Helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -
treeNode
-
treeNodeEx
-
treeNodeEx
-
treeNodeEx
-
treeNodeEx
-
treePush
~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. -
treePush
public static void treePush(long ptrId) ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. -
treePop
public static void treePop()~ Unindent()+PopID() -
getTreeNodeToLabelSpacing
public static float getTreeNodeToLabelSpacing()Horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode -
collapsingHeader
If returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -
collapsingHeader
If returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -
collapsingHeader
When 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header. -
collapsingHeader
When 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header. -
setNextItemOpen
public static void setNextItemOpen(boolean isOpen) Set next TreeNode/CollapsingHeader open state. -
setNextItemOpen
public static void setNextItemOpen(boolean isOpen, int cond) Set next TreeNode/CollapsingHeader open state. -
selectable
-
selectable
-
selectable
-
selectable
-
selectable
public static boolean selectable(String label, boolean selected, int imGuiSelectableFlags, float sizeX, float sizeY) -
selectable
-
selectable
-
selectable
-
selectable
-
selectable
-
selectable
-
selectable
-
selectable
-
selectable
-
selectable
-
selectable
-
selectable
-
beginListBox
Open a framed scrolling region. -
beginListBox
Open a framed scrolling region. -
beginListBox
Open a framed scrolling region. -
endListBox
public static void endListBox()Only call EndListBox() if BeginListBox() returned true! -
listBox
-
listBox
-
plotLines
-
plotLines
-
plotLines
-
plotLines
-
plotLines
-
plotLines
-
plotLines
-
plotLines
-
plotLines
-
plotLines
-
plotLines
-
plotLines
-
plotLines
public static void plotLines(String label, float[] values, int valuesCount, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) -
plotLines
-
plotLines
public static void plotLines(String label, float[] values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) -
plotLines
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
-
plotHistogram
public static void plotHistogram(String label, float[] values, int valuesCount, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) -
plotHistogram
-
plotHistogram
public static void plotHistogram(String label, float[] values, int valuesCount, int valuesOffset, float scaleMin, float scaleMax, float graphSizeX, float graphSizeY, int stride) -
plotHistogram
-
value
-
value
-
beginMenuBar
public static boolean beginMenuBar()Append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -
endMenuBar
public static void endMenuBar()Only call EndMenuBar() if BeginMenuBar() returns true! -
beginMainMenuBar
public static boolean beginMainMenuBar()Create and append to a full screen menu-bar. -
endMainMenuBar
public static void endMainMenuBar()Only call EndMainMenuBar() if BeginMainMenuBar() returns true! -
beginMenu
Create a sub-menu entry. only call EndMenu() if this returns true! -
beginMenu
Create a sub-menu entry. only call EndMenu() if this returns true! -
endMenu
public static void endMenu()Only call EndMenu() if BeginMenu() returns true! -
beginTooltip
public static void beginTooltip()Begin/append a tooltip window. -
endTooltip
public static void endTooltip()Only call EndTooltip() if BeginTooltip()/BeginItemTooltip() returns true! -
setTooltip
Set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip(). -
beginItemTooltip
public static boolean beginItemTooltip()Begin/append a tooltip window if preceding item was hovered. -
setItemTooltip
Set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip(). -
beginPopup
Return true if the popup is open, and you can start outputting to it. -
beginPopup
Return true if the popup is open, and you can start outputting to it. -
beginPopupModal
Return true if the popup is open, and you can start outputting to it. -
beginPopupModal
Return true if the popup is open, and you can start outputting to it. -
beginPopupModal
Return true if the popup is open, and you can start outputting to it. -
beginPopupModal
Return true if the popup is open, and you can start outputting to it. -
endPopup
public static void endPopup()Only call EndPopup() if BeginPopupXXX() returns true! -
openPopup
Call to mark popup as open (don't call every frame!). -
openPopup
Call to mark popup as open (don't call every frame!). -
openPopup
public static void openPopup(int id) Id overload to facilitate calling from nested stacks. -
openPopup
public static void openPopup(int id, int imGuiPopupFlags) Id overload to facilitate calling from nested stacks. -
openPopupOnItemClick
public static void openPopupOnItemClick()Helper to open popup when clicked on last item. return true when just opened. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) -
openPopupOnItemClick
Helper to open popup when clicked on last item. return true when just opened. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) -
openPopupOnItemClick
Helper to open popup when clicked on last item. return true when just opened. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) -
openPopupOnItemClick
public static void openPopupOnItemClick(int imGuiPopupFlags) Helper to open popup when clicked on last item. return true when just opened. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors) -
closeCurrentPopup
public static void closeCurrentPopup()Manually close the popup we have begin-ed into. -
beginPopupContextItem
public static boolean beginPopupContextItem()Open+begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -
beginPopupContextItem
Open+begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -
beginPopupContextItem
Open+begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -
beginPopupContextItem
public static boolean beginPopupContextItem(int imGuiPopupFlags) Open+begin popup when clicked on last item. if you can pass a NULL str_id only if the previous item had an id. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -
beginPopupContextWindow
public static boolean beginPopupContextWindow()Open+begin popup when clicked on current window. -
beginPopupContextWindow
Open+begin popup when clicked on current window. -
beginPopupContextWindow
Open+begin popup when clicked on current window. -
beginPopupContextWindow
public static boolean beginPopupContextWindow(int imGuiPopupFlags) Open+begin popup when clicked on current window. -
beginPopupContextVoid
public static boolean beginPopupContextVoid()Open+begin popup when clicked in void (where there are no windows). -
beginPopupContextVoid
Open+begin popup when clicked in void (where there are no windows). -
beginPopupContextVoid
Open+begin popup when clicked in void (where there are no windows). -
beginPopupContextVoid
public static boolean beginPopupContextVoid(int imGuiPopupFlags) Open+begin popup when clicked in void (where there are no windows). -
isPopupOpen
Return true if the popup is open. -
isPopupOpen
Return true if the popup is open. -
beginTable
-
beginTable
-
beginTable
-
beginTable
public static boolean beginTable(String id, int columns, int imGuiTableFlags, float outerSizeX, float outerSizeY) -
beginTable
-
beginTable
public static boolean beginTable(String id, int columns, int imGuiTableFlags, float outerSizeX, float outerSizeY, float innerWidth) -
beginTable
-
beginTable
public static boolean beginTable(String id, int columns, float outerSizeX, float outerSizeY, float innerWidth) -
beginTable
-
beginTable
-
endTable
public static void endTable()Only call EndTable() if BeginTable() returns true! -
tableNextRow
public static void tableNextRow()Append into the first cell of a new row. -
tableNextRow
public static void tableNextRow(int imGuiTableRowFlags) Append into the first cell of a new row. -
tableNextRow
public static void tableNextRow(int imGuiTableRowFlags, float minRowHeight) Append into the first cell of a new row. -
tableNextRow
public static void tableNextRow(float minRowHeight) Append into the first cell of a new row. -
tableNextColumn
public static boolean tableNextColumn()Append into the next column (or first column of next row if currently in last column). Return true when column is visible. -
tableSetColumnIndex
public static boolean tableSetColumnIndex(int columnN) Append into the specified column. Return true when column is visible. -
tableSetupColumn
-
tableSetupColumn
-
tableSetupColumn
public static void tableSetupColumn(String label, int imGuiTableColumnFlags, float initWidthOrWeight) -
tableSetupColumn
public static void tableSetupColumn(String label, int imGuiTableColumnFlags, float initWidthOrWeight, int userId) -
tableSetupColumn
-
tableSetupColumn
-
tableSetupScrollFreeze
public static void tableSetupScrollFreeze(int cols, int rows) Lock columns/rows so they stay visible when scrolled. -
tableHeader
Submit one header cell manually (rarely used) -
tableHeadersRow
public static void tableHeadersRow()Submit all headers cells based on data provided to TableSetupColumn() + submit context menu -
tableAngledHeadersRow
public static void tableAngledHeadersRow()Submit a row with angled headers for every column with the ImGuiTableColumnFlags_AngledHeader flag. MUST BE FIRST ROW. -
tableGetSortSpecs
Get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable(). -
tableGetColumnCount
public static int tableGetColumnCount()Return number of columns (value passed to BeginTable). -
tableGetColumnIndex
public static int tableGetColumnIndex()Return current column index. -
tableGetRowIndex
public static int tableGetRowIndex()Return current row index. -
tableGetColumnName
Return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column. -
tableGetColumnName
Return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column. -
tableGetColumnFlags
public static int tableGetColumnFlags()Return column flags, so you can query their Enabled/Visible/Sorted/Hovered status flags. Pass -1 to use current column. -
tableGetColumnFlags
public static int tableGetColumnFlags(int columnN) Return column flags, so you can query their Enabled/Visible/Sorted/Hovered status flags. Pass -1 to use current column. -
tableSetColumnEnabled
public static void tableSetColumnEnabled(int columnN, boolean value) change user accessible enabled/disabled state of a column. Set to false to hide the column. User can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody) -
tableGetHoveredColumn
public static int tableGetHoveredColumn()Return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use(TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered)instead. -
tableSetBgColor
public static void tableSetBgColor(int imGuiTableBgTarget, int color) Change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details. -
tableSetBgColor
public static void tableSetBgColor(int imGuiTableBgTarget, int color, int columnN) Change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details. -
columns
public static void columns() -
columns
public static void columns(int count) -
columns
-
columns
-
columns
-
columns
public static void columns(boolean border) -
columns
public static void columns(int count, boolean border) -
nextColumn
public static void nextColumn()Next column, defaults to current row or next row if the current row is finished -
getColumnIndex
public static int getColumnIndex()Get current column index -
getColumnWidth
public static float getColumnWidth()Get column width (in pixels). pass -1 to use current column -
getColumnWidth
public static float getColumnWidth(int columnIndex) Get column width (in pixels). pass -1 to use current column -
setColumnWidth
public static void setColumnWidth(int columnIndex, float width) Set column width (in pixels). pass -1 to use current column -
getColumnOffset
public static float getColumnOffset()Get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f -
getColumnOffset
public static float getColumnOffset(int columnIndex) Get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f -
setColumnOffset
public static void setColumnOffset(int columnIndex, float offsetX) Set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column -
getColumnsCount
public static int getColumnsCount() -
beginTabBar
Create and append into a TabBar -
beginTabBar
Create and append into a TabBar -
endTabBar
public static void endTabBar()Only call EndTabBar() if BeginTabBar() returns true! -
beginTabItem
Create a Tab. Returns true if the Tab is selected. -
beginTabItem
Create a Tab. Returns true if the Tab is selected. -
beginTabItem
Create a Tab. Returns true if the Tab is selected. -
beginTabItem
Create a Tab. Returns true if the Tab is selected. -
endTabItem
public static void endTabItem()Only call EndTabItem() if BeginTabItem() returns true! -
tabItemButton
Create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar. -
tabItemButton
Create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar. -
setTabItemClosed
Notify TabBar or Docking system of a closed tab/window ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name. -
dockSpace
public static int dockSpace(int dockspaceId) -
dockSpace
-
dockSpace
public static int dockSpace(int dockspaceId, float sizeX, float sizeY) -
dockSpace
-
dockSpace
public static int dockSpace(int dockspaceId, float sizeX, float sizeY, int imGuiDockNodeFlags) -
dockSpace
public static int dockSpace(int dockspaceId, ImVec2 size, int imGuiDockNodeFlags, ImGuiWindowClass windowClass) -
dockSpace
public static int dockSpace(int dockspaceId, float sizeX, float sizeY, int imGuiDockNodeFlags, ImGuiWindowClass windowClass) -
dockSpace
-
dockSpace
-
dockSpace
-
dockSpace
public static int dockSpace(int dockspaceId, float sizeX, float sizeY, ImGuiWindowClass windowClass) -
dockSpaceOverViewport
public static int dockSpaceOverViewport() -
dockSpaceOverViewport
public static int dockSpaceOverViewport(int dockspaceId) -
dockSpaceOverViewport
-
dockSpaceOverViewport
public static int dockSpaceOverViewport(int dockspaceId, ImGuiViewport viewport, int imGuiDockNodeFlags) -
dockSpaceOverViewport
public static int dockSpaceOverViewport(int dockspaceId, ImGuiViewport viewport, int imGuiDockNodeFlags, ImGuiWindowClass windowClass) -
dockSpaceOverViewport
public static int dockSpaceOverViewport(ImGuiViewport viewport, int imGuiDockNodeFlags, ImGuiWindowClass windowClass) -
dockSpaceOverViewport
public static int dockSpaceOverViewport(int dockspaceId, ImGuiViewport viewport, ImGuiWindowClass windowClass) -
setNextWindowDockID
public static void setNextWindowDockID(int dockId) Set next window dock id -
setNextWindowDockID
public static void setNextWindowDockID(int dockId, int imGuiCond) Set next window dock id -
setNextWindowClass
set next window class (rare/advanced uses: provide hints to the platform backend via altered viewport flags and parent/child info) -
getWindowDockID
public static int getWindowDockID() -
isWindowDocked
public static boolean isWindowDocked()Is current window docked into another window? -
logToTTY
public static void logToTTY()Start logging to tty (stdout) -
logToTTY
public static void logToTTY(int autoOpenDepth) Start logging to tty (stdout) -
logToFile
public static void logToFile()Start logging to file -
logToFile
public static void logToFile(int autoOpenDepth) Start logging to file -
logToFile
Start logging to file -
logToFile
Start logging to file -
logToClipboard
public static void logToClipboard()Start logging to OS clipboard -
logToClipboard
public static void logToClipboard(int autoOpenDepth) Start logging to OS clipboard -
logFinish
public static void logFinish()Stop logging (close file, etc.) -
logButtons
public static void logButtons()Helper to display buttons for logging to tty/file/clipboard -
logText
Pass text data straight to log (without being displayed) -
beginDragDropSource
public static boolean beginDragDropSource()Call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() -
beginDragDropSource
public static boolean beginDragDropSource(int imGuiDragDropFlags) Call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource() -
setDragDropPayload
Type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types.BINDING NOTICE: Method adopted for Java, so objects are used instead of raw bytes. Binding stores a reference to the object in a form of
WeakReference. -
setDragDropPayload
Type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types.BINDING NOTICE: Method adopted for Java, so objects are used instead of raw bytes. Binding stores a reference to the object in a form of
WeakReference. -
setDragDropPayload
Binding alternative forsetDragDropPayload(String, Object), which uses payload class as a unique identifier. -
setDragDropPayload
Binding alternative forsetDragDropPayload(String, Object, int), which uses payload class as a unique identifier. -
endDragDropSource
public static void endDragDropSource()Only call EndDragDropSource() if BeginDragDropSource() returns true! -
beginDragDropTarget
public static boolean beginDragDropTarget()Call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget() -
acceptDragDropPayload
Accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -
acceptDragDropPayload
Type safe alternative foracceptDragDropPayload(String), since it checks assignability of the accepted class. -
acceptDragDropPayload
Accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -
acceptDragDropPayload
Type safe alternative foracceptDragDropPayload(String, int), since it checks assignability of the accepted class. -
acceptDragDropPayload
Binding alternative foracceptDragDropPayload(String), which uses payload class as a unique identifier. -
acceptDragDropPayload
Binding alternative foracceptDragDropPayload(String, int), which uses payload class as a unique identifier. -
endDragDropTarget
public static void endDragDropTarget()Only call EndDragDropTarget() if BeginDragDropTarget() returns true! -
getDragDropPayload
public static <T> T getDragDropPayload()Peek directly into the current payload from anywhere. returns NULL when drag and drop is finished or inactive. use ImGuiPayload::IsDataType() to test for the payload type. -
getDragDropPayload
Peek directly into the current payload from anywhere. May return NULL. Checks if payload has the same type as provided. -
getDragDropPayload
Binding alternative forgetDragDropPayload(String), which uses payload class as a unique identifier. -
beginDisabled
public static void beginDisabled()Disable all user interactions and dim items visuals (applying style.DisabledAlpha over current colors) BeginDisabled(false) essentially does nothing useful but is provided to facilitate use of boolean expressions. If you can avoid calling BeginDisabled(False)/EndDisabled() best to avoid it. -
beginDisabled
public static void beginDisabled(boolean disabled) Disable all user interactions and dim items visuals (applying style.DisabledAlpha over current colors) BeginDisabled(false) essentially does nothing useful but is provided to facilitate use of boolean expressions. If you can avoid calling BeginDisabled(False)/EndDisabled() best to avoid it. -
endDisabled
public static void endDisabled() -
pushClipRect
-
pushClipRect
public static void pushClipRect(float clipRectMinX, float clipRectMinY, float clipRectMaxX, float clipRectMaxY, boolean intersectWithCurrentClipRect) -
popClipRect
public static void popClipRect() -
setItemDefaultFocus
public static void setItemDefaultFocus()Make last item the default focused item of a window. -
setKeyboardFocusHere
public static void setKeyboardFocusHere()Focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. -
setKeyboardFocusHere
public static void setKeyboardFocusHere(int offset) Focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. -
setNextItemAllowOverlap
public static void setNextItemAllowOverlap()Allow next item to be overlapped by a subsequent item. Useful with invisible buttons, selectable, treenode covering an area where subsequent items may need to be added. Note that both Selectable() and TreeNode() have dedicated flags doing this. -
isItemHovered
public static boolean isItemHovered()Is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -
isItemHovered
public static boolean isItemHovered(int imGuiHoveredFlags) Is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -
isItemActive
public static boolean isItemActive()Is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false) -
isItemFocused
public static boolean isItemFocused()Is the last item focused for keyboard/gamepad navigation? -
isItemClicked
public static boolean isItemClicked()Is the last item hovered and mouse clicked on? (**) ==IsMouseClicked(mouseButton) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. -
isItemClicked
public static boolean isItemClicked(int mouseButton) Is the last item hovered and mouse clicked on? (**) ==IsMouseClicked(mouseButton) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. -
isItemVisible
public static boolean isItemVisible()Is the last item visible? (items may be out of sight because of clipping/scrolling) -
isItemEdited
public static boolean isItemEdited()Did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets. -
isItemActivated
public static boolean isItemActivated()Was the last item just made active (item was previously inactive). -
isItemDeactivated
public static boolean isItemDeactivated()Was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that require continuous editing. -
isItemDeactivatedAfterEdit
public static boolean isItemDeactivatedAfterEdit()Was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). -
isItemToggledOpen
public static boolean isItemToggledOpen()Was the last item open state toggled? set by TreeNode(). -
isItemToggledSelection
public static boolean isItemToggledSelection()Was the last item's selection state toggled? (since imgui 1.91 multi-select). Useful if you need per-item information before reachingEndMultiSelect(). -
setNextItemSelectionUserData
public static void setNextItemSelectionUserData(long selectionUserData) Set selection user data for the next item, used byBeginMultiSelect/EndMultiSelect()and insideImGuiMultiSelectIO. Opaque 64-bit value (e.g. an index, a pointer, a hash) unique to your item identity (since imgui 1.91). -
isAnyItemHovered
public static boolean isAnyItemHovered()Is any item hovered? -
isAnyItemActive
public static boolean isAnyItemActive()Is any item active? -
isAnyItemFocused
public static boolean isAnyItemFocused()Is any item focused? -
getItemID
public static int getItemID()Get ID of last item (~~ often same ImGui::GetID(label) beforehand) -
getItemFlags
public static int getItemFlags()Get generic flags of last item (since imgui 1.91). Returns anImGuiItemFlagsmask. -
getItemRectMin
Get upper-left bounding rectangle of the last item (screen space) -
getItemRectMinX
public static float getItemRectMinX()Get upper-left bounding rectangle of the last item (screen space) -
getItemRectMinY
public static float getItemRectMinY()Get upper-left bounding rectangle of the last item (screen space) -
getItemRectMin
Get upper-left bounding rectangle of the last item (screen space) -
getItemRectMax
Get lower-right bounding rectangle of the last item (screen space) -
getItemRectMaxX
public static float getItemRectMaxX()Get lower-right bounding rectangle of the last item (screen space) -
getItemRectMaxY
public static float getItemRectMaxY()Get lower-right bounding rectangle of the last item (screen space) -
getItemRectMax
Get lower-right bounding rectangle of the last item (screen space) -
getItemRectSize
Get size of last item -
getItemRectSizeX
public static float getItemRectSizeX()Get size of last item -
getItemRectSizeY
public static float getItemRectSizeY()Get size of last item -
getItemRectSize
Get size of last item -
getMainViewport
Return primary/default viewport. -
getBackgroundDrawList
Get background draw list for the given viewport or viewport associated to the current window. This draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. -
getBackgroundDrawList
Get background draw list for the given viewport or viewport associated to the current window. This draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. -
getForegroundDrawList
Get foreground draw list for the given viewport or viewport associated to the current window. This draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. -
getForegroundDrawList
Get foreground draw list for the given viewport or viewport associated to the current window. This draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. -
isRectVisible
Test if rectangle (of given size, starting from cursor position) is visible / not clipped. -
isRectVisible
public static boolean isRectVisible(float sizeX, float sizeY) Test if rectangle (of given size, starting from cursor position) is visible / not clipped. -
isRectVisible
Test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -
isRectVisible
public static boolean isRectVisible(float rectMinX, float rectMinY, float rectMaxX, float rectMaxY) Test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -
getTime
public static double getTime()Get global imgui time. incremented by io.DeltaTime every frame. -
getFrameCount
public static int getFrameCount()Get global imgui frame count. incremented by 1 every frame. -
getStyleColorName
Get a string corresponding to the enum value (for display, saving, etc.). -
setStateStorage
Replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it). -
getStateStorage
-
calcTextSize
-
calcTextSizeX
-
calcTextSizeY
-
calcTextSize
-
calcTextSize
-
calcTextSizeX
-
calcTextSizeY
-
calcTextSize
-
calcTextSize
-
calcTextSizeX
-
calcTextSizeY
-
calcTextSize
-
calcTextSize
-
calcTextSizeX
-
calcTextSizeY
-
calcTextSize
-
colorConvertU32ToFloat4
-
colorConvertU32ToFloat4X
public static float colorConvertU32ToFloat4X(int in) -
colorConvertU32ToFloat4Y
public static float colorConvertU32ToFloat4Y(int in) -
colorConvertU32ToFloat4Z
public static float colorConvertU32ToFloat4Z(int in) -
colorConvertU32ToFloat4W
public static float colorConvertU32ToFloat4W(int in) -
colorConvertU32ToFloat4
-
colorConvertFloat4ToU32
-
colorConvertFloat4ToU32
public static int colorConvertFloat4ToU32(float inX, float inY, float inZ, float inW) -
colorConvertRGBtoHSV
public static void colorConvertRGBtoHSV(float[] rgb, float[] hsv) -
nColorConvertRGBtoHSV
public static void nColorConvertRGBtoHSV(float[] rgb, float[] hsv) -
colorConvertHSVtoRGB
public static void colorConvertHSVtoRGB(float[] hsv, float[] rgb) -
nColorConvertHSVtoRGB
public static void nColorConvertHSVtoRGB(float[] hsv, float[] rgb) -
isKeyDown
public static boolean isKeyDown(int key) Is key being held. == io.KeysDown[user_key_index]. -
isKeyPressed
public static boolean isKeyPressed(int key) Was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate -
isKeyPressed
public static boolean isKeyPressed(int key, boolean repeat) Was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate -
isKeyReleased
public static boolean isKeyReleased(int key) Was key released (went from Down to !Down) -
isKeyChordPressed
public static boolean isKeyChordPressed(int keyChord) Was key chord (mods + key) pressed, e.g. you can pass 'ImGuiMod_Ctrl | ImGuiKey_S' as a key-chord. This doesn't do any routing or focus check, please consider using Shortcut() function instead. -
getKeyPressedAmount
public static boolean getKeyPressedAmount(int key, float repeatDelay, float rate) Uses provided repeat rate/delay. Return a count, most often 0 or 1 but might be>1if RepeatRate is small enough thatDeltaTime > RepeatRate -
getKeyName
[DEBUG] returns English name of the key. Those names a provided for debugging purpose and are not meant to be saved persistently not compared. -
setNextFrameWantCaptureKeyboard
public static void setNextFrameWantCaptureKeyboard(boolean wantCaptureKeyboard) Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call. -
shortcut
public static boolean shortcut(int keyChord) -
shortcut
public static boolean shortcut(int keyChord, int flags) -
setNextItemShortcut
public static void setNextItemShortcut(int keyChord) -
setNextItemShortcut
public static void setNextItemShortcut(int keyChord, int flags) -
isMouseDown
public static boolean isMouseDown(int button) Is mouse button held (0=left, 1=right, 2=middle) -
isMouseClicked
public static boolean isMouseClicked(int button) Did mouse button clicked (went from !Down to Down) (0=left, 1=right, 2=middle) -
isMouseClicked
public static boolean isMouseClicked(int button, boolean repeat) Did mouse button clicked (went from !Down to Down) (0=left, 1=right, 2=middle) -
isMouseReleased
public static boolean isMouseReleased(int button) Did mouse button released (went from Down to !Down) -
isMouseDoubleClicked
public static boolean isMouseDoubleClicked(int button) did mouse button double-clicked? (note that a double-click will also report IsMouseClicked() == true). -
getMouseClickedCount
public static int getMouseClickedCount(int button) Return the number of successive mouse-clicks at the time where a click happen (otherwise 0). -
isMouseHoveringRect
Is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. -
isMouseHoveringRect
public static boolean isMouseHoveringRect(float rMinX, float rMinY, float rMaxX, float rMaxY) Is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. -
isMouseHoveringRect
Is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. -
isMouseHoveringRect
public static boolean isMouseHoveringRect(float rMinX, float rMinY, float rMaxX, float rMaxY, boolean clip) Is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. -
isMousePosValid
public static boolean isMousePosValid()By convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse -
isMousePosValid
By convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse -
isMousePosValid
public static boolean isMousePosValid(float mousePosX, float mousePosY) By convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse -
isAnyMouseDown
public static boolean isAnyMouseDown()Is any mouse button held -
getMousePos
Shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -
getMousePosX
public static float getMousePosX()Shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -
getMousePosY
public static float getMousePosY()Shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -
getMousePos
Shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls -
getMousePosOnOpeningCurrentPopup
Retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -
getMousePosOnOpeningCurrentPopupX
public static float getMousePosOnOpeningCurrentPopupX()Retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -
getMousePosOnOpeningCurrentPopupY
public static float getMousePosOnOpeningCurrentPopupY()Retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -
getMousePosOnOpeningCurrentPopup
Retrieve backup of mouse position at the time of opening popup we have BeginPopup() into -
isMouseDragging
public static boolean isMouseDragging(int button) Is mouse dragging?(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
isMouseDragging
public static boolean isMouseDragging(int button, float lockThreshold) Is mouse dragging?(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDelta
Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDeltaX
public static float getMouseDragDeltaX()Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDeltaY
public static float getMouseDragDeltaY()Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDelta
Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDelta
Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDeltaX
public static float getMouseDragDeltaX(int button) Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDeltaY
public static float getMouseDragDeltaY(int button) Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDelta
Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDelta
Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDeltaX
public static float getMouseDragDeltaX(int button, float lockThreshold) Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDeltaY
public static float getMouseDragDeltaY(int button, float lockThreshold) Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
getMouseDragDelta
Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once(uses io.MouseDraggingThreshold if lock_threshold < 0.0f) -
resetMouseDragDelta
public static void resetMouseDragDelta() -
resetMouseDragDelta
public static void resetMouseDragDelta(int button) -
getMouseCursor
public static int getMouseCursor()Get desired mouse cursor shape. Important: reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you -
setMouseCursor
public static void setMouseCursor(int type) Set desired mouse cursor shape -
setNextFrameWantCaptureMouse
public static void setNextFrameWantCaptureMouse(boolean wantCaptureMouse) Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call. -
getClipboardText
-
setClipboardText
-
loadIniSettingsFromDisk
Call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). -
loadIniSettingsFromMemory
Call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. -
loadIniSettingsFromMemory
Call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. -
saveIniSettingsToDisk
This is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext). -
saveIniSettingsToMemory
Return a zero-terminated string with the .ini data which you can save by your own mean. Call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. -
saveIniSettingsToMemory
Return a zero-terminated string with the .ini data which you can save by your own mean. Call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. -
debugTextEncoding
-
debugFlashStyleColor
public static void debugFlashStyleColor(int idx) -
debugStartItemPicker
public static void debugStartItemPicker() -
debugCheckVersionAndDataLayout
public static boolean debugCheckVersionAndDataLayout(String versionStr, int szIo, int szStyle, int szVec2, int szVec4, int szDrawVert, int szDrawIdx) -
getPlatformIO
Platform/renderer functions, for backend to setup + viewports list. -
updatePlatformWindows
public static void updatePlatformWindows()Call in main loop. Will call CreateWindow/ResizeWindow/etc. Platform functions for each secondary viewport, and DestroyWindow for each inactive viewport. -
renderPlatformWindowsDefault
public static void renderPlatformWindowsDefault()Call in main loop. will call RenderWindow/SwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs. -
destroyPlatformWindows
public static void destroyPlatformWindows()Call DestroyWindow platform functions for all viewports. Call from backend Shutdown() if you need to close platform windows before imgui shutdown. Otherwise will be called by DestroyContext(). -
findViewportByID
This is a helper for backends. -
findViewportByPlatformHandle
This is a helper for backends. The type platform_handle is decided by the backend (e.g. HWND, MyWindow*, GLFWwindow* etc.)
-
beginChild(String, ImVec2, int, int)instead.