IO, Inputs: rename SetMousePos() to TeleportMousePos(). (#6837, #228)

This commit is contained in:
ocornut
2023-09-18 17:11:10 +02:00
parent ff36fe365e
commit 6c022f9bf1
2 changed files with 6 additions and 4 deletions

View File

@ -3059,7 +3059,7 @@ namespace ImGui
IMGUI_API float GetNavTweakPressedAmount(ImGuiAxis axis);
IMGUI_API int CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate);
IMGUI_API void GetTypematicRepeatRate(ImGuiInputFlags flags, float* repeat_delay, float* repeat_rate);
IMGUI_API void SetMousePos(const ImVec2& pos);
IMGUI_API void TeleportMousePos(const ImVec2& pos);
IMGUI_API void SetActiveIdUsingAllKeyboardKeys();
inline bool IsActiveIdUsingNavDir(ImGuiDir dir) { ImGuiContext& g = *GImGui; return (g.ActiveIdUsingNavDirMask & (1 << dir)) != 0; }