LLTextCmdOverwriteChar Class Reference

Inheritance diagram for LLTextCmdOverwriteChar:

Inheritance graph
[legend]
Collaboration diagram for LLTextCmdOverwriteChar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTextCmdOverwriteChar (S32 pos, BOOL group_with_next, llwchar wc)
virtual BOOL execute (LLTextEditor *editor, S32 *delta)
virtual S32 undo (LLTextEditor *editor)
virtual S32 redo (LLTextEditor *editor)

Private Attributes

llwchar mChar
llwchar mOldChar

Detailed Description

Definition at line 209 of file lltexteditor.cpp.


Constructor & Destructor Documentation

LLTextCmdOverwriteChar::LLTextCmdOverwriteChar ( S32  pos,
BOOL  group_with_next,
llwchar  wc 
) [inline]

Definition at line 212 of file lltexteditor.cpp.


Member Function Documentation

virtual BOOL LLTextCmdOverwriteChar::execute ( LLTextEditor editor,
S32 delta 
) [inline, virtual]

Implements LLTextCmd.

Definition at line 215 of file lltexteditor.cpp.

References LLTextEditor::getWChar(), mChar, mOldChar, LLTextCmd::mPos, LLTextCmd::overwrite(), and TRUE.

virtual S32 LLTextCmdOverwriteChar::redo ( LLTextEditor editor  )  [inline, virtual]

Implements LLTextCmd.

Definition at line 227 of file lltexteditor.cpp.

References mChar, LLTextCmd::mPos, and LLTextCmd::overwrite().

virtual S32 LLTextCmdOverwriteChar::undo ( LLTextEditor editor  )  [inline, virtual]

Implements LLTextCmd.

Definition at line 222 of file lltexteditor.cpp.

References mOldChar, LLTextCmd::mPos, and LLTextCmd::overwrite().


Member Data Documentation

llwchar LLTextCmdOverwriteChar::mChar [private]

Definition at line 234 of file lltexteditor.cpp.

Referenced by execute(), and redo().

llwchar LLTextCmdOverwriteChar::mOldChar [private]

Definition at line 235 of file lltexteditor.cpp.

Referenced by execute(), and undo().


The documentation for this class was generated from the following file:
Generated on Thu Jul 1 06:11:50 2010 for Second Life Viewer by  doxygen 1.4.7