Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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 Wed Feb 2 15:41:42 2011 for BOSS6.5.5 by  doxygen 1.3.9.1