Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXUndoList.h>
Inheritance diagram for FX::FXCommand:
Public Member Functions | |
virtual void | undo ()=0 |
virtual void | redo ()=0 |
virtual FXuint | size () const |
virtual FXString | undoName () const |
virtual FXString | redoName () const |
virtual | ~FXCommand () |
Each undo records all the information necessary to undo as well as redo a given operation. Since commands are derived from FXObject, subclassed commands can both send and receive messages (like ID_GETINTVALUE, for example).
|
Delete undo command.
|
|
Undo this command; this should save the information for a subsequent redo.
Implemented in FX::FXCommandGroup, and FX::FXUndoList. |
|
Redo this command; this should save the information for a subsequent undo.
Implemented in FX::FXCommandGroup, and FX::FXUndoList. |
|
Return the size of the information in the undo record. The undo list may be trimmed to limit memory usage to a certain limit. The value returned should include the size of the command record itself as well as any data linked from it. Reimplemented in FX::FXCommandGroup, and FX::FXUndoList. |
|
Name of the undo command to be shown on a button; for example, "Undo Delete".
Reimplemented in FX::FXUndoList. |
|
Name of the redo command to be shown on a button; for example, "Redo Delete".
Reimplemented in FX::FXUndoList. |
Copyright © 1997-2004 Jeroen van der Zijp |