ROOT
v6-28
Reference Guide
Loading...
Searching...
No Matches
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
#include "
TText.h
"
16
17
class
TLink
:
public
TText
{
18
19
protected
:
20
21
void
*
fLink
{
nullptr
};
///< pointer to object
22
23
public
:
24
enum
EStatusBits
{
kIsStarStar
=
BIT
(2) };
25
TLink
();
26
TLink
(
Double_t
x
,
Double_t
y
,
void
*pointer);
27
virtual
~TLink
();
28
void
ExecuteEvent
(
Int_t
event
,
Int_t
px,
Int_t
py)
override
;
29
30
ClassDefOverride
(
TLink
,0)
//Link: hypertext link to an object
31
};
32
33
#endif
Int_t
int Int_t
Definition
RtypesCore.h:45
Double_t
double Double_t
Definition
RtypesCore.h:59
BIT
#define BIT(n)
Definition
Rtypes.h:85
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:341
TText.h
TLink
Special TText object used to show hyperlinks.
Definition
TLink.h:17
TLink::ExecuteEvent
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
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:21
TLink::TLink
TLink()
Link default constructor.
Definition
TLink.cxx:34
TLink::EStatusBits
EStatusBits
Definition
TLink.h:24
TLink::kIsStarStar
@ kIsStarStar
Definition
TLink.h:24
TText
Base class for several text objects.
Definition
TText.h:22
y
Double_t y[n]
Definition
legend1.C:17
x
Double_t x[n]
Definition
legend1.C:17
event
Definition
triangle.c:553
graf2d
graf
inc
TLink.h
ROOT v6-28 - Reference Guide Generated on Thu Oct 24 2024 01:49:11 (GVA Time) using Doxygen 1.9.8