|
@@ -1955,8 +1955,8 @@ struct ImGuiContext
|
|
|
bool ActiveIdHasBeenEditedThisFrame;
|
|
|
ImVec2 ActiveIdClickOffset; // Clicked offset from upper-left corner, if applicable (currently only set by ButtonBehavior)
|
|
|
ImGuiWindow* ActiveIdWindow;
|
|
|
- ImGuiInputSource ActiveIdSource; // Activating source: ImGuiInputSource_Mouse OR ImGuiInputSource_Keyboard OR ImGuiInputSource_Gamepad
|
|
|
- int ActiveIdMouseButton;
|
|
|
+ ImGuiInputSource ActiveIdSource : 16; // Activating source: ImGuiInputSource_Mouse OR ImGuiInputSource_Keyboard OR ImGuiInputSource_Gamepad
|
|
|
+ int ActiveIdMouseButton : 16;
|
|
|
ImGuiID ActiveIdPreviousFrame;
|
|
|
bool ActiveIdPreviousFrameIsAlive;
|
|
|
bool ActiveIdPreviousFrameHasBeenEditedBefore;
|
|
@@ -2181,6 +2181,7 @@ struct ImGuiContext
|
|
|
int LogDepthToExpandDefault; // Default/stored value for LogDepthMaxExpand if not specified in the LogXXX function call.
|
|
|
|
|
|
// Debug Tools
|
|
|
+ // (some of the highly frequently used data are interleaved in other structures above: DebugBreakXXX fields, DebugHookIdInfo, DebugLocateId etc.)
|
|
|
ImGuiDebugLogFlags DebugLogFlags;
|
|
|
ImGuiTextBuffer DebugLogBuf;
|
|
|
ImGuiTextIndex DebugLogIndex;
|