libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / apps / icon-o-matic / style / CurrentColor.cpp
blobda2001d8694e663e66caad36da747dab61ad2595
1 /*
2 * Copyright 2006, 2011, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
7 #include "CurrentColor.h"
9 #include <stdio.h>
11 #include <OS.h>
13 #include "ui_defines.h"
16 CurrentColor::CurrentColor()
17 : Observable(),
18 fColor(kBlack)
23 CurrentColor::~CurrentColor()
28 void
29 CurrentColor::SetColor(rgb_color color)
31 if ((uint32&)fColor == (uint32&)color)
32 return;
34 fColor = color;
35 Notify();