r454: Fixed that the color pickers (if opened) were not updated during playback.
[cinelerra_cv.git] / guicast / bcmenubar.h
blob5cc2a4fc2bff94d2eedf2d939e81911cfacd3434
1 #ifndef BCMENUBAR_H
2 #define BCMENUBAR_H
4 #include "bcmenu.inc"
5 #include "bcmenubar.inc"
6 #include "bcsubwindow.h"
8 class BC_MenuBar : public BC_SubWindow
10 public:
11 BC_MenuBar(int x, int y, int w);
12 virtual ~BC_MenuBar();
14 friend class BC_Menu;
16 int add_menu(BC_Menu* menu);
18 int initialize();
19 int focus_out_event();
20 int keypress_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();
28 int deactivate();
29 int unhighlight();
30 // Redraws items in active menu
31 void draw_items();
33 private:
34 int draw_face();
35 int activate();
36 // Array of menu titles
37 ArrayList<BC_Menu*> menu_titles;
38 // number of button releases since activation
39 int button_releases;
40 // When a menu is pulled down
41 int active;
48 #endif