3 /* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 /////////////////////////////////////////////////////////////////////////
8 // Author: Mayeul ROUSSELET //
9 // e-mail: Mayeul.Rousselet@cern.ch //
10 // Last update:26/08/2003 //
11 /////////////////////////////////////////////////////////////////////////
14 #include <RQ_OBJECT.h>
15 #include <TGToolBar.h>
23 //This class implement both the menu and the toolbar
27 AliMenu(TGCompositeFrame *p, UInt_t w, UInt_t h, UInt_t options);
30 void AddPictureButton( const char *fname, const char *tiptext,UInt_t id, UInt_t spacing);//add a picture button to the toolbar
32 void DoMenu(Int_t id=0);
33 void DoToolBar(Int_t id=0);
37 TGMenuBar *fMenuBar; // Menu bar
38 TGToolBar *fToolBar; // Tool bar
39 TGLayoutHints *fMenuBarLayout; // Menu bar layout
40 TGLayoutHints *fMenuBarItemLayout; // Menu bar item layout
41 TGPopupMenu *fMenuFile; // Menu file
42 TGPopupMenu *fMenuOptions; // Menu options
43 TGPopupMenu *fMenuHelp; // Menu help
44 TGPopupMenu *fMenuView; // Menu view
45 TGLayoutHints *fToolBarLayout; // Tool bar layout
46 ToolBarData_t *fTBD; // Tool bar data
47 TGButton *fButton; // Button