ROOT
v6-20
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
Int_t
int Int_t
Definition:
RtypesCore.h:41
Double_t
double Double_t
Definition:
RtypesCore.h:55
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:326
BIT
#define BIT(n)
Definition:
Rtypes.h:83
TText.h
TLink
Special TText object used to show hyperlinks.
Definition:
TLink.h:18
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::~TLink
virtual ~TLink()
Link default destructor.
Definition:
TLink.cxx:55
TLink::fLink
void * fLink
pointer to object
Definition:
TLink.h:22
TLink::TLink
TLink()
Link default constructor.
Definition:
TLink.cxx:33
TLink::kIsStarStar
@ kIsStarStar
Definition:
TLink.h:25
TObject::EStatusBits
EStatusBits
Definition:
TObject.h:57
TText
Base class for several text objects.
Definition:
TText.h:23
y
Double_t y[n]
Definition:
legend1.C:17
x
Double_t x[n]
Definition:
legend1.C:17
graf2d
graf
inc
TLink.h
ROOT v6-20 - Reference Guide Generated on Fri Apr 1 2022 00:20:11 (GVA Time) using Doxygen 1.9.4