2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright (C) 1995 1996 Matthias Ettrich
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 ShowLayoutMenu(FL_OBJECT *ob, long data);
47 static void ShowInsertMenu(FL_OBJECT *ob, long data);
49 static void ShowMathMenu(FL_OBJECT *ob, long);
51 static void ShowOptionsMenu(FL_OBJECT *ob, long men);
53 static void ShowBufferMenu(FL_OBJECT *ob, long);
55 static void ShowHelpMenu(FL_OBJECT *ob, long);
58 void create_menus(int air);
66 void MenuDocu(string const & docname);
68 void handleBufferMenu(int choice);
71 BufferView *currentView();
81 FL_OBJECT *menu_file2;
85 FL_OBJECT *menu_layout;
87 FL_OBJECT *menu_insert;
91 FL_OBJECT *menu_options;
93 FL_OBJECT *menu_options2;
95 FL_OBJECT *menu_buffer;
99 FL_OBJECT *menu_help2;