2 * Copyright 2002-2006 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT license.
5 * Copyright 1999, Be Incorporated. All Rights Reserved.
6 * This file may be used under the terms of the Be Sample Code License.
8 * Written by: Daniel Switkin
17 #include <ColorControl.h>
24 class RTColorControl
: public BColorControl
{
26 RTColorControl(BPoint point
, BMessage
*message
);
27 void SetValue(int32 color
);
30 class ConfigView
: public BBox
{
32 ConfigView(BRect rect
, const char *name
, uint32 mode
,
33 BMessenger
& target
, Prefs
*prefs
);
35 virtual void AttachedToWindow();
36 virtual void MessageReceived(BMessage
*message
);
37 virtual void GetPreferredSize(float* _width
, float* _height
);
39 void UpdateDeskbarIconWidth();
42 void _ResetDefaults();
47 RTColorControl
* fColorControl
;
49 bool fFirstTimeAttached
;
52 BCheckBox
* fFadeCheckBox
;
53 // For Mini and Deskbar
54 BRadioButton
* fActiveButton
;
55 BRadioButton
* fIdleButton
;
56 BRadioButton
* fFrameButton
;
58 BTextControl
* fIconWidthControl
;
61 #endif // CONFIG_VIEW_H