2 * Copyright 2006-2007, Haiku.
3 * Distributed under the terms of the MIT License.
6 * Stephan Aßmus <superstippi@gmx.de>
8 #ifndef SET_COLOR_COMMAND_H
9 #define SET_COLOR_COMMAND_H
13 #include "IconBuild.h"
15 #include <InterfaceDefs.h>
25 class SetColorCommand
: public Command
{
27 SetColorCommand(Style
* style
,
28 const rgb_color
& color
);
29 virtual ~SetColorCommand();
31 virtual status_t
InitCheck();
33 virtual status_t
Perform();
34 virtual status_t
Undo();
36 virtual void GetName(BString
& name
);
38 virtual bool CombineWithNext(const Command
* next
);
45 #endif // SET_COLOR_COMMAND_H