/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/EventDisplay/BesVisLib/BesVisLib-00-04-04/BesVisLib/BesCursor.h

Go to the documentation of this file.
00001 //
00002 // BesCursor.h
00003 //
00004 
00005 #ifndef BES_CURSOR
00006 #define BES_CURSOR
00007 
00008 #include <TObject.h>
00009 
00010 #ifndef BES_CURSORType
00011 #define BES_CURSORType
00012 
00013 enum EBESCursorType {
00014   kBesPick   = BIT(0),
00015   kBesHand   = BIT(1)
00016 };
00017 #endif
00018 
00019 class BesCursor : public TObject {
00020 
00021  private:
00022   EBESCursorType fCursorType;
00023   Bool_t fShowInfo;
00024   
00025  public:
00026   
00027   BesCursor();
00028   ~BesCursor();
00029 
00030   
00031   void SetType(EBESCursorType cursorType) { fCursorType = cursorType; }
00032   EBESCursorType GetType() { return fCursorType; } 
00033   
00034   void SetShowInfo(Bool_t show) { fShowInfo = show; }
00035   Bool_t GetShowInfo() { return fShowInfo; }
00036 
00037   ClassDef(BesCursor,0) // BesCursor
00038 };
00039 
00040 R__EXTERN BesCursor *gBesCursor;
00041 #endif
00042 

Generated on Tue Nov 29 23:12:01 2016 for BOSS_7.0.2 by  doxygen 1.4.7