10SN/A/* 2157SN/A * Copyright 2006, 2011, Stephan A��mus <superstippi@gmx.de>. 30SN/A * All rights reserved. Distributed under the terms of the MIT License. 40SN/A */ 50SN/A#ifndef CURRENT_COLOR_H 60SN/A#define CURRENT_COLOR_H 7157SN/A 80SN/A 9157SN/A#include <GraphicsDefs.h> 100SN/A 110SN/A#include "Observable.h" 120SN/A 130SN/A 140SN/Aclass CurrentColor : public Observable { 150SN/Apublic: 160SN/A CurrentColor(); 170SN/A virtual ~CurrentColor(); 180SN/A 190SN/A void SetColor(rgb_color color); 200SN/A inline rgb_color Color() const 21157SN/A { return fColor; } 22157SN/A 23157SN/Aprivate: 240SN/A rgb_color fColor; 250SN/A}; 260SN/A 270SN/A 280SN/A#endif // CURRENT_COLOR_H 290SN/A