Skip to main content

Class ImGui_Input_Impl_Direct

Assembly: ImGuiScene.dll
View Source
Declaration
public class ImGui_Input_Impl_Direct : IImGuiInputHandler, IDisposable

Implements:
ImGuiScene.IImGuiInputHandler, System.IDisposable

Properties

UpdateCursor

View Source
Declaration
public bool UpdateCursor { get; set; }

Methods

IsImGuiCursor(IntPtr)

View Source
Declaration
public bool IsImGuiCursor(IntPtr hCursor)
Returns

System.Boolean

Parameters
TypeName
System.IntPtrhCursor

NewFrame(int, int)

View Source
Declaration
public void NewFrame(int targetWidth, int targetHeight)
Parameters
TypeName
System.Int32targetWidth
System.Int32targetHeight

SetIniPath(string)

View Source
Declaration
public void SetIniPath(string iniPath)
Parameters
TypeName
System.StringiniPath

ProcessWndProcW(IntPtr, WindowMessage, void*, void*)

Processes window messages. Supports both WndProcA and WndProcW.

View Source
Declaration
public IntPtr? ProcessWndProcW(IntPtr hWnd, User32.WindowMessage msg, void* wParam, void* lParam)
Returns

System.Nullable<System.IntPtr>: Return value, if not doing further processing.

Parameters
TypeNameDescription
System.IntPtrhWndHandle of the window.
PInvoke.User32.WindowMessagemsgType of window message.
System.Void*wParamwParam.
System.Void*lParamlParam.

VirtualKeyToImGuiKey(int)

View Source
Declaration
public static ImGuiKey VirtualKeyToImGuiKey(int key)
Returns

ImGuiNET.ImGuiKey

Parameters
TypeName
System.Int32key

ImGuiKeyToVirtualKey(ImGuiKey)

View Source
Declaration
public static int ImGuiKeyToVirtualKey(ImGuiKey key)
Returns

System.Int32

Parameters
TypeName
ImGuiNET.ImGuiKeykey

Dispose(bool)

View Source
Declaration
protected virtual void Dispose(bool disposing)
Parameters
TypeName
System.Booleandisposing

~ImGui_Input_Impl_Direct()

View Source
Declaration
protected ~ImGui_Input_Impl_Direct()

Dispose()

View Source
Declaration
public void Dispose()

Implements