#include <draw.h>
Inheritance diagram for SelectCmd:

Public Member Functions | |
| SelectCmd (FrameBuffer *pFB) | |
| SelectCmd (FrameBuffer *pFB, const Rect &sel) | |
| virtual void | exec () |
| Command execution. This should save undo informations. | |
| virtual void | unExec () |
| Revert command execution using 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. | |
| SelectCmd (FrameBuffer *pFB, const std::string &args) | |
Static Public Attributes | |
| static const char *const | szCmdName |
| Command id string. | |
Definition at line 351 of file draw.h.
| SelectCmd::SelectCmd | ( | FrameBuffer * | pFB | ) |
Construct select command using current image size as select size.
| pFB | Pointer to framebuffer to work with. |
| SelectCmd::SelectCmd | ( | FrameBuffer * | pFB, | |
| const Rect & | sel | |||
| ) |
Construct select command.
| pFB | Pointer to framebuffer to work with. | |
| sel | Selected area to select on execution. |
| SelectCmd::SelectCmd | ( | FrameBuffer * | pFB, | |
| const std::string & | args | |||
| ) |
Import select command.
| pFB | Pointer to frame buffer to work with. | |
| args | Data to import -- previously returned by SelectCmd::args() method. |
| virtual void SelectCmd::exec | ( | ) | [virtual] |
| virtual void SelectCmd::unExec | ( | ) | [virtual] |
| virtual std::string SelectCmd::name | ( | ) | [inline, virtual] |
| virtual std::string SelectCmd::args | ( | ) | [virtual] |
const char* const SelectCmd::szCmdName [static] |
1.5.2