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.
◆ 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: