btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / icon-o-matic / style / CurrentColor.h
blob2e5eaf9c0dd550b0aecf1ac3d88d2c59cb7471a7
1 /*
2 * Copyright 2006, 2011, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef CURRENT_COLOR_H
6 #define CURRENT_COLOR_H
9 #include <GraphicsDefs.h>
11 #include "Observable.h"
14 class CurrentColor : public Observable {
15 public:
16 CurrentColor();
17 virtual ~CurrentColor();
19 void SetColor(rgb_color color);
20 inline rgb_color Color() const
21 { return fColor; }
23 private:
24 rgb_color fColor;
28 #endif // CURRENT_COLOR_H