cherish
|
QUndoCommand that performs addition of a stroke to UserScene. More...
#include <AddEntityCommand.h>
Public Member Functions | |
AddStrokeCommand (entity::UserScene *scene, entity::Stroke *stroke, QUndoCommand *parent=0) | |
void | undo () Q_DECL_OVERRIDE |
void | redo () Q_DECL_OVERRIDE |
QUndoCommand that performs addition of a stroke to UserScene.
fur::AddStrokeCommand::AddStrokeCommand | ( | entity::UserScene * | scene, |
entity::Stroke * | stroke, | ||
QUndoCommand * | parent = 0 |
||
) |
scene | is the scene graph to add to, |
stroke | is the Stroke to be added to entity::UserScene, |
parent | is normally 0. |