TachyonUI 1.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::ConstructionScopes Class Reference

Construction-time Push/Pop nesting read by GUIStateManager::GetCurrentState. More...

#include <gui_core/state/gui_state_atomic_values.h>

Public Member Functions

void PushDisabled ()
void PopDisabled ()
void PushSelected ()
void PopSelected ()
void PushInvalid ()
void PopInvalid ()
void PushIndeterminate ()
void PopIndeterminate ()
void PushShownState (ElementState states)
 Everything built until PopShownState looks as in states too (Hover, Active, Focused): a picture of a control's states side by side, for a preview or a screenshot.
void PopShownState ()
ElementState ShownStates () const
 The states the PushShownState scopes add.
bool IsDisabled () const
bool IsSelected () const
bool IsIndeterminate () const
bool IsInvalid () const
void Reset ()
ConstructionScopes SetAside ()
 Clears the scopes for something built inside them that isn't part of them (a tooltip on a disabled control isn't disabled); Restore puts them back.
void Restore (const ConstructionScopes &kept)
bool IsBalanced () const

Detailed Description

Construction-time Push/Pop nesting read by GUIStateManager::GetCurrentState.

Reset at BeginFrame, balance-checked at EndFrame.

Member Function Documentation

◆ PushDisabled()

void tachyon::ConstructionScopes::PushDisabled ( )
inline

◆ PopDisabled()

void tachyon::ConstructionScopes::PopDisabled ( )
inline

◆ PushSelected()

void tachyon::ConstructionScopes::PushSelected ( )
inline

◆ PopSelected()

void tachyon::ConstructionScopes::PopSelected ( )
inline

◆ PushInvalid()

void tachyon::ConstructionScopes::PushInvalid ( )
inline

◆ PopInvalid()

void tachyon::ConstructionScopes::PopInvalid ( )
inline

◆ PushIndeterminate()

void tachyon::ConstructionScopes::PushIndeterminate ( )
inline

◆ PopIndeterminate()

void tachyon::ConstructionScopes::PopIndeterminate ( )
inline

◆ PushShownState()

void tachyon::ConstructionScopes::PushShownState ( ElementState states)
inline

Everything built until PopShownState looks as in states too (Hover, Active, Focused): a picture of a control's states side by side, for a preview or a screenshot.

Only the look: the pointer and the keyboard act as before.

◆ PopShownState()

void tachyon::ConstructionScopes::PopShownState ( )
inline

◆ ShownStates()

ElementState tachyon::ConstructionScopes::ShownStates ( ) const
inline

The states the PushShownState scopes add.

◆ IsDisabled()

bool tachyon::ConstructionScopes::IsDisabled ( ) const
inline

◆ IsSelected()

bool tachyon::ConstructionScopes::IsSelected ( ) const
inline

◆ IsIndeterminate()

bool tachyon::ConstructionScopes::IsIndeterminate ( ) const
inline

◆ IsInvalid()

bool tachyon::ConstructionScopes::IsInvalid ( ) const
inline

◆ Reset()

void tachyon::ConstructionScopes::Reset ( )
inline

◆ SetAside()

ConstructionScopes tachyon::ConstructionScopes::SetAside ( )
inline

Clears the scopes for something built inside them that isn't part of them (a tooltip on a disabled control isn't disabled); Restore puts them back.

◆ Restore()

void tachyon::ConstructionScopes::Restore ( const ConstructionScopes & kept)
inline

◆ IsBalanced()

bool tachyon::ConstructionScopes::IsBalanced ( ) const
inline

The documentation for this class was generated from the following file: