BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EventDisplay/BesVisLib/include/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 Pixmap_t fPic; // picture shown
16 Pixmap_t fPicHL; // picture when selected
17
18 virtual void DoRedraw();
19
20public:
21 BesGMenuTitle( const TGWindow* p = 0, TGHotString* s = 0, TGPopupMenu* menu = 0,
22 GContext_t norm = GetDefaultGC()(),
23 FontStruct_t font = GetDefaultFontStruct(), UInt_t options = 0 );
24
25 virtual void SetPicture( Pixmap_t pic ) { fPic = pic; }
26 virtual void SetPictureHL( Pixmap_t pic ) { fPicHL = pic; }
27
28 ClassDef( BesGMenuTitle, 0 ) // Menu title class
29};
30#endif
XmlRpcServer s
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)