MyGUI  3.2.1
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 19 of file MyGUI_TextChangeHistory.h.

Member Enumeration Documentation

Enumerator
COMMAND_POSITION 
COMMAND_INSERT 
COMMAND_ERASE 

Definition at line 22 of file MyGUI_TextChangeHistory.h.

Constructor & Destructor Documentation

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

Definition at line 30 of file MyGUI_TextChangeHistory.h.

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

Definition at line 41 of file MyGUI_TextChangeHistory.h.

Field Documentation

size_t MyGUI::TextCommandInfo::length

Definition at line 57 of file MyGUI_TextChangeHistory.h.

size_t MyGUI::TextCommandInfo::redo

Definition at line 57 of file MyGUI_TextChangeHistory.h.

size_t MyGUI::TextCommandInfo::start

Definition at line 55 of file MyGUI_TextChangeHistory.h.

UString MyGUI::TextCommandInfo::text

Definition at line 51 of file MyGUI_TextChangeHistory.h.

CommandType MyGUI::TextCommandInfo::type

Definition at line 53 of file MyGUI_TextChangeHistory.h.

size_t MyGUI::TextCommandInfo::undo

Definition at line 57 of file MyGUI_TextChangeHistory.h.


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