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 |
Definition at line 107 of file message_editor.h.
|
inline |
Definition at line 119 of file message_editor.h.
References buffer, cursor_pos, has_selection, selection_start, and text.
Referenced by yaze::app::editor::MessageEditor::Undo().
|
inline |
Definition at line 124 of file message_editor.h.
References can_undo.
Referenced by yaze::app::editor::MessageEditor::Undo().
|
inline |
Definition at line 125 of file message_editor.h.
References text.
Referenced by yaze::app::editor::MessageEditor::Copy(), and Cut().
|
inline |
Definition at line 126 of file message_editor.h.
References changed, Copy(), cursor_pos, has_selection, selection_end, selection_start, and text.
Referenced by yaze::app::editor::MessageEditor::Cut().
|
inline |
Definition at line 133 of file message_editor.h.
References changed, cursor_pos, has_selection, selection_end, selection_start, and text.
Referenced by yaze::app::editor::MessageEditor::Paste().
|
inline |
Definition at line 141 of file message_editor.h.
References buffer, can_undo, changed, cursor_pos, has_focus, has_selection, selection_end, selection_length, selection_start, and text.
Referenced by yaze::app::editor::MessageEditor::Delete().
|
inline |
Definition at line 153 of file message_editor.h.
References has_selection, selection_end, selection_length, selection_start, and text.
Referenced by yaze::app::editor::MessageEditor::SelectAll().
|
inline |
Definition at line 159 of file message_editor.h.
References has_focus.
Referenced by yaze::app::editor::MessageEditor::SelectAll().
std::string yaze::app::editor::MessageEditor::TextBox::text |
Definition at line 108 of file message_editor.h.
Referenced by clear(), Copy(), yaze::app::editor::MessageEditor::Cut(), Cut(), yaze::app::editor::MessageEditor::DrawCurrentMessage(), Paste(), SelectAll(), and Undo().
std::string yaze::app::editor::MessageEditor::TextBox::buffer |
Definition at line 109 of file message_editor.h.
int yaze::app::editor::MessageEditor::TextBox::cursor_pos = 0 |
int yaze::app::editor::MessageEditor::TextBox::selection_start = 0 |
Definition at line 111 of file message_editor.h.
Referenced by clear(), Cut(), Paste(), SelectAll(), and Undo().
int yaze::app::editor::MessageEditor::TextBox::selection_end = 0 |
Definition at line 112 of file message_editor.h.
Referenced by clear(), Cut(), Paste(), and SelectAll().
int yaze::app::editor::MessageEditor::TextBox::selection_length = 0 |
Definition at line 113 of file message_editor.h.
Referenced by clear(), yaze::app::editor::MessageEditor::Copy(), yaze::app::editor::MessageEditor::Delete(), yaze::app::editor::MessageEditor::SelectAll(), and SelectAll().
bool yaze::app::editor::MessageEditor::TextBox::has_selection = false |
Definition at line 114 of file message_editor.h.
Referenced by clear(), Cut(), Paste(), SelectAll(), and Undo().
bool yaze::app::editor::MessageEditor::TextBox::has_focus = false |
Definition at line 115 of file message_editor.h.
bool yaze::app::editor::MessageEditor::TextBox::changed = false |
Definition at line 116 of file message_editor.h.
bool yaze::app::editor::MessageEditor::TextBox::can_undo = false |
Definition at line 117 of file message_editor.h.
Referenced by clear(), clearUndo(), and yaze::app::editor::MessageEditor::Undo().