BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EventDisplay/BesVisLib/include/BesVisLib/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
13enum EBESCursorType { kBesPick = BIT( 0 ), kBesHand = BIT( 1 ) };
14#endif
15
16class BesCursor : public TObject {
17
18private:
19 EBESCursorType fCursorType;
20 Bool_t fShowInfo;
21
22public:
23 BesCursor();
24 ~BesCursor();
25
26 void SetType( EBESCursorType cursorType ) { fCursorType = cursorType; }
27 EBESCursorType GetType() { return fCursorType; }
28
29 void SetShowInfo( Bool_t show ) { fShowInfo = show; }
30 Bool_t GetShowInfo() { return fShowInfo; }
31
32 ClassDef( BesCursor, 0 ) // BesCursor
33};
34
36#endif
void SetType(EBESCursorType cursorType)