2 * Copyright 2010-2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT license.
6 * Stephan Aßmus <superstippi@gmx.de>
7 * Alexander von Gluck <kallisti5@unixzen.com>
8 * John Scipione <jscipione@gmail.com>
9 * Ryan Leavengood <leavengood@gmail.com>
11 #ifndef LOOK_AND_FEEL_SETTINGS_VIEW_H
12 #define LOOK_AND_FEEL_SETTINGS_VIEW_H
15 #include <DecorInfo.h>
26 class LookAndFeelSettingsView
: public BView
{
28 LookAndFeelSettingsView(const char* name
);
29 virtual ~LookAndFeelSettingsView();
31 virtual void AttachedToWindow();
32 virtual void MessageReceived(BMessage
* message
);
41 void _SetDecor(const BString
& name
);
42 void _SetDecor(BPrivate::DecorInfo
* decorInfo
);
44 void _BuildDecorMenu();
45 void _AdoptToCurrentDecor();
46 void _AdoptInterfaceToCurrentDecor();
48 bool _DoubleScrollBarArrows();
49 void _SetDoubleScrollBarArrows(bool doubleArrows
);
52 DecorInfoUtility fDecorUtility
;
54 BButton
* fDecorInfoButton
;
55 BMenuField
* fDecorMenuField
;
56 BPopUpMenu
* fDecorMenu
;
58 FakeScrollBar
* fArrowStyleSingle
;
59 FakeScrollBar
* fArrowStyleDouble
;
62 BString fCurrentDecor
;
64 bool fSavedDoubleArrowsValue
;
67 #endif // LOOK_AND_FEEL_SETTINGS_VIEW_H