BOSS
7.0.2
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
7
class
TGPopupMenu;
8
class
TGMenuBar;
9
class
TGMenuTitle;
10
class
TTimer;
11
12
class
BesGMenuTitle
:
public
TGMenuTitle {
13
14
protected
:
15
16
Pixmap_t
fPic
;
// picture shown
17
Pixmap_t
fPicHL
;
// picture when selected
18
19
virtual
void
DoRedraw
();
20
21
public
:
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
s
XmlRpcServer s
Definition:
HelloServer.cpp:11
BesGMenuTitle
Definition:
EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesGMenuTitle.h:12
BesGMenuTitle::fPic
Pixmap_t fPic
Definition:
EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesGMenuTitle.h:16
BesGMenuTitle::DoRedraw
virtual void DoRedraw()
Definition:
BesGMenuTitle.cxx:16
BesGMenuTitle::BesGMenuTitle
BesGMenuTitle(const TGWindow *p=0, TGHotString *s=0, TGPopupMenu *menu=0, GContext_t norm=GetDefaultGC()(), FontStruct_t font=GetDefaultFontStruct(), UInt_t options=0)
BesGMenuTitle::fPicHL
Pixmap_t fPicHL
Definition:
EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesGMenuTitle.h:17
BesGMenuTitle::SetPicture
virtual void SetPicture(Pixmap_t pic)
Definition:
EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesGMenuTitle.h:28
BesGMenuTitle::SetPictureHL
virtual void SetPictureHL(Pixmap_t pic)
Definition:
EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesGMenuTitle.h:29
source
EventDisplay
BesVisLib
BesVisLib-00-04-04
BesVisLib
BesGMenuTitle.h
Generated by
1.9.6