2 * Copyright 2006-2007, Haiku.
3 * Distributed under the terms of the MIT License.
6 * Stephan Aßmus <superstippi@gmx.de>
8 #ifndef FREEZE_TRANSFORMATION_COMMAND_H
9 #define FREEZE_TRANSFORMATION_COMMAND_H
13 #include "IconBuild.h"
24 class FreezeTransformationCommand
: public Command
{
26 FreezeTransformationCommand(
29 virtual ~FreezeTransformationCommand();
31 virtual status_t
InitCheck();
33 virtual status_t
Perform();
34 virtual status_t
Undo();
36 virtual void GetName(BString
& name
);
39 void _ApplyTransformation(Shape
* shape
,
40 const Transformable
& transform
);
43 double* fOriginalTransformations
;
47 #endif // FREEZE_TRANSFORMATION_COMMAND_H