BOSS
7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
BesCursor.h
Go to the documentation of this file.
1
//
2
// BesCursor.h
3
//
4
5
#ifndef BES_CURSOR
6
#define BES_CURSOR
7
8
#include <TObject.h>
9
10
#ifndef BES_CURSORType
11
#define BES_CURSORType
12
13
enum
EBESCursorType
{
14
kBesPick
= BIT(0),
15
kBesHand
= BIT(1)
16
};
17
#endif
18
19
class
BesCursor
:
public
TObject {
20
21
private
:
22
EBESCursorType
fCursorType;
23
Bool_t fShowInfo;
24
25
public
:
26
27
BesCursor
();
28
~BesCursor
();
29
30
31
void
SetType
(
EBESCursorType
cursorType) { fCursorType = cursorType; }
32
EBESCursorType
GetType
() {
return
fCursorType; }
33
34
void
SetShowInfo
(Bool_t show) { fShowInfo = show; }
35
Bool_t
GetShowInfo
() {
return
fShowInfo; }
36
37
ClassDef(
BesCursor
,0)
// BesCursor
38
};
39
40
R__EXTERN
BesCursor
*
gBesCursor
;
41
#endif
42
EBESCursorType
EBESCursorType
Definition:
BesCursor.h:13
kBesHand
@ kBesHand
Definition:
BesCursor.h:15
kBesPick
@ kBesPick
Definition:
BesCursor.h:14
gBesCursor
R__EXTERN BesCursor * gBesCursor
Definition:
BesCursor.h:40
BesCursor
Definition:
BesCursor.h:19
BesCursor::~BesCursor
~BesCursor()
Definition:
BesCursor.cxx:16
BesCursor::BesCursor
BesCursor()
Definition:
BesCursor.cxx:13
BesCursor::GetShowInfo
Bool_t GetShowInfo()
Definition:
BesCursor.h:35
BesCursor::SetType
void SetType(EBESCursorType cursorType)
Definition:
BesCursor.h:31
BesCursor::SetShowInfo
void SetShowInfo(Bool_t show)
Definition:
BesCursor.h:34
BesCursor::GetType
EBESCursorType GetType()
Definition:
BesCursor.h:32
source
EventDisplay
BesVisLib
BesVisLib-00-05-04
BesVisLib
BesCursor.h
Generated by
1.9.6