5 #include "bcmenubar.inc"
6 #include "bcsubwindow.h"
8 class BC_MenuBar
: public BC_SubWindow
11 BC_MenuBar(int x
, int y
, int w
);
12 virtual ~BC_MenuBar();
16 int add_menu(BC_Menu
* menu
);
19 int focus_out_event();
21 int button_press_event();
22 int button_release_event();
23 int cursor_motion_event();
24 int cursor_enter_event();
25 int cursor_leave_event();
26 int resize_event(int w
, int h
);
27 int translation_event();
30 // Redraws items in active menu
36 // Array of menu titles
37 ArrayList
<BC_Menu
*> menu_titles
;
38 // number of button releases since activation
40 // When a menu is pulled down