ROOT  6.06/09
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 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TLink //
19 // //
20 // Hypertext link to an object. //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 
25 #ifndef ROOT_TText
26 #include "TText.h"
27 #endif
28 
29 class TLink : public TText {
30 
31 protected:
32 
33  void *fLink; //pointer to object
34 
35 public:
36  enum { kObjIsParent = BIT(1) , kIsStarStar = BIT(2)};
37  TLink();
38  TLink(Double_t x, Double_t y, void *pointer);
39  virtual ~TLink();
40  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
41 
42  ClassDef(TLink,0) //Link: hypertext link to an object
43 };
44 
45 #endif
ClassDef(TAttBBox2D, 0)
#define BIT(n)
Definition: Rtypes.h:120
int Int_t
Definition: RtypesCore.h:41
Double_t x[n]
Definition: legend1.C:17
Base class for several text objects.
Definition: TText.h:42
double Double_t
Definition: RtypesCore.h:55
Double_t y[n]
Definition: legend1.C:17