MyGUI 3.5.3
MyGUI::TextCommandInfo Struct Reference

#include <MyGUI_TextChangeHistory.h>

Public Types

enum  CommandType { COMMAND_POSITION , COMMAND_INSERT , COMMAND_ERASE }

Public Member Functions

 TextCommandInfo (UString _text, size_t _start, CommandType _type)
 TextCommandInfo (size_t _undo, size_t _redo, size_t _length)

Data Fields

UString text
CommandType type
size_t start
size_t undo
size_t redo
size_t length

Detailed Description

Definition at line 20 of file MyGUI_TextChangeHistory.h.

Member Enumeration Documentation

◆ CommandType

Enumerator
COMMAND_POSITION 
COMMAND_INSERT 
COMMAND_ERASE 

Definition at line 22 of file MyGUI_TextChangeHistory.h.

Constructor & Destructor Documentation

◆ TextCommandInfo() [1/2]

MyGUI::TextCommandInfo::TextCommandInfo ( UString _text,
size_t _start,
CommandType _type )
inline

Definition at line 30 of file MyGUI_TextChangeHistory.h.

◆ TextCommandInfo() [2/2]

MyGUI::TextCommandInfo::TextCommandInfo ( size_t _undo,
size_t _redo,
size_t _length )
inline

Definition at line 41 of file MyGUI_TextChangeHistory.h.

Field Documentation

◆ length

size_t MyGUI::TextCommandInfo::length

Definition at line 56 of file MyGUI_TextChangeHistory.h.

◆ redo

size_t MyGUI::TextCommandInfo::redo

Definition at line 56 of file MyGUI_TextChangeHistory.h.

◆ start

size_t MyGUI::TextCommandInfo::start

Definition at line 54 of file MyGUI_TextChangeHistory.h.

◆ text

UString MyGUI::TextCommandInfo::text

Definition at line 51 of file MyGUI_TextChangeHistory.h.

◆ type

CommandType MyGUI::TextCommandInfo::type

Definition at line 52 of file MyGUI_TextChangeHistory.h.

◆ undo

size_t MyGUI::TextCommandInfo::undo

Definition at line 56 of file MyGUI_TextChangeHistory.h.


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