docs/ikteam: Delete most files.
[haiku.git] / src / preferences / appearance / MenuView.h
blob4b8a6449721616243e71a2cb677ead5fa4fb66bf
1 /*
2 * Copyright 2005-2008, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * <unknown, please fill in who knows>
7 */
8 #ifndef MENUVIEW_H_
9 #define MENUVIEW_H_
11 #include <Menu.h>
12 #include <MenuItem.h>
13 #include <MenuBar.h>
14 #include <MenuField.h>
15 #include <View.h>
16 #include <Button.h>
17 #include <RadioButton.h>
18 #include <Box.h>
19 #include <CheckBox.h>
20 #include "FontMenu.h"
22 class MenuView : public BView
24 public:
25 MenuView(BRect frame, const char *name, int32 resize, int32 flags);
26 ~MenuView(void);
27 void AttachedToWindow(void);
28 void MessageReceived(BMessage *msg);
29 void MarkCommandKey(void);
30 void SetCommandKey(bool use_alt);
32 private:
33 BMenuField *fontfield, *fontsizefield;
34 BMenu *fontsizemenu;
35 FontMenu *fontmenu;
36 BButton *defaultsbutton, *revertbutton;
37 BCheckBox *showtriggers;
38 BRadioButton *altcmd, *ctrlcmd;
39 menu_info menuinfo,revertinfo;
40 bool altcommand;
41 bool revert, revertaltcmd;
44 #endif