MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / State

Enum State

extensions/olcPGEX_QuickGUI.h:123–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 // Hover - currently under the users mouse focus
122 // Click - user is interacting with the control
123 enum class State { Disabled, Normal, Hover, Click } m_state = State::Normal;
124
125 // To add a "swish" to things, controls can fade between states
126 float m_fTransition = 0.0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected