#include <style.h>
Public Member Functions | |
| void | Undo () |
| void | clearUndo () |
| void | Copy () |
| void | Cut () |
| void | Paste () |
| void | clear () |
| void | SelectAll () |
| void | Focus () |
Public Attributes | |
| std::string | text |
| std::string | buffer |
| int | cursor_pos = 0 |
| int | selection_start = 0 |
| int | selection_end = 0 |
| int | selection_length = 0 |
| bool | has_selection = false |
| bool | has_focus = false |
| bool | changed = false |
| bool | can_undo = false |
|
inline |
Definition at line 69 of file style.h.
References buffer, cursor_pos, has_selection, selection_start, and text.
|
inline |
|
inline |
|
inline |
Definition at line 76 of file style.h.
References changed, Copy(), cursor_pos, has_selection, selection_end, selection_start, and text.

|
inline |
Definition at line 83 of file style.h.
References changed, cursor_pos, has_selection, selection_end, selection_start, and text.
|
inline |
Definition at line 91 of file style.h.
References buffer, can_undo, changed, cursor_pos, has_focus, has_selection, selection_end, selection_length, selection_start, and text.
|
inline |
Definition at line 103 of file style.h.
References has_selection, selection_end, selection_length, selection_start, and text.
|
inline |
| std::string yaze::gui::TextBox::text |
Definition at line 58 of file style.h.
Referenced by yaze::editor::MessageEditor::AcceptCurrentAsReference(), yaze::editor::MessageEditor::AdvanceFind(), clear(), Copy(), Cut(), yaze::editor::MessageEditor::DrawDialogueTextPane(), yaze::editor::MessageEditor::DrawMessageHeader(), yaze::editor::MessageEditor::Initialize(), yaze::editor::MessageEditor::InsertTokenAtCursor(), yaze::editor::MessageEditor::OpenMessageById(), yaze::editor::MessageEditor::OptimizeCurrentMessage(), Paste(), SelectAll(), and Undo().
| std::string yaze::gui::TextBox::buffer |
| int yaze::gui::TextBox::cursor_pos = 0 |
| int yaze::gui::TextBox::selection_start = 0 |
| int yaze::gui::TextBox::selection_end = 0 |
| int yaze::gui::TextBox::selection_length = 0 |
Definition at line 63 of file style.h.
Referenced by clear(), and SelectAll().
| bool yaze::gui::TextBox::has_selection = false |
| bool yaze::gui::TextBox::has_focus = false |
| bool yaze::gui::TextBox::changed = false |
| bool yaze::gui::TextBox::can_undo = false |
Definition at line 67 of file style.h.
Referenced by clear(), and clearUndo().