2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 1995 Matthias Ettrich
8 * Copyright 1995-2000 The LyX Team.
10 * ====================================================== */
19 #include FORMS_H_LOCATION
31 Menus(LyXView *view, int air);
37 void openByName(string const &menuName);
39 static void ShowFileMenu(FL_OBJECT *ob, long);
41 static void ShowFileMenu2(FL_OBJECT *ob, long);
43 static void ShowEditMenu(FL_OBJECT *ob, long data);
45 static void ShowTocMenu(FL_OBJECT *ob, long data);
47 static void ShowRefsMenu(FL_OBJECT *ob, long data);
49 static void ShowLayoutMenu(FL_OBJECT *ob, long data);
51 static void ShowInsertMenu(FL_OBJECT *ob, long data);
53 static void ShowMathMenu(FL_OBJECT *ob, long);
55 static void ShowOptionsMenu(FL_OBJECT *ob, long men);
57 static void ShowBufferMenu(FL_OBJECT *ob, long);
59 static void ShowHelpMenu(FL_OBJECT *ob, long);
62 void create_menus(int air);
68 void MenuDocu(string const & docname);
70 void handleBufferMenu(int choice);
73 BufferView *currentView();
83 FL_OBJECT *menu_file2;
91 FL_OBJECT *menu_layout;
93 FL_OBJECT *menu_insert;
97 FL_OBJECT *menu_options;
99 FL_OBJECT *menu_options2;
101 FL_OBJECT *menu_buffer;
103 FL_OBJECT *menu_help;
105 FL_OBJECT *menu_help2;