/* * Copyright 2006, 2011, Stephan Aßmus . * All rights reserved. Distributed under the terms of the MIT License. */ #include "CurrentColor.h" #include #include #include "ui_defines.h" CurrentColor::CurrentColor() : Observable(), fColor(kBlack) { } CurrentColor::~CurrentColor() { } void CurrentColor::SetColor(rgb_color color) { if ((uint32&)fColor == (uint32&)color) return; fColor = color; Notify(); }