1/*
2 * Copyright 2006, Haiku.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Stephan A��mus <superstippi@gmx.de>
7 */
8
9#ifndef SWATCH_VALUE_VIEW_H
10#define SWATCH_VALUE_VIEW_H
11
12#include "SwatchView.h"
13
14class SwatchValueView : public SwatchView {
15 public:
16								SwatchValueView(const char* name,
17												BMessage* message,
18												BHandler* target,
19												rgb_color color,
20												float width = 24.0,
21												float height = 24.0);
22	virtual						~SwatchValueView();
23
24								// BView
25	virtual	void				MakeFocus(bool focused);
26
27	virtual	void				Draw(BRect updateRect);
28
29	virtual	void				MouseDown(BPoint where);
30
31};
32
33#endif // SWATCH_VALUE_VIEW_H
34
35
36