Logo ROOT   6.10/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 #include "TText.h"
17 
18 class TLink : public TText {
19 
20 protected:
21 
22  void *fLink; ///< pointer to object
23 
24 public:
25  enum { kObjIsParent = BIT(1) , 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:75
int Int_t
Definition: RtypesCore.h:41
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:297
Base class for several text objects.
Definition: TText.h:23
double Double_t
Definition: RtypesCore.h:55
Double_t y[n]
Definition: legend1.C:17