LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
EditMenu.h
Go to the documentation of this file.
1 #ifndef EVDB_EDITMENU_H
7 #define EVDB_EDITMENU_H
8 #include "TQObject.h"
9 #include "RQ_OBJECT.h"
10 class TGMainFrame;
11 class TGMenuBar;
12 class TGPopupMenu;
13 class TGLayoutHints;
14 
15 namespace evdb {
19  class EditMenu {
20  RQ_OBJECT("evdb::EditMenu")
21 
22  public:
23  EditMenu(TGMenuBar* menubar, TGMainFrame* mf);
24  virtual ~EditMenu();
25 
26  void SetServices();
27 
28  void MenuSelect(int which);
29  void WipeMenu(TGPopupMenu* m);
30 
31  private:
32  // TGMainFrame* fMainFrame; ///< Main graphics frame - apparently not used in .cxx
33  TGPopupMenu* fEditMenu;
34  TGPopupMenu* fDrawingMenu;
35  TGPopupMenu* fExpMenu;
36  TGLayoutHints* fLayout;
37  };
38 }
39 
40 #endif // EVDB_EDITMENU_H
41 
EditMenu(TGMenuBar *menubar, TGMainFrame *mf)
Definition: EditMenu.cxx:12
void WipeMenu(TGPopupMenu *m)
Definition: EditMenu.cxx:40
Manage all things related to colors for the event display.
TGPopupMenu * fExpMenu
Experiment services.
Definition: EditMenu.h:35
void SetServices()
Definition: EditMenu.cxx:51
The edit pull down menu.
Definition: EditMenu.h:19
void MenuSelect(int which)
Definition: EditMenu.cxx:76
TGLayoutHints * fLayout
How to layout the menu.
Definition: EditMenu.h:36
TGPopupMenu * fDrawingMenu
Drawing options.
Definition: EditMenu.h:34
virtual ~EditMenu()
Definition: EditMenu.cxx:30
TGPopupMenu * fEditMenu
The file menu.
Definition: EditMenu.h:33