TLink.h

Go to the documentation of this file.
00001 // @(#)root/graf:$Id: TLink.h 20882 2007-11-19 11:31:26Z rdm $
00002 // Author: Rene Brun   05/03/95
00003 
00004 /*************************************************************************
00005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
00006  * All rights reserved.                                                  *
00007  *                                                                       *
00008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
00009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
00010  *************************************************************************/
00011 
00012 #ifndef ROOT_TLink
00013 #define ROOT_TLink
00014 
00015 
00016 //////////////////////////////////////////////////////////////////////////
00017 //                                                                      //
00018 // TLink                                                                //
00019 //                                                                      //
00020 // Hypertext link to an object.                                         //
00021 //                                                                      //
00022 //////////////////////////////////////////////////////////////////////////
00023 
00024 
00025 #ifndef ROOT_TText
00026 #include "TText.h"
00027 #endif
00028 
00029 class TLink : public TText {
00030 
00031 protected:
00032 
00033    void   *fLink;           //pointer to object
00034 
00035 public:
00036    enum { kObjIsParent = BIT(1) , kIsStarStar = BIT(2)};
00037    TLink();
00038    TLink(Double_t x, Double_t y, void *pointer);
00039    virtual ~TLink();
00040    virtual void     ExecuteEvent(Int_t event, Int_t px, Int_t py);
00041 
00042    ClassDef(TLink,0)  //Link: hypertext link to an object
00043 };
00044 
00045 #endif

Generated on Tue Jul 5 14:14:10 2011 for ROOT_528-00b_version by  doxygen 1.5.1