2 * Copyright 2005-2008, Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * <unknown, please fill in who knows>
14 #include <MenuField.h>
17 #include <RadioButton.h>
22 class MenuView
: public BView
25 MenuView(BRect frame
, const char *name
, int32 resize
, int32 flags
);
27 void AttachedToWindow(void);
28 void MessageReceived(BMessage
*msg
);
29 void MarkCommandKey(void);
30 void SetCommandKey(bool use_alt
);
33 BMenuField
*fontfield
, *fontsizefield
;
36 BButton
*defaultsbutton
, *revertbutton
;
37 BCheckBox
*showtriggers
;
38 BRadioButton
*altcmd
, *ctrlcmd
;
39 menu_info menuinfo
,revertinfo
;
41 bool revert
, revertaltcmd
;