BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesGMenuTitle.h
Go to the documentation of this file.
1#ifndef BESGMENUTITLE_H_
2#define BESGMENUTITLE_H_
3
4#include <TGMenu.h>
5#include <TGPicture.h>
6
7class TGPopupMenu;
8class TGMenuBar;
9class TGMenuTitle;
10class TTimer;
11
12class BesGMenuTitle : public TGMenuTitle {
13
14protected:
15
16 Pixmap_t fPic; // picture shown
17 Pixmap_t fPicHL; // picture when selected
18
19 virtual void DoRedraw();
20
21public:
22
23 BesGMenuTitle(const TGWindow *p = 0, TGHotString *s = 0, TGPopupMenu *menu = 0,
24 GContext_t norm = GetDefaultGC()(),
25 FontStruct_t font = GetDefaultFontStruct(),
26 UInt_t options = 0);
27
28 virtual void SetPicture(Pixmap_t pic) { fPic = pic; }
29 virtual void SetPictureHL(Pixmap_t pic) { fPicHL = pic; }
30
31 ClassDef(BesGMenuTitle,0) // Menu title class
32};
33#endif
XmlRpcServer s
Definition: HelloServer.cpp:11
virtual void DoRedraw()
BesGMenuTitle(const TGWindow *p=0, TGHotString *s=0, TGPopupMenu *menu=0, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=0)