#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 66 of file style.h.
References buffer, cursor_pos, has_selection, selection_start, and text.
Referenced by yaze::editor::MessageEditor::Undo().
|
inline |
Definition at line 71 of file style.h.
References can_undo.
Referenced by yaze::editor::MessageEditor::Undo().
|
inline |
Definition at line 72 of file style.h.
References text.
Referenced by yaze::editor::MessageEditor::Copy(), and Cut().
|
inline |
Definition at line 73 of file style.h.
References changed, Copy(), cursor_pos, has_selection, selection_end, selection_start, and text.
Referenced by yaze::editor::MessageEditor::Cut().
|
inline |
Definition at line 80 of file style.h.
References changed, cursor_pos, has_selection, selection_end, selection_start, and text.
Referenced by yaze::editor::MessageEditor::Paste().
|
inline |
Definition at line 88 of file style.h.
References buffer, can_undo, changed, cursor_pos, has_focus, has_selection, selection_end, selection_length, selection_start, and text.
Referenced by yaze::editor::MessageEditor::Delete().
|
inline |
Definition at line 100 of file style.h.
References has_selection, selection_end, selection_length, selection_start, and text.
Referenced by yaze::editor::MessageEditor::SelectAll().
|
inline |
Definition at line 106 of file style.h.
References has_focus.
Referenced by yaze::editor::MessageEditor::SelectAll().
std::string yaze::gui::TextBox::text |
Definition at line 55 of file style.h.
Referenced by clear(), Copy(), Cut(), yaze::editor::MessageEditor::Cut(), yaze::editor::MessageEditor::DrawCurrentMessage(), yaze::editor::MessageEditor::DrawMessageList(), yaze::editor::MessageEditor::DrawSpecialCharacters(), yaze::editor::MessageEditor::DrawTextCommands(), yaze::editor::MessageEditor::Initialize(), 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 60 of file style.h.
Referenced by clear(), yaze::editor::MessageEditor::Copy(), yaze::editor::MessageEditor::Delete(), yaze::editor::MessageEditor::SelectAll(), 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 64 of file style.h.
Referenced by clear(), clearUndo(), and yaze::editor::MessageEditor::Undo().