WindowMenu.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file WindowMenu.h
3 /// \brief Pull down menu for launching new windows
4 ///
5 /// \version $Id: WindowMenu.h,v 1.1.1.1 2010-12-22 16:18:52 p-nusoftart Exp $
6 /// \author messier@indiana.edu
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef EVDB_WINDOWMENU_H
9 #define EVDB_WINDOWMENU_H
10 #include "TQObject.h"
11 #include "RQ_OBJECT.h"
12 
13 class TGMainFrame;
14 class TGMenuBar;
15 class TGPopupMenu;
16 class TGLayoutHints;
17 
18 namespace evdb {
19  class WindowMenu {
20  RQ_OBJECT("evdb::WindowMenu")
21 
22  public:
23  WindowMenu(TGMenuBar* menubar, TGMainFrame* mf);
24  virtual ~WindowMenu();
25 
26  // slots
27  void HandleMenu(int menu);
28 
29  private:
30  int NoImpl(const char* m);
31  int No3DViewer();
32 
33  private:
34  TGPopupMenu* fWindowMenu; // The file menu
35  TGLayoutHints* fLayout; // How to layout the menu
36  };
37 }
38 
39 #endif // WINDOWMENU_H
40 ////////////////////////////////////////////////////////////////////////
static const double m
Definition: Units.h:79
virtual ~WindowMenu()
Definition: WindowMenu.cxx:58
TGLayoutHints * fLayout
Definition: WindowMenu.h:35
Manage all things related to colors for the event display.
WindowMenu(TGMenuBar *menubar, TGMainFrame *mf)
Definition: WindowMenu.cxx:25
int NoImpl(const char *m)
Definition: WindowMenu.cxx:84
void HandleMenu(int menu)
Definition: WindowMenu.cxx:66
TGPopupMenu * fWindowMenu
Definition: WindowMenu.h:34