Internals: Track ActiveIdHasBeenPressed (similar to ActiveIdHasBeenEdited). This is currently mostly for the benefit of the range_select branch. (#1861)
ImGuiNavHighlightFlags_AlwaysDraw=1<<2,// Draw rectangular highlight if (g.NavId == id) _even_ when using the mouse.
ImGuiNavHighlightFlags_NoRounding=1<<3
};
@ -792,6 +792,7 @@ struct ImGuiContext
floatActiveIdTimer;
boolActiveIdIsJustActivated;// Set at the time of activation for one frame
boolActiveIdAllowOverlap;// Active widget allows another widget to steal active id (generally for overlapping widgets, but not always)
boolActiveIdHasBeenPressed;// Track whether the active id led to a press (this is to allow changing between PressOnClick and PressOnRelease without pressing twice). Used by range_select branch.
boolActiveIdHasBeenEdited;// Was the value associated to the widget Edited over the course of the Active state.
boolActiveIdPreviousFrameIsAlive;
boolActiveIdPreviousFrameHasBeenEdited;
@ -897,7 +898,8 @@ struct ImGuiContext
ImVector<char>PrivateClipboard;// If no custom clipboard handler is defined
// Platform support
ImVec2PlatformImePos,PlatformImeLastPos;// Cursor position request & last passed to the OS Input Method Editor
ImVec2PlatformImePos;// Cursor position request & last passed to the OS Input Method Editor