public final class ImGuiIO extends ImGuiStruct
ptr
Constructor and Description |
---|
ImGuiIO(long ptr) |
Modifier and Type | Method and Description |
---|---|
void |
addBackendFlags(int backendFlags)
See ImGuiBackendFlags enum.
|
void |
addConfigFlags(int configFlags)
See ImGuiConfigFlags enum.
|
void |
addFocusEvent(boolean focused)
Notifies Dear ImGui when hosting platform windows lose or gain input focus
|
void |
addInputCharacter(int c)
Queue new character input.
|
void |
addInputCharactersUTF8(java.lang.String str)
Queue new characters input from an UTF-8 string.
|
void |
addInputCharacterUTF16(short c)
Queue new character input from an UTF-16 character, it can be a surrogate
|
void |
clearInputCharacters()
[Internal] Clear the text input buffer manually
|
void |
clearInputKeys()
[Internal] Release all keys
|
int |
getBackendFlags()
See ImGuiBackendFlags enum.
|
java.lang.String |
getBackendPlatformName()
Optional: Platform backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
java.lang.String |
getBackendRendererName()
Optional: Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
boolean |
getConfigDockingAlwaysTabBar()
[BETA] [FIXME: This currently creates regression with auto-sizing and general overhead]
Make every single floating window display within a docking node.
|
boolean |
getConfigDockingNoSplit()
Simplified docking mode: disable window splitting, so docking is limited to merging multiple windows together into tab-bars.
|
boolean |
getConfigDockingTransparentPayload()
[BETA] Make window or viewport transparent when docking and only display docking boxes on the target viewport.
|
boolean |
getConfigDockingWithShift()
Enable docking with holding Shift key (reduce visual noise, allows dropping in wider space)
|
boolean |
getConfigDragClickToInputText()
[BETA] Enable turning DragXXX widgets into text input with a simple mouse click-release (without moving).
|
int |
getConfigFlags()
See ImGuiConfigFlags enum.
|
boolean |
getConfigInputTextCursorBlink()
Set to false to disable blinking cursor, for users who consider it distracting.
|
boolean |
getConfigMacOSXBehaviors()
OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl,
Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text,
Multi-selection in lists uses Cmd/Super instead of Ctrl
|
float |
getConfigMemoryCompactTimer()
[Timer (in seconds) to free transient windows/tables memory buffers when unused.
|
boolean |
getConfigViewportsNoAutoMerge()
Set to make all floating imgui windows always create their own viewport.
|
boolean |
getConfigViewportsNoDecoration()
[BETA] Disable default OS window decoration flag for secondary viewports.
|
boolean |
getConfigViewportsNoDefaultParent()
Disable default OS parenting to main viewport for secondary viewports.
|
boolean |
getConfigViewportsNoTaskBarIcon()
Disable default OS task bar icon flag for secondary viewports.
|
boolean |
getConfigWindowsMoveFromTitleBarOnly()
Enable allowing to move windows only when clicking on their title bar.
|
boolean |
getConfigWindowsResizeFromEdges()
Enable resizing of windows from their edges and from the lower-left corner.
|
float |
getDeltaTime()
Time elapsed since last frame, in seconds.
|
ImVec2 |
getDisplayFramebufferScale()
For retina display or other situations where window coordinates are different from framebuffer coordinates.
|
void |
getDisplayFramebufferScale(ImVec2 dstImVec2)
For retina display or other situations where window coordinates are different from framebuffer coordinates.
|
float |
getDisplayFramebufferScaleX()
For retina display or other situations where window coordinates are different from framebuffer coordinates.
|
float |
getDisplayFramebufferScaleY()
For retina display or other situations where window coordinates are different from framebuffer coordinates.
|
ImVec2 |
getDisplaySize()
Main display size, in pixels.
|
void |
getDisplaySize(ImVec2 dstImVec2)
Main display size, in pixels.
|
float |
getDisplaySizeX()
Main display size, in pixels.
|
float |
getDisplaySizeY()
Main display size, in pixels.
|
boolean |
getFontAllowUserScaling()
Allow user scaling text of individual window with CTRL+Wheel.
|
float |
getFontGlobalScale()
Global scale all fonts
|
ImFontAtlas |
getFonts()
Font atlas: load, rasterize and pack one or more fonts into a single texture.
|
float |
getFramerate()
Application framerate estimate, in frame per second.
|
java.lang.String |
getIniFilename()
Path to .ini file.
|
float |
getIniSavingRate()
Minimum time between saving positions/sizes to .ini file, in seconds.
|
boolean |
getKeyAlt()
Keyboard modifier pressed: Alt
|
boolean |
getKeyCtrl()
Keyboard modifier pressed: Control
|
int |
getKeyMap(int idx)
Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state.
|
void |
getKeyMap(int[] buff)
Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state.
|
float |
getKeyRepeatDelay()
When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.).
|
float |
getKeyRepeatRate()
When holding a key/button, rate at which it repeats, in seconds.
|
void |
getKeysDown(boolean[] buff)
Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys).
|
boolean |
getKeysDown(int idx)
Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys).
|
boolean |
getKeyShift()
Keyboard modifier pressed: Shift
|
boolean |
getKeySuper()
Keyboard modifier pressed: Cmd/Super/Windows
|
java.lang.String |
getLogFilename()
Path to .log file (default parameter to ImGui::LogToFile when no file is specified).
|
int |
getMetricsActiveAllocations()
Number of active allocations, updated by MemAlloc/MemFree based on current context.
|
int |
getMetricsActiveWindows()
Number of active windows
|
int |
getMetricsRenderIndices()
Indices output during last call to Render() = number of triangles * 3
|
int |
getMetricsRenderVertices()
Vertices output during last call to Render()
|
int |
getMetricsRenderWindows()
Number of visible windows
|
ImVec2 |
getMouseDelta()
Mouse delta.
|
void |
getMouseDelta(ImVec2 dstImVec2)
Mouse delta.
|
float |
getMouseDeltaX()
Mouse delta.
|
float |
getMouseDeltaY()
Mouse delta.
|
float |
getMouseDoubleClickMaxDist()
Distance threshold to stay in to validate a double-click, in pixels.
|
float |
getMouseDoubleClickTime()
Time for a double-click, in seconds.
|
void |
getMouseDown(boolean[] buff)
Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5).
|
boolean |
getMouseDown(int idx)
Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5).
|
float |
getMouseDragThreshold()
Distance threshold before considering we are dragging.
|
boolean |
getMouseDrawCursor()
Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor).
|
float |
getMouseHoveredViewport()
(Optional) When using multiple viewports: viewport the OS mouse cursor is hovering _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag,
and _REGARDLESS_ of whether another viewport is focused.
|
ImVec2 |
getMousePos()
Mouse position, in pixels.
|
void |
getMousePos(ImVec2 dstImVec2)
Mouse position, in pixels.
|
float |
getMousePosX()
Mouse position, in pixels.
|
float |
getMousePosY()
Mouse position, in pixels.
|
float |
getMouseWheel()
Mouse wheel Vertical: 1 unit scrolls about 5 lines text.
|
float |
getMouseWheelH()
Mouse wheel Horizontal.
|
boolean |
getNavActive()
Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused
and it doesn't use the ImGuiWindowFlags_NoNavInputs flag.
|
void |
getNavInputs(float[] buff)
Gamepad inputs.
|
float |
getNavInputs(int idx)
Gamepad inputs.
|
boolean |
getNavVisible()
Keyboard/Gamepad navigation is visible and allowed (will handle ImGuiKey_NavXXX events).
|
boolean |
getWantCaptureKeyboard()
Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application
(either way, always pass keyboard inputs to imgui).
|
boolean |
getWantCaptureMouse()
Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application
(either way, always pass on mouse inputs to imgui).
|
boolean |
getWantSaveIniSettings()
When manual .ini load/save is active (io.IniFilename == NULL),
this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself.
|
boolean |
getWantSetMousePos()
MousePos has been altered, backend should reposition mouse on next frame.
|
boolean |
getWantTextInput()
Mobile/console: when set, you may display an on-screen keyboard.
|
boolean |
hasBackendFlags(int flags)
See ImGuiBackendFlags enum.
|
boolean |
hasConfigFlags(int flags)
See ImGuiConfigFlags enum.
|
void |
removeBackendFlags(int backendFlags)
See ImGuiBackendFlags enum.
|
void |
removeConfigFlags(int configFlags)
See ImGuiConfigFlags enum.
|
void |
setBackendFlags(int backendFlags)
See ImGuiBackendFlags enum.
|
void |
setBackendPlatformName(java.lang.String backendPlatformName)
Optional: Platform backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
void |
setBackendRendererName(java.lang.String backendRendererName)
Optional: Renderer backend name (informational only! will be displayed in About Window) + User data for backend/wrappers to store their own stuff.
|
void |
setConfigDockingAlwaysTabBar(boolean value)
[BETA] [FIXME: This currently creates regression with auto-sizing and general overhead]
Make every single floating window display within a docking node.
|
void |
setConfigDockingNoSplit(boolean value)
Simplified docking mode: disable window splitting, so docking is limited to merging multiple windows together into tab-bars.
|
void |
setConfigDockingTransparentPayload(boolean value)
[BETA] Make window or viewport transparent when docking and only display docking boxes on the target viewport.
|
void |
setConfigDockingWithShift(boolean value)
Enable docking with holding Shift key (reduce visual noise, allows dropping in wider space)
|
void |
setConfigDragClickToInputText(boolean configDragClickToInputText)
[BETA] Enable turning DragXXX widgets into text input with a simple mouse click-release (without moving).
|
void |
setConfigFlags(int configFlags)
See ImGuiConfigFlags enum.
|
void |
setConfigInputTextCursorBlink(boolean configInputTextCursorBlink)
Set to false to disable blinking cursor, for users who consider it distracting.
|
void |
setConfigMacOSXBehaviors(boolean configMacOSXBehaviors)
OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl,
Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text,
Multi-selection in lists uses Cmd/Super instead of Ctrl
|
void |
setConfigMemoryCompactTimer(float configMemoryCompactTimer)
Timer (in seconds) to free transient windows/tables memory buffers when unused.
|
void |
setConfigViewportsNoAutoMerge(boolean value)
Set to make all floating imgui windows always create their own viewport.
|
void |
setConfigViewportsNoDecoration(boolean value)
[BETA] Disable default OS window decoration flag for secondary viewports.
|
void |
setConfigViewportsNoDefaultParent(boolean value)
Disable default OS parenting to main viewport for secondary viewports.
|
void |
setConfigViewportsNoTaskBarIcon(boolean value)
Disable default OS task bar icon flag for secondary viewports.
|
void |
setConfigWindowsMoveFromTitleBarOnly(boolean configWindowsMoveFromTitleBarOnly)
Enable allowing to move windows only when clicking on their title bar.
|
void |
setConfigWindowsResizeFromEdges(boolean configWindowsResizeFromEdges)
Enable resizing of windows from their edges and from the lower-left corner.
|
void |
setDeltaTime(float deltaTime)
Time elapsed since last frame, in seconds.
|
void |
setDisplayFramebufferScale(float x,
float y)
For retina display or other situations where window coordinates are different from framebuffer coordinates.
|
void |
setDisplaySize(float x,
float y)
Main display size, in pixels.
|
void |
setFontAllowUserScaling(boolean fontAllowUserScaling)
Allow user scaling text of individual window with CTRL+Wheel.
|
void |
setFontDefault(ImFont fontDefault) |
void |
setFontGlobalScale(float fontGlobalScale)
Global scale all fonts
|
void |
setFonts(ImFontAtlas imFontAtlas)
Font atlas: load, rasterize and pack one or more fonts into a single texture.
|
void |
setFramerate(float framerate)
Application framerate estimate, in frame per second.
|
void |
setGetClipboardTextFn(ImStrSupplier getClipboardTextCallback) |
void |
setIniFilename(java.lang.String iniFilename)
Path to .ini file.
|
void |
setIniSavingRate(float iniSavingRate)
Minimum time between saving positions/sizes to .ini file, in seconds.
|
void |
setKeyAlt(boolean value)
Keyboard modifier pressed: Alt
|
void |
setKeyCtrl(boolean value)
Keyboard modifier pressed: Control
|
void |
setKeyMap(int[] keyMap)
Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state.
|
void |
setKeyMap(int idx,
int code)
Map of indices into the KeysDown[512] entries array which represent your "native" keyboard state.
|
void |
setKeyRepeatDelay(float keyRepeatDelay)
When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.).
|
void |
setKeyRepeatRate(float keyRepeatRate)
When holding a key/button, rate at which it repeats, in seconds.
|
void |
setKeysDown(boolean[] keysDown)
Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys).
|
void |
setKeysDown(int idx,
boolean pressed)
Keyboard keys that are pressed (ideally left in the "native" order your engine has access to keyboard keys, so you can use your own defines/enums for keys).
|
void |
setKeyShift(boolean value)
Keyboard modifier pressed: Shift
|
void |
setKeySuper(boolean value)
Keyboard modifier pressed: Cmd/Super/Windows
|
void |
setLogFilename(java.lang.String logFilename)
Path to .log file (default parameter to ImGui::LogToFile when no file is specified).
|
void |
setMetricsActiveAllocations(int metricsActiveAllocations)
Number of active allocations, updated by MemAlloc/MemFree based on current context.
|
void |
setMetricsActiveWindows(int metricsActiveWindows)
Number of active windows
|
void |
setMetricsRenderIndices(int metricsRenderIndices)
Indices output during last call to Render() = number of triangles * 3
|
void |
setMetricsRenderVertices(int metricsRenderVertices)
Vertices output during last call to Render()
|
void |
setMetricsRenderWindows(int metricsRenderWindows)
Number of visible windows
|
void |
setMouseDelta(float x,
float y)
Mouse delta.
|
void |
setMouseDoubleClickMaxDist(float mouseDoubleClickMaxDist)
Distance threshold to stay in to validate a double-click, in pixels.
|
void |
setMouseDoubleClickTime(float mouseDoubleClickTime)
Time for a double-click, in seconds.
|
void |
setMouseDown(boolean[] mouseDown)
Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5).
|
void |
setMouseDown(int idx,
boolean down)
Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5).
|
void |
setMouseDragThreshold(float mouseDragThreshold)
Distance threshold before considering we are dragging.
|
void |
setMouseDrawCursor(boolean mouseDrawCursor)
Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor).
|
void |
setMouseHoveredViewport(int imGuiId)
(Optional) When using multiple viewports: viewport the OS mouse cursor is hovering _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag,
and _REGARDLESS_ of whether another viewport is focused.
|
void |
setMousePos(float x,
float y)
Mouse position, in pixels.
|
void |
setMouseWheel(float mouseDeltaY)
Mouse wheel Vertical: 1 unit scrolls about 5 lines text.
|
void |
setMouseWheelH(float mouseDeltaX)
Mouse wheel Horizontal.
|
void |
setNavActive(boolean navActive)
Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused
and it doesn't use the ImGuiWindowFlags_NoNavInputs flag.
|
void |
setNavInputs(float[] navInputs)
Gamepad inputs.
|
void |
setNavInputs(int idx,
float input)
Gamepad inputs.
|
void |
setNavVisible(boolean navVisible)
Keyboard/Gamepad navigation is visible and allowed (will handle ImGuiKey_NavXXX events).
|
void |
setSetClipboardTextFn(ImStrConsumer setClipboardTextCallback) |
void |
setWantCaptureKeyboard(boolean wantCaptureKeyboard)
Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application
(either way, always pass keyboard inputs to imgui).
|
void |
setWantCaptureMouse(boolean wantCaptureMouse)
Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application
(either way, always pass on mouse inputs to imgui).
|
void |
setWantSaveIniSettings(boolean wantSaveIniSettings)
When manual .ini load/save is active (io.IniFilename == NULL),
this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself.
|
void |
setWantSetMousePos(boolean wantSetMousePos)
MousePos has been altered, backend should reposition mouse on next frame.
|
void |
setWantTextInput(boolean wantTextInput)
Mobile/console: when set, you may display an on-screen keyboard.
|
isNotValidPtr, isValidPtr
public int getConfigFlags()
public void setConfigFlags(int configFlags)
public void addConfigFlags(int configFlags)
public void removeConfigFlags(int configFlags)
public boolean hasConfigFlags(int flags)
public int getBackendFlags()
public void setBackendFlags(int backendFlags)
public void addBackendFlags(int backendFlags)
public void removeBackendFlags(int backendFlags)
public boolean hasBackendFlags(int flags)
public float getIniSavingRate()
public void setIniSavingRate(float iniSavingRate)
public java.lang.String getIniFilename()
public void setIniFilename(java.lang.String iniFilename)
public java.lang.String getLogFilename()
public void setLogFilename(java.lang.String logFilename)
public float getMouseDoubleClickTime()
public void setMouseDoubleClickTime(float mouseDoubleClickTime)
public float getMouseDoubleClickMaxDist()
public void setMouseDoubleClickMaxDist(float mouseDoubleClickMaxDist)
public float getMouseDragThreshold()
public void setMouseDragThreshold(float mouseDragThreshold)
public void getKeyMap(int[] buff)
public int getKeyMap(int idx)
public void setKeyMap(int idx, int code)
public void setKeyMap(int[] keyMap)
public float getKeyRepeatDelay()
public void setKeyRepeatDelay(float keyRepeatDelay)
public float getKeyRepeatRate()
public void setKeyRepeatRate(float keyRepeatRate)
public ImFontAtlas getFonts()
public void setFonts(ImFontAtlas imFontAtlas)
BINDING NOTICE: You SHOULD manually destroy previously used ImFontAtlas.
public float getFontGlobalScale()
public void setFontGlobalScale(float fontGlobalScale)
public boolean getFontAllowUserScaling()
public void setFontAllowUserScaling(boolean fontAllowUserScaling)
public void setFontDefault(ImFont fontDefault)
public boolean getMouseDrawCursor()
public void setMouseDrawCursor(boolean mouseDrawCursor)
public boolean getConfigMacOSXBehaviors()
public void setConfigMacOSXBehaviors(boolean configMacOSXBehaviors)
public boolean getConfigInputTextCursorBlink()
public void setConfigInputTextCursorBlink(boolean configInputTextCursorBlink)
public boolean getConfigDragClickToInputText()
public void setConfigDragClickToInputText(boolean configDragClickToInputText)
public boolean getConfigWindowsResizeFromEdges()
&
ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback.
(This used to be a per-window ImGuiWindowFlags_ResizeFromAnySide flag)public void setConfigWindowsResizeFromEdges(boolean configWindowsResizeFromEdges)
&
ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback.
(This used to be a per-window ImGuiWindowFlags_ResizeFromAnySide flag)public boolean getConfigWindowsMoveFromTitleBarOnly()
public void setConfigWindowsMoveFromTitleBarOnly(boolean configWindowsMoveFromTitleBarOnly)
public float getConfigMemoryCompactTimer()
public void setConfigMemoryCompactTimer(float configMemoryCompactTimer)
public java.lang.String getBackendPlatformName()
public void setBackendPlatformName(java.lang.String backendPlatformName)
public java.lang.String getBackendRendererName()
public void setBackendRendererName(java.lang.String backendRendererName)
public void setSetClipboardTextFn(ImStrConsumer setClipboardTextCallback)
public void setGetClipboardTextFn(ImStrSupplier getClipboardTextCallback)
public ImVec2 getDisplaySize()
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public void getDisplaySize(ImVec2 dstImVec2)
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public float getDisplaySizeX()
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public float getDisplaySizeY()
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public void setDisplaySize(float x, float y)
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public ImVec2 getDisplayFramebufferScale()
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public void getDisplayFramebufferScale(ImVec2 dstImVec2)
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public float getDisplayFramebufferScaleX()
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public float getDisplayFramebufferScaleY()
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public void setDisplayFramebufferScale(float x, float y)
BINDING NOTICE: This should be a "Config" part, but since those values may be different for every frame I don't see how it is possible to set them only once.
public boolean getConfigDockingNoSplit()
public void setConfigDockingNoSplit(boolean value)
public boolean getConfigDockingWithShift()
public void setConfigDockingWithShift(boolean value)
public boolean getConfigDockingAlwaysTabBar()
public void setConfigDockingAlwaysTabBar(boolean value)
public boolean getConfigDockingTransparentPayload()
public void setConfigDockingTransparentPayload(boolean value)
public boolean getConfigViewportsNoAutoMerge()
public void setConfigViewportsNoAutoMerge(boolean value)
public boolean getConfigViewportsNoTaskBarIcon()
public void setConfigViewportsNoTaskBarIcon(boolean value)
public boolean getConfigViewportsNoDecoration()
public void setConfigViewportsNoDecoration(boolean value)
public boolean getConfigViewportsNoDefaultParent()
public void setConfigViewportsNoDefaultParent(boolean value)
public float getDeltaTime()
BINDING NOTICE: Same as for DisplaySize. This should be modified every frame.
public void setDeltaTime(float deltaTime)
BINDING NOTICE: Same as for DisplaySize. This should be modified every frame.
public ImVec2 getMousePos()
public void getMousePos(ImVec2 dstImVec2)
public float getMousePosX()
public float getMousePosY()
public void setMousePos(float x, float y)
public void getMouseDown(boolean[] buff)
public boolean getMouseDown(int idx)
public void setMouseDown(int idx, boolean down)
public void setMouseDown(boolean[] mouseDown)
public float getMouseWheel()
public void setMouseWheel(float mouseDeltaY)
public float getMouseWheelH()
public void setMouseWheelH(float mouseDeltaX)
public float getMouseHoveredViewport()
public void setMouseHoveredViewport(int imGuiId)
public boolean getKeyCtrl()
public void setKeyCtrl(boolean value)
public boolean getKeyShift()
public void setKeyShift(boolean value)
public boolean getKeyAlt()
public void setKeyAlt(boolean value)
public boolean getKeySuper()
public void setKeySuper(boolean value)
public void getKeysDown(boolean[] buff)
public boolean getKeysDown(int idx)
public void setKeysDown(int idx, boolean pressed)
public void setKeysDown(boolean[] keysDown)
public void getNavInputs(float[] buff)
public float getNavInputs(int idx)
public void setNavInputs(int idx, float input)
public void setNavInputs(float[] navInputs)
public boolean getWantCaptureMouse()
public void setWantCaptureMouse(boolean wantCaptureMouse)
public boolean getWantCaptureKeyboard()
public void setWantCaptureKeyboard(boolean wantCaptureKeyboard)
public boolean getWantTextInput()
public void setWantTextInput(boolean wantTextInput)
public boolean getWantSetMousePos()
public void setWantSetMousePos(boolean wantSetMousePos)
public boolean getWantSaveIniSettings()
public void setWantSaveIniSettings(boolean wantSaveIniSettings)
public boolean getNavActive()
public void setNavActive(boolean navActive)
public boolean getNavVisible()
public void setNavVisible(boolean navVisible)
public float getFramerate()
public void setFramerate(float framerate)
public int getMetricsRenderVertices()
public void setMetricsRenderVertices(int metricsRenderVertices)
public int getMetricsRenderIndices()
public void setMetricsRenderIndices(int metricsRenderIndices)
public int getMetricsRenderWindows()
public void setMetricsRenderWindows(int metricsRenderWindows)
public int getMetricsActiveWindows()
public void setMetricsActiveWindows(int metricsActiveWindows)
public int getMetricsActiveAllocations()
public void setMetricsActiveAllocations(int metricsActiveAllocations)
public ImVec2 getMouseDelta()
public void getMouseDelta(ImVec2 dstImVec2)
public float getMouseDeltaX()
public float getMouseDeltaY()
public void setMouseDelta(float x, float y)
public void addInputCharacter(int c)
public void addInputCharacterUTF16(short c)
public void addInputCharactersUTF8(java.lang.String str)
public void addFocusEvent(boolean focused)
public void clearInputCharacters()
public void clearInputKeys()