mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-11 12:18:30 +01:00
add missing methods from a previous release
This commit is contained in:
@@ -1334,6 +1334,16 @@ CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type)
|
||||
ImGui::SetMouseCursor(type);
|
||||
}
|
||||
|
||||
CIMGUI_API void igCaptureKeyboardFromApp()
|
||||
{
|
||||
return ImGui::CaptureKeyboardFromApp();
|
||||
}
|
||||
|
||||
CIMGUI_API void igCaptureMouseFromApp()
|
||||
{
|
||||
return ImGui::CaptureMouseFromApp();
|
||||
}
|
||||
|
||||
CIMGUI_API void* igMemAlloc(size_t sz)
|
||||
{
|
||||
return ImGui::MemAlloc(sz);
|
||||
|
@@ -332,6 +332,8 @@ CIMGUI_API void igGetMouseDragDelta(struct ImVec2* pOut, int button,
|
||||
CIMGUI_API void igResetMouseDragDelta(int button);
|
||||
CIMGUI_API ImGuiMouseCursor igGetMouseCursor();
|
||||
CIMGUI_API void igSetMouseCursor(ImGuiMouseCursor type);
|
||||
CIMGUI_API void igCaptureKeyboardFromApp();
|
||||
CIMGUI_API void igCaptureMouseFromApp();
|
||||
|
||||
// Helpers functions to access functions pointers in ImGui::GetIO()
|
||||
CIMGUI_API void* igMemAlloc(size_t sz);
|
||||
|
Reference in New Issue
Block a user