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
Type | Name |
---|---|
System.IntPtr | hCursor |
NewFrame(int, int)
View Source
Declaration
public void NewFrame(int targetWidth, int targetHeight)
Parameters
Type | Name |
---|---|
System.Int32 | targetWidth |
System.Int32 | targetHeight |
SetIniPath(string)
View Source
Declaration
public void SetIniPath(string iniPath)
Parameters
Type | Name |
---|---|
System.String | iniPath |
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
Type | Name | Description |
---|---|---|
System.IntPtr | hWnd | Handle of the window. |
PInvoke.User32.WindowMessage | msg | Type of window message. |
System.Void* | wParam | wParam. |
System.Void* | lParam | lParam. |
VirtualKeyToImGuiKey(int)
View Source
Declaration
public static ImGuiKey VirtualKeyToImGuiKey(int key)
Returns
Parameters
Type | Name |
---|---|
System.Int32 | key |
ImGuiKeyToVirtualKey(ImGuiKey)
View Source
Declaration
public static int ImGuiKeyToVirtualKey(ImGuiKey key)
Returns
System.Int32
Parameters
Type | Name |
---|---|
ImGuiNET.ImGuiKey | key |
Dispose(bool)
View Source
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name |
---|---|
System.Boolean | disposing |
~ImGui_Input_Impl_Direct()
View Source
Declaration
protected ~ImGui_Input_Impl_Direct()
Dispose()
View Source
Declaration
public void Dispose()
Implements
- ImGuiScene.IImGuiInputHandler
System.IDisposable