MyGUI  3.2.0
Public Types | Public Member Functions | Data Fields
MyGUI::TextCommandInfo Struct Reference

#include <MyGUI_TextChangeHistory.h>

Public Types

enum  CommandType { COMMAND_POSITION, COMMAND_INSERT, COMMAND_ERASE }

Public Member Functions

 TextCommandInfo (const 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 34 of file MyGUI_TextChangeHistory.h.

Member Enumeration Documentation

Enumerator:
COMMAND_POSITION 
COMMAND_INSERT 
COMMAND_ERASE 

Definition at line 37 of file MyGUI_TextChangeHistory.h.

Constructor & Destructor Documentation

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

Definition at line 45 of file MyGUI_TextChangeHistory.h.

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

Definition at line 56 of file MyGUI_TextChangeHistory.h.

Field Documentation

size_t MyGUI::TextCommandInfo::length

Definition at line 72 of file MyGUI_TextChangeHistory.h.

size_t MyGUI::TextCommandInfo::redo

Definition at line 72 of file MyGUI_TextChangeHistory.h.

size_t MyGUI::TextCommandInfo::start

Definition at line 70 of file MyGUI_TextChangeHistory.h.

UString MyGUI::TextCommandInfo::text

Definition at line 66 of file MyGUI_TextChangeHistory.h.

CommandType MyGUI::TextCommandInfo::type

Definition at line 68 of file MyGUI_TextChangeHistory.h.

size_t MyGUI::TextCommandInfo::undo

Definition at line 72 of file MyGUI_TextChangeHistory.h.


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