*
* 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 {
///
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);
///
///
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);
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();
///
///
FL_OBJECT *menu_edit;
///
+ FL_OBJECT *menu_toc;
+ ///
+ FL_OBJECT *menu_refs;
+ ///
FL_OBJECT *menu_layout;
///
FL_OBJECT *menu_insert;