ROOT
6.07/09
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
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
#ifndef ROOT_TText
17
#include "
TText.h
"
18
#endif
19
20
class
TLink
:
public
TText
{
21
22
protected
:
23
24
void
*
fLink
;
///< pointer to object
25
26
public
:
27
enum
{
kObjIsParent
=
BIT
(1) ,
kIsStarStar
=
BIT
(2)};
28
TLink
();
29
TLink
(
Double_t
x
,
Double_t
y
,
void
*pointer);
30
virtual
~TLink
();
31
virtual
void
ExecuteEvent
(
Int_t
event,
Int_t
px,
Int_t
py);
32
33
ClassDef
(
TLink
,0)
//Link: hypertext link to an object
34
};
35
36
#endif
TText.h
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:24
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:254
TLink::~TLink
virtual ~TLink()
Link default destructor.
Definition:
TLink.cxx:55
TText
Base class for several text objects.
Definition:
TText.h:33
TLink::kObjIsParent
Definition:
TLink.h:27
TLink::kIsStarStar
Definition:
TLink.h:27
TLink::TLink
TLink()
Link default constructor.
Definition:
TLink.cxx:33
Double_t
double Double_t
Definition:
RtypesCore.h:55
y
Double_t y[n]
Definition:
legend1.C:17
BIT
#define BIT(n)
Definition:
Rtypes.h:120
TLink
Special TText object used to show hyperlinks.
Definition:
TLink.h:20