Logo ROOT   6.12/07
Reference Guide
TLink.h
Go to the documentation of this file.
1 // @(#)root/graf:$Id$
2 // Author: Rene Brun 05/03/95
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TLink
13 #define ROOT_TLink
14 
15 
16 #include "TText.h"
17 
18 class TLink : public TText {
19 
20 protected:
21 
22  void *fLink; ///< pointer to object
23 
24 public:
25  enum EStatusBits { kIsStarStar = BIT(2) };
26  TLink();
27  TLink(Double_t x, Double_t y, void *pointer);
28  virtual ~TLink();
29  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
30 
31  ClassDef(TLink,0) //Link: hypertext link to an object
32 };
33 
34 #endif
#define BIT(n)
Definition: Rtypes.h:78
int Int_t
Definition: RtypesCore.h:41
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:320
Base class for several text objects.
Definition: TText.h:23
double Double_t
Definition: RtypesCore.h:55
EStatusBits
Definition: TObject.h:57
Double_t y[n]
Definition: legend1.C:17