1/*
2 * Copyright 2001-2002 OpenBeOS
3 * Copyright 2003-2016 Haiku, Inc. All rights reserved.
4 * Distributed under the terms of the MIT License.
5 *
6 * Authors:
7 *		DarkWyrm, bpmagic@columbus.rr.com
8 *		Rene Gollent, rene@gollent.com
9 *		Ryan Leavengood, leavengood@gmail.com
10 *		John Scipione, jscipione@gmail.com
11 */
12#ifndef COLORWHICH_ITEM_H
13#define COLORWHICH_ITEM_H
14
15
16#include <InterfaceDefs.h>
17#include <StringItem.h>
18
19
20class ColorWhichItem : public BStringItem
21{
22public:
23							ColorWhichItem(const char* text, color_which which,
24								rgb_color color);
25
26	virtual void			DrawItem(BView* owner, BRect frame, bool complete);
27
28			color_which		ColorWhich() { return fColorWhich; };
29
30			rgb_color		Color() { return fColor; };
31			void			SetColor(rgb_color color) { fColor = color; };
32
33private:
34			color_which		fColorWhich;
35			rgb_color		fColor;
36};
37
38
39#endif
40