The hovered, active, focused and captured elements, the active window, the one-shot click, hover suppression and the focus scroll axis.
More...
#include <gui_core/state/gui_interaction_state.h>
The hovered, active, focused and captured elements, the active window, the one-shot click, hover suppression and the focus scroll axis.
Owned by GUIStateManager.
◆ GetHoveredID()
| ID tachyon::InteractionState::GetHoveredID |
( |
| ) |
const |
|
inline |
◆ GetHoveredDisabledID()
| ID tachyon::InteractionState::GetHoveredDisabledID |
( |
| ) |
const |
|
inline |
The disabled element under the cursor when nothing is hovered: it takes no input, but shows its tooltip (one saying why it is disabled).
◆ GetActiveID()
| ID tachyon::InteractionState::GetActiveID |
( |
| ) |
const |
|
inline |
◆ GetCaptureID()
| ID tachyon::InteractionState::GetCaptureID |
( |
| ) |
const |
|
inline |
◆ GetFocusedID()
| ID tachyon::InteractionState::GetFocusedID |
( |
| ) |
const |
|
inline |
◆ GetActiveWindowID()
| ID tachyon::InteractionState::GetActiveWindowID |
( |
| ) |
const |
|
inline |
◆ SetActiveWindowID()
| void tachyon::InteractionState::SetActiveWindowID |
( |
ID | id | ) |
|
|
inline |
◆ SetCaptureID()
| void tachyon::InteractionState::SetCaptureID |
( |
ID | id | ) |
|
|
inline |
◆ ReleaseCaptureID()
| void tachyon::InteractionState::ReleaseCaptureID |
( |
| ) |
|
|
inline |
◆ SetFocusID()
| void tachyon::InteractionState::SetFocusID |
( |
ID | id | ) |
|
|
inline |
◆ SetFocusIDNoScroll()
| void tachyon::InteractionState::SetFocusIDNoScroll |
( |
ID | id | ) |
|
|
inline |
◆ SetFocusIDScrollAxis()
| void tachyon::InteractionState::SetFocusIDScrollAxis |
( |
ID | id, |
|
|
ScrollAxis | a ) |
|
inline |
◆ ConsumeFocusScrollAxis()
| ScrollAxis tachyon::InteractionState::ConsumeFocusScrollAxis |
( |
| ) |
|
|
inline |
◆ SetFocusVisible()
| void tachyon::InteractionState::SetFocusVisible |
( |
bool | visible | ) |
|
|
inline |
Shows the focus ring (:focus-visible), e.g. on a dialog's default button.
◆ IsFocusVisible()
| bool tachyon::InteractionState::IsFocusVisible |
( |
| ) |
const |
|
inline |
◆ SuppressHover()
| void tachyon::InteractionState::SuppressHover |
( |
| ) |
|
|
inline |
◆ ClearHoverSuppression()
| void tachyon::InteractionState::ClearHoverSuppression |
( |
| ) |
|
|
inline |
◆ IsHoverSuppressed()
| bool tachyon::InteractionState::IsHoverSuppressed |
( |
| ) |
const |
|
inline |
◆ HasBeenClicked()
| bool tachyon::InteractionState::HasBeenClicked |
( |
ID | id | ) |
const |
|
inline |
◆ SetClicked()
| void tachyon::InteractionState::SetClicked |
( |
ID | id | ) |
|
|
inline |
◆ SetFrameTime()
| void tachyon::InteractionState::SetFrameTime |
( |
float | secs | ) |
|
|
inline |
The frame time in seconds that FlashActive is timed against; set once at BeginFrame.
◆ GetFrameTime()
| float tachyon::InteractionState::GetFrameTime |
( |
| ) |
const |
|
inline |
◆ FlashActive()
| void tachyon::InteractionState::FlashActive |
( |
ID | id | ) |
|
|
inline |
Reports id as Active for about 120 ms: the pressed look of a keyboard or programmatic activation.
◆ GetActiveFlashID()
| ID tachyon::InteractionState::GetActiveFlashID |
( |
| ) |
const |
|
inline |
◆ IsActiveFlashing()
| bool tachyon::InteractionState::IsActiveFlashing |
( |
ID | id | ) |
const |
|
inline |
◆ GetPropagatedHoverIDs()
| const std::vector< ID > & tachyon::InteractionState::GetPropagatedHoverIDs |
( |
| ) |
const |
|
inline |
◆ GetPropagatedFocusedIDs()
| const std::vector< ID > & tachyon::InteractionState::GetPropagatedFocusedIDs |
( |
| ) |
const |
|
inline |
◆ SetPropagatedHoverIDs()
| void tachyon::InteractionState::SetPropagatedHoverIDs |
( |
std::vector< ID > | v | ) |
|
|
inline |
◆ SetPropagatedFocusedIDs()
| void tachyon::InteractionState::SetPropagatedFocusedIDs |
( |
std::vector< ID > | v | ) |
|
|
inline |
◆ EndFrame()
Applies hover, active-ID edges and deferred capture release; clears the click and expired flash.
disabledID: a disabled element under the cursor.
The documentation for this class was generated from the following file: