2 * Copyright 2002-2015, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * DarkWyrm (darkwyrm@earthlink.net)
7 * Rene Gollent (rene@gollent.com)
8 * Stephan Aßmus <superstippi@gmx.de>
9 * Joseph Groover <looncraz@looncraz.net>
16 #include <ColorControl.h>
21 #include <MenuField.h>
24 #include <ScrollBar.h>
25 #include <ScrollView.h>
27 #include <StringView.h>
30 #include <DecorInfo.h>
36 class APRView
: public BView
{
38 APRView(const char *name
);
41 virtual void AttachedToWindow();
42 virtual void MessageReceived(BMessage
*msg
);
53 void _SetCurrentColor(rgb_color color
);
54 void _SetUIColors(const BMessage
& colors
);
55 void _UpdatePreviews(const BMessage
& colors
);
58 BColorControl
* fPicker
;
64 BScrollView
* fScrollView
;
66 ColorPreview
* fColorPreview
;
69 BMessage fDefaultColors
;
70 BMessage fCurrentColors
;