Loading [MathJax]/extensions/tex2jax.js
ROOT
6.06/09
Reference Guide
ROOT Home Page
Main Page
Related Pages
User's Classes
Namespaces
All Classes
Files
Release Notes
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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
//////////////////////////////////////////////////////////////////////////
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
TText.h
TAttBBox2D::ClassDef
ClassDef(TAttBBox2D, 0)
BIT
#define BIT(n)
Definition:
Rtypes.h:120
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
Definition:
TLink.h:33
Int_t
int Int_t
Definition:
RtypesCore.h:41
x
Double_t x[n]
Definition:
legend1.C:17
TLink::~TLink
virtual ~TLink()
Link default destructor.
Definition:
TLink.cxx:55
TText
Base class for several text objects.
Definition:
TText.h:42
TLink::TLink
TLink()
Double_t
double Double_t
Definition:
RtypesCore.h:55
TLink::kObjIsParent
Definition:
TLink.h:36
y
Double_t y[n]
Definition:
legend1.C:17
TLink::kIsStarStar
Definition:
TLink.h:36
TLink
Special TText object used to show hyperlinks.
Definition:
TLink.h:29