LLTextEditor::LLTextCmdOverwriteChar Class Reference

Inheritance diagram for LLTextEditor::LLTextCmdOverwriteChar:

Inheritance graph
[legend]
Collaboration diagram for LLTextEditor::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 183 of file lltexteditor.cpp.


Constructor & Destructor Documentation

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

Definition at line 186 of file lltexteditor.cpp.


Member Function Documentation

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

Implements LLTextEditor::LLTextCmd.

Definition at line 189 of file lltexteditor.cpp.

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

Here is the call graph for this function:

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

Implements LLTextEditor::LLTextCmd.

Definition at line 196 of file lltexteditor.cpp.

References LLTextEditor::LLTextCmd::getPosition(), mOldChar, and LLTextEditor::LLTextCmd::overwrite().

Here is the call graph for this function:

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

Implements LLTextEditor::LLTextCmd.

Definition at line 201 of file lltexteditor.cpp.

References LLTextEditor::LLTextCmd::getPosition(), mChar, and LLTextEditor::LLTextCmd::overwrite().

Here is the call graph for this function:


Member Data Documentation

Definition at line 208 of file lltexteditor.cpp.

Referenced by execute(), and redo().

Definition at line 209 of file lltexteditor.cpp.

Referenced by execute(), and undo().


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

Generated on Fri May 16 09:13:57 2008 for SecondLife by  doxygen 1.5.5