cherish
Public Member Functions | List of all members
fur::AddStrokeCommand Class Reference

QUndoCommand that performs addition of a stroke to UserScene. More...

#include <AddEntityCommand.h>

Inheritance diagram for fur::AddStrokeCommand:

Public Member Functions

 AddStrokeCommand (entity::UserScene *scene, entity::Stroke *stroke, QUndoCommand *parent=0)
 
void undo () Q_DECL_OVERRIDE
 
void redo () Q_DECL_OVERRIDE
 

Detailed Description

QUndoCommand that performs addition of a stroke to UserScene.

Constructor & Destructor Documentation

§ AddStrokeCommand()

fur::AddStrokeCommand::AddStrokeCommand ( entity::UserScene scene,
entity::Stroke stroke,
QUndoCommand *  parent = 0 
)
Parameters
sceneis the scene graph to add to,
strokeis the Stroke to be added to entity::UserScene,
parentis normally 0.

The documentation for this class was generated from the following files: