2 * Copyright 2016 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * John Scipione, jscipione@gmail.com
8 * Based on ColorWhichItem by DarkWyrm (bpmagic@columbus.rr.com)
14 #include <InterfaceDefs.h>
15 #include <StringItem.h>
18 class ColorItem
: public BStringItem
{
20 ColorItem(const char* string
, rgb_color color
);
22 virtual void DrawItem(BView
* owner
, BRect frame
, bool complete
);
23 virtual void SetColor(rgb_color color
);
30 #endif // _COLOR_ITEM_H