PumpkinBrush
|
#include <Clear.hpp>
Public Member Functions | |
bool | execute () |
Execute the clear canvas command and wipe off all the drawing from the canvas. More... | |
bool | undo () |
Undo the clear canvas command and restore the original image on the canvas. More... | |
Clear (App *app, int flag, std::string command) | |
The constructor of the Clear class. More... | |
~Clear () | |
The destructor of the Clear class. More... | |
![]() | |
Command (int cmdFlag, std::string m_commandDescriptionP) | |
virtual | ~Command () |
N/A. More... | |
std::string | getCommand () |
Additional Inherited Members | |
![]() | |
int | m_cmdFlag |
Clear command.
Clear::~Clear | ( | ) |
The destructor of the Clear class.
|
virtual |
Execute the clear canvas command and wipe off all the drawing from the canvas.
Implements Command.
|
virtual |
Undo the clear canvas command and restore the original image on the canvas.
Implements Command.