1/*
2 * Copyright 2016 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		John Scipione, jscipione@gmail.com
7 *
8 * Based on ColorWhichItem by DarkWyrm (bpmagic@columbus.rr.com)
9 */
10#ifndef _COLOR_ITEM_H
11#define _COLOR_ITEM_H
12
13
14#include <InterfaceDefs.h>
15#include <StringItem.h>
16
17
18class ColorItem : public BStringItem {
19public:
20							ColorItem(const char* string, rgb_color color);
21
22	virtual	void			DrawItem(BView* owner, BRect frame, bool complete);
23	virtual	void			SetColor(rgb_color color);
24
25private:
26			rgb_color		fColor;
27};
28
29
30#endif	// _COLOR_ITEM_H
31