]> git.lyx.org Git - lyx.git/blobdiff - src/menus.h
citation patch from Angus
[lyx.git] / src / menus.h
index 64bbc6c7750e34f64ac1eb2a616675ae85aaa995..b3ffff4a3461967b28464e8b5049022e55ade28d 100644 (file)
@@ -4,13 +4,13 @@
 * 
 *           LyX, The Document Processor
 *        
-*           Copyright (C) 1995 1996 Matthias Ettrich
-*           and the LyX Team.
+*           Copyright 1995 Matthias Ettrich
+*           Copyright 1995-2000 The LyX Team.
 *
-*======================================================*/
+* ====================================================== */
 
-#ifndef _MENUS_H
-#define _MENUS_H
+#ifndef MENUS_H
+#define MENUS_H
 
 #ifdef __GNUG__
 #pragma interface
 
 #include FORMS_H_LOCATION
 #include "lyx.h"
+#include "LString.h"
 
 class BufferView;
 class LyXView;
-class LString;
+
 
 ///
 class Menus {
@@ -33,21 +34,7 @@ public:
        ///
        void hideMenus();
        ///
-       void openByName(LString const &menuName);
-private:
-       ///
-       void create_menus(int air);
-       ///
-       void ScreenOptions();
-       ///
-       void showCopyright();
-       ///
-       void showLicense();
-       ///
-       void MenuDocu(LString const & docname);
-       ///
-       void handleBufferMenu(int choice);
-       
+       void openByName(string const &menuName);
        ///
        static void ShowFileMenu(FL_OBJECT *ob, long);
        ///
@@ -55,6 +42,10 @@ private:
        ///
        static void ShowEditMenu(FL_OBJECT *ob, long data);
        ///
+       static void ShowTocMenu(FL_OBJECT *ob, long data);
+       ///
+       static void ShowRefsMenu(FL_OBJECT *ob, long data);
+       ///
        static void ShowLayoutMenu(FL_OBJECT *ob, long data);
        ///
        static void ShowInsertMenu(FL_OBJECT *ob, long data);
@@ -66,6 +57,18 @@ private:
        static void ShowBufferMenu(FL_OBJECT *ob, long);
        ///
        static void ShowHelpMenu(FL_OBJECT *ob, long);
+private:
+       ///
+       void create_menus(int air);
+       ///
+       void showCopyright();
+       ///
+       void showLicense();
+       ///
+       void MenuDocu(string const & docname);
+       ///
+       void handleBufferMenu(int choice);
+       
        /// 
        BufferView *currentView();
        ///
@@ -81,6 +84,10 @@ private:
        ///
        FL_OBJECT *menu_edit;
        ///
+       FL_OBJECT *menu_toc;
+       ///
+       FL_OBJECT *menu_refs;
+       ///
        FL_OBJECT *menu_layout;
        ///
        FL_OBJECT *menu_insert;