/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesGMenuTitle.h

Go to the documentation of this file.
00001 #ifndef BESGMENUTITLE_H_
00002 #define BESGMENUTITLE_H_
00003 
00004 #include <TGMenu.h>
00005 #include <TGPicture.h>
00006 
00007 class TGPopupMenu;
00008 class TGMenuBar;
00009 class TGMenuTitle;
00010 class TTimer;
00011 
00012 class BesGMenuTitle : public TGMenuTitle {
00013 
00014 protected:
00015 
00016   Pixmap_t  fPic;        // picture shown
00017   Pixmap_t  fPicHL;      // picture when selected
00018   
00019   virtual void DoRedraw();
00020 
00021 public:
00022 
00023   BesGMenuTitle(const TGWindow *p = 0, TGHotString *s = 0, TGPopupMenu *menu = 0,
00024                GContext_t norm = GetDefaultGC()(),
00025                FontStruct_t font = GetDefaultFontStruct(),
00026                UInt_t options = 0);
00027 
00028   virtual void SetPicture(Pixmap_t pic)   { fPic   = pic; }
00029   virtual void SetPictureHL(Pixmap_t pic) { fPicHL = pic; }
00030 
00031    ClassDef(BesGMenuTitle,0)  // Menu title class
00032 };
00033 #endif

Generated on Tue Nov 29 23:12:01 2016 for BOSS_7.0.2 by  doxygen 1.4.7