SlowUndoSelectCmd Class Reference

#include <command.h>

Inheritance diagram for SlowUndoSelectCmd:

Cmd BrushCmd GrayScaleCmd InvertCmd PlacementCmd TextCmd CircleCmd EllipseCmd LineCmd RectCmd List of all members.

Public Member Functions

virtual void exec ()
 Command execution. This should save undo informations.
virtual void unExec ()
 Revert command execution using undo informations.
virtual std::string name ()=0
 Command identification. This will appear in config file.
virtual std::string args ()=0
 Command export to text string. Needed for macro saving.

Protected Member Functions

 SlowUndoSelectCmd (FrameBuffer *pFB)

Detailed Description

Simple and slow undo (as SlowUndoCmd), but works only with selected area. See SlowUndoCmd documentation for more information.

Definition at line 79 of file command.h.


Constructor & Destructor Documentation

SlowUndoSelectCmd::SlowUndoSelectCmd ( FrameBuffer pFB  )  [inline, protected]

Initialize base.

Parameters:
pFB Pointer to frame buffer to work with.

Definition at line 91 of file command.h.


Member Function Documentation

virtual void SlowUndoSelectCmd::exec (  )  [virtual]

Command execution. This should save undo informations.

Implements Cmd.

Reimplemented in BrushCmd, LineCmd, RectCmd, CircleCmd, EllipseCmd, TextCmd, GrayScaleCmd, and InvertCmd.

virtual void SlowUndoSelectCmd::unExec (  )  [virtual]

Revert command execution using undo informations.

Implements Cmd.

virtual std::string SlowUndoSelectCmd::name (  )  [pure virtual]

Command identification. This will appear in config file.

Implements Cmd.

Implemented in BrushCmd, LineCmd, RectCmd, CircleCmd, EllipseCmd, TextCmd, GrayScaleCmd, and InvertCmd.

virtual std::string SlowUndoSelectCmd::args (  )  [pure virtual]

Command export to text string. Needed for macro saving.

Implements Cmd.

Implemented in BrushCmd, PlacementCmd, TextCmd, GrayScaleCmd, and InvertCmd.


The documentation for this class was generated from the following file:
Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by  doxygen 1.5.2