27 void BeginFrame(
ID currentHoveredID,
ID currentFocusedID,
float elapsedTimeSecs,
28 bool hasMouseMove,
bool hasMousePress,
bool hasKeyboard,
bool hasScroll,
bool menuIsOpen,
29 bool buttonHeld =
false);
49 bool IsReady()
const {
return m_isReady; }
57 std::vector<ID> m_targetAncestors;
59 float m_targetStartTime = 0.0f;
60 float m_currentTime = 0.0f;
61 bool m_isReady =
false;
62 bool m_isVisible =
false;
63 bool m_declaredThisFrame =
false;
64 bool m_triggeredByFocus =
false;
65 bool m_suppressHover =
false;
66 bool m_pressedLastFrame =
false;
67 float m_lastVisibleTime = -1.0e9f;
69 float m_lingerUntil = 0.0f;
70 bool m_activeAsked =
false;
71 bool m_activeAskedLast =
false;
72 void Dismiss(
ID currentFocusedID,
bool hasMouseMove);
Definition gui_logging.h:24
A 64-bit element ID whose bit layout depends on its IDMode.
Definition gui_id.h:23
static constexpr ID Invalid()
The "no element" ID (all bits zero); also the default for optional ID parameters.
Definition gui_id.h:66