2 * Copyright 2006, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Mikael Konradson, mikael.konradson@gmail.com
12 #include <GroupView.h>
27 class ControlView
: public BGroupView
{
30 virtual ~ControlView();
32 virtual void AttachedToWindow();
33 virtual void Draw(BRect updateRect
);
34 virtual void MessageReceived(BMessage
* message
);
35 void SetTarget(BHandler
* handler
);
39 void _AddDrawingModeMenu();
40 void _UpdateFontmenus(bool setInitialfont
= false);
41 void _DeselectOldItems();
43 void _UpdateAndSendFamily(const BMessage
* message
);
44 void _UpdateAndSendStyle(const BMessage
* message
);
46 BMessenger
* fMessenger
;
47 BMessageRunner
* fMessageRunner
;
48 BTextControl
* fTextControl
;
49 BMenuField
* fFontMenuField
;
50 BSlider
* fFontsizeSlider
;
51 BSlider
* fShearSlider
;
52 BSlider
* fRotationSlider
;
53 BSlider
* fSpacingSlider
;
54 BSlider
* fOutlineSlider
;
55 BCheckBox
* fAliasingCheckBox
;
56 BCheckBox
* fBoundingboxesCheckBox
;
57 BButton
* fCyclingFontButton
;
58 BMenu
* fFontFamilyMenu
;
59 BMenu
* fDrawingModeMenu
;
61 int32 fFontStyleindex
;
64 #endif // CONTROL_VIEW_H