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;
00017 Pixmap_t fPicHL;
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)
00032 };
00033 #endif