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

The focused text editor, plus the one as of the last Commit, to detect changes. More...

#include <gui_core/state/gui_state_atomic_values.h>

Public Member Functions

ID GetFocusedID () const
ID GetPrevFocusedID () const
 The focused editor as of the last Commit, when the text system switched its editor to it: the field the editor holds.
void Set (ID id)
void Clear ()
void Commit ()

Detailed Description

The focused text editor, plus the one as of the last Commit, to detect changes.

Member Function Documentation

◆ GetFocusedID()

ID tachyon::TextEditorFocusState::GetFocusedID ( ) const
inline

◆ GetPrevFocusedID()

ID tachyon::TextEditorFocusState::GetPrevFocusedID ( ) const
inline

The focused editor as of the last Commit, when the text system switched its editor to it: the field the editor holds.

◆ Set()

void tachyon::TextEditorFocusState::Set ( ID id)
inline

◆ Clear()

void tachyon::TextEditorFocusState::Clear ( )
inline

◆ Commit()

void tachyon::TextEditorFocusState::Commit ( )
inline

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