LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
WindowMenu.h
Go to the documentation of this file.
1 #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 
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