2 * Copyright 2006-2007, Haiku.
3 * Distributed under the terms of the MIT License.
6 * Stephan Aßmus <superstippi@gmx.de>
8 #ifndef SET_GRADIENT_COMMAND_H
9 #define SET_GRADIENT_COMMAND_H
13 #include "IconBuild.h"
24 class SetGradientCommand
: public Command
{
26 SetGradientCommand(Style
* style
,
27 const Gradient
* gradient
);
28 virtual ~SetGradientCommand();
30 virtual status_t
InitCheck();
32 virtual status_t
Perform();
33 virtual status_t
Undo();
35 virtual void GetName(BString
& name
);
37 virtual bool CombineWithNext(const Command
* next
);
44 #endif // CHANGE_GRADIENT_COMMAND_H