Searched refs:ActiveId (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/imgui/
H A Dimgui_widgets.cpp397 if (g.ActiveId == id) ClearActiveID();
477 if ((flags & ImGuiButtonFlags_Repeat) && g.ActiveId == id && g.IO.MouseDownDuration[0] > 0.0f && IsMouseClicked(0, true))
487 if (g.NavId == id && !g.NavDisableHighlight && g.NavDisableMouseHover && (g.ActiveId == 0 || g.ActiveId == id || g.ActiveId == window->MoveId))
496 if (nav_activated_by_code || nav_activated_by_inputs || g.ActiveId == id)
508 if (g.ActiveId == id)
783 const bool previously_held = (g.ActiveId == id);
1223 if (g.ActiveId != id)
1837 if (g.ActiveId
[all...]
H A Dimgui.cpp2634 g.ActiveIdIsJustActivated = (g.ActiveId != id);
2646 g.ActiveId = id;
2704 if (g.ActiveId == id)
2713 // ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need need to fill the data.
2715 IM_ASSERT(g.ActiveId == id || g.ActiveId == 0 || g.DragDropActive);
2819 // - we allow hovering to be true when ActiveId==window->MoveID, so that clicking on non-interactive items such as a Text() item still returns true with IsItemHovered()
2843 if (g.ActiveId != 0 && g.ActiveId != window->DC.LastItemId && !g.ActiveIdAllowOverlap && g.ActiveId !
[all...]
H A Dimgui_internal.h304 ImGuiButtonFlags_NoHoldingActiveID = 1 << 11, // don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)
790 ImGuiID ActiveId; // Active widget member in struct:ImGuiContext
792 ImGuiID ActiveIdIsAlive; // Active widget has been seen this frame (we can't use a bool as the ActiveId may change within the frame)
806 ImGuiID LastActiveId; // Store the last non-zero ActiveId, useful for animation.
807 float LastActiveIdTimer; // Store the last non-zero ActiveId timer since the beginning of activation, useful for animation.
822 ImGuiID NavActivateId; // ~~ (g.ActiveId == 0) && IsNavInputPressed(ImGuiNavInput_Activate) ? NavId : 0, also set when calling ActivateItem()
953 ActiveId = 0;
1363 inline ImGuiID GetActiveID() { ImGuiContext& g = *GImGui; return g.ActiveId; }
/xsrc/external/mit/MesaLib/dist/src/imgui/
H A Dimgui_widgets.cpp397 if (g.ActiveId == id) ClearActiveID();
477 if ((flags & ImGuiButtonFlags_Repeat) && g.ActiveId == id && g.IO.MouseDownDuration[0] > 0.0f && IsMouseClicked(0, true))
487 if (g.NavId == id && !g.NavDisableHighlight && g.NavDisableMouseHover && (g.ActiveId == 0 || g.ActiveId == id || g.ActiveId == window->MoveId))
496 if (nav_activated_by_code || nav_activated_by_inputs || g.ActiveId == id)
508 if (g.ActiveId == id)
783 const bool previously_held = (g.ActiveId == id);
1223 if (g.ActiveId != id)
1837 if (g.ActiveId
[all...]
H A Dimgui.cpp2634 g.ActiveIdIsJustActivated = (g.ActiveId != id);
2646 g.ActiveId = id;
2704 if (g.ActiveId == id)
2713 // ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need need to fill the data.
2715 IM_ASSERT(g.ActiveId == id || g.ActiveId == 0 || g.DragDropActive);
2819 // - we allow hovering to be true when ActiveId==window->MoveID, so that clicking on non-interactive items such as a Text() item still returns true with IsItemHovered()
2843 if (g.ActiveId != 0 && g.ActiveId != window->DC.LastItemId && !g.ActiveIdAllowOverlap && g.ActiveId !
[all...]
H A Dimgui_internal.h304 ImGuiButtonFlags_NoHoldingActiveID = 1 << 11, // don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)
790 ImGuiID ActiveId; // Active widget member in struct:ImGuiContext
792 ImGuiID ActiveIdIsAlive; // Active widget has been seen this frame (we can't use a bool as the ActiveId may change within the frame)
806 ImGuiID LastActiveId; // Store the last non-zero ActiveId, useful for animation.
807 float LastActiveIdTimer; // Store the last non-zero ActiveId timer since the beginning of activation, useful for animation.
822 ImGuiID NavActivateId; // ~~ (g.ActiveId == 0) && IsNavInputPressed(ImGuiNavInput_Activate) ? NavId : 0, also set when calling ActivateItem()
953 ActiveId = 0;
1363 inline ImGuiID GetActiveID() { ImGuiContext& g = *GImGui; return g.ActiveId; }

Completed in 43 milliseconds