Tracks the next/prev tab targets around the focused element, rebuilt each frame during construction and scoped to the active window.
More...
#include <gui_core/state/gui_tab_chain_manager.h>
Tracks the next/prev tab targets around the focused element, rebuilt each frame during construction and scoped to the active window.
Without focus it falls back to the default focus ID, else the window's first target.
◆ BeginFrame()
| void tachyon::TabChainManager::BeginFrame |
( |
const GUIStateManager & | guiStateManager | ) |
|
◆ SetDefaultFocusID()
| void tachyon::TabChainManager::SetDefaultFocusID |
( |
ID | defaultID | ) |
|
|
inline |
The target Tab moves to when nothing has focus, e.g.
a rename textbox that should take focus.
◆ BeginWindow()
| void tachyon::TabChainManager::BeginWindow |
( |
ID | windowID | ) |
|
|
inline |
Starts collecting windowID's tab targets until EndWindow; only the active window builds a chain.
◆ RegisterTabTarget()
| void tachyon::TabChainManager::RegisterTabTarget |
( |
ID | elementID | ) |
|
|
inline |
Adds elementID to the current window's tab chain, in call order.
◆ BeginSpan()
| void tachyon::TabChainManager::BeginSpan |
( |
| ) |
|
|
inline |
Notes the first and last targets the active window registers until EndSpan, e.g.
the controls of one part of a view, to move the focus onto them.
◆ EndSpan()
| void tachyon::TabChainManager::EndSpan |
( |
| ) |
|
|
inline |
◆ SpanFirst()
| ID tachyon::TabChainManager::SpanFirst |
( |
| ) |
const |
|
inline |
The first and last targets of the last span; Invalid when it had none.
◆ SpanLast()
| ID tachyon::TabChainManager::SpanLast |
( |
| ) |
const |
|
inline |
◆ EndWindow()
| void tachyon::TabChainManager::EndWindow |
( |
| ) |
|
|
inline |
Ends the window begun by BeginWindow; its chain wraps around.
◆ EndFrame()
| void tachyon::TabChainManager::EndFrame |
( |
| ) |
|
|
inline |
◆ GetNextTabTarget()
| ID tachyon::TabChainManager::GetNextTabTarget |
( |
| ) |
const |
|
inline |
◆ GetPrevTabTarget()
| ID tachyon::TabChainManager::GetPrevTabTarget |
( |
| ) |
const |
|
inline |
◆ GetDefaultFocus()
| ID tachyon::TabChainManager::GetDefaultFocus |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: