Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:12:12

0001 // @(#)root/graf:$Id$
0002 // Author: Rene Brun   05/03/95
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TLink
0013 #define ROOT_TLink
0014 
0015 #include "TText.h"
0016 
0017 class TLink : public TText {
0018 
0019 protected:
0020 
0021    void   *fLink{nullptr};     ///< pointer to object
0022 
0023 public:
0024    enum EStatusBits { kIsStarStar = BIT(2) };
0025    TLink();
0026    TLink(Double_t x, Double_t y, void *pointer);
0027    ~TLink() override;
0028    void     ExecuteEvent(Int_t event, Int_t px, Int_t py) override;
0029 
0030    ClassDefOverride(TLink,0)  //Link: hypertext link to an object
0031 };
0032 
0033 #endif