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
14 kBesPick = BIT(0),
15 kBesHand = BIT(1)
16};
17#endif
18
19class 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
41#endif
42
EBESCursorType
Definition: BesCursor.h:13
@ kBesHand
Definition: BesCursor.h:15
@ kBesPick
Definition: BesCursor.h:14
R__EXTERN BesCursor * gBesCursor
Definition: BesCursor.h:40
Bool_t GetShowInfo()
Definition: BesCursor.h:35
void SetType(EBESCursorType cursorType)
Definition: BesCursor.h:31
void SetShowInfo(Bool_t show)
Definition: BesCursor.h:34
EBESCursorType GetType()
Definition: BesCursor.h:32