ROOT
6.12/07
Reference Guide
graf2d
graf
inc
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
TText.h
BIT
#define BIT(n)
Definition:
Rtypes.h:78
TLink::ExecuteEvent
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
Definition:
TLink.cxx:67
TLink::fLink
void * fLink
pointer to object
Definition:
TLink.h:22
Int_t
int Int_t
Definition:
RtypesCore.h:41
x
Double_t x[n]
Definition:
legend1.C:17
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:320
TLink::~TLink
virtual ~TLink()
Link default destructor.
Definition:
TLink.cxx:55
TText
Base class for several text objects.
Definition:
TText.h:23
TLink::kIsStarStar
Definition:
TLink.h:25
TLink::TLink
TLink()
Link default constructor.
Definition:
TLink.cxx:33
Double_t
double Double_t
Definition:
RtypesCore.h:55
TObject::EStatusBits
EStatusBits
Definition:
TObject.h:57
y
Double_t y[n]
Definition:
legend1.C:17
TLink
Special TText object used to show hyperlinks.
Definition:
TLink.h:18