// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable namespace Brutal.ImGuiApi { public partial class ImGui { public unsafe partial class PInvoke { /// /// /// retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user /// backing that value themselves) /// /// /// C++: /// imgui.h:1129 /// , /// imgui.cpp:10391 ///
ImVec2 GetMousePosOnOpeningCurrentPopup() ///
///
/// /// /// Inputs Utilities: Mouse /// - To refer to a mouse button, you may use named enums in your code e.g. ImGuiMouseButton_Left, ImGuiMouseButton_Right. /// - You can also use regular integer: it is forever guaranteed that 0=Left, 1=Right, 2=Middle. /// - Dragging operations are only reported after mouse has moved a certain distance away from the initial clicking position (see 'lock_threshold' and 'io.MouseDraggingThreshold') /// /// /// NB: prefer to call right after BeginPopup(). At the time Selectable/MenuItem is activated, the popup /// is already closed! /// /// [LibraryImport("imgui")] public static unsafe partial float2 GetMousePosOnOpeningCurrentPopup(); } } }