GrayScaleCmd Class Reference

#include <draw.h>

Inheritance diagram for GrayScaleCmd:

SlowUndoSelectCmd Cmd List of all members.

Public Member Functions

 GrayScaleCmd (FrameBuffer *pFB)
virtual void exec ()
 Command execution. This should save undo informations.
virtual std::string name ()
 Command identification. This will appear in config file.
virtual std::string args ()
 Command export to text string. Needed for macro saving.
 GrayScaleCmd (FrameBuffer *pFB, const std::string &)

Static Public Attributes

static const char *const szCmdName
 Command id string.

Detailed Description

Definition at line 385 of file draw.h.


Constructor & Destructor Documentation

GrayScaleCmd::GrayScaleCmd ( FrameBuffer pFB  )  [inline]

Create filter "Grayscale" command.

Parameters:
pFB Pointer to frame buffer to work with.

Definition at line 391 of file draw.h.

GrayScaleCmd::GrayScaleCmd ( FrameBuffer pFB,
const std::string &   
) [inline]

Import command.

Parameters:
pFB Pointer to frame buffer to work with.

Definition at line 404 of file draw.h.


Member Function Documentation

virtual void GrayScaleCmd::exec (  )  [virtual]

Command execution. This should save undo informations.

Reimplemented from SlowUndoSelectCmd.

virtual std::string GrayScaleCmd::name (  )  [inline, virtual]

Command identification. This will appear in config file.

Implements SlowUndoSelectCmd.

Definition at line 397 of file draw.h.

References szCmdName.

virtual std::string GrayScaleCmd::args (  )  [inline, virtual]

Command export to text string. Needed for macro saving.

Implements SlowUndoSelectCmd.

Definition at line 398 of file draw.h.


Member Data Documentation

const char* const GrayScaleCmd::szCmdName [static]

Command id string.

Definition at line 409 of file draw.h.

Referenced by name().


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