Logo ROOT  
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
x
Double_t x[n]
Definition: legend1.C:17
BIT
#define BIT(n)
Definition: Rtypes.h:85
y
Double_t y[n]
Definition: legend1.C:17
TText
Definition: TText.h:22
Double_t
double Double_t
Definition: RtypesCore.h:59
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TText.h
TObject::EStatusBits
EStatusBits
Definition: TObject.h:57
int