Logo ROOT   6.18/05
Reference Guide
TGCanvas.h
Go to the documentation of this file.
1// @(#)root/gui:$Id$
2// Author: Fons Rademakers 11/01/98
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_TGCanvas
13#define ROOT_TGCanvas
14
15
16//////////////////////////////////////////////////////////////////////////
17// //
18// TGCanvas and TGViewPort and TGContainer //
19// //
20// A TGCanvas is a frame containing two scrollbars (horizontal and //
21// vertical) and a viewport. The viewport acts as the window through //
22// which we look at the contents of the container frame. //
23// //
24//////////////////////////////////////////////////////////////////////////
25
26#include "TGFrame.h"
27
28class TGHScrollBar;
29class TGVScrollBar;
30class TGClient;
31class TGViewPort;
32class TGCanvas;
33class TGFrameElement;
34class TGContainerTimer;
35class TGContainerKeyboardTimer;
36class TGContainerScrollTimer;
37class TGListView;
38class TGPicture;
39class TGRectangle;
40
42
43friend class TGViewPort;
44friend class TGCanvas;
47friend class TGListView;
48
49protected:
50 TGViewPort *fViewPort; // container viewport
51 TGCanvas *fCanvas; // pointer to canvas
52 const TGWindow *fMsgWindow; // window handling container messages
53 TGFrameElement *fLastActiveEl; // last active item
54 Int_t fXp, fYp; // previous pointer position
55 Int_t fX0, fY0; // corner of rubber band box
56 Int_t fXf, fYf; // other corner of rubber band box
57 Bool_t fDragging; // true if in dragging mode
58 Int_t fTotal; // total items
59 Int_t fSelected; // number of selected items
60 TTimer *fScrollTimer; // autoscroll timer
61 Bool_t fOnMouseOver; // kTRUE when mouse pointer is over entry
62 Bool_t fLastDir; // direction of last search
63 Bool_t fLastCase; // case sensetivity of last search
64 Bool_t fLastSubstring; // substring search option of last search
65 TString fLastName; // the name of object of last search
66 TTimer *fKeyTimer; // keyboard timer
67 TString fKeyInput; // keyboard input (buffer)
68 Bool_t fKeyTimerActive;// kTRUE - keyboard timer is active
69 Bool_t fScrolling; // kTRUE - when scrolling is ON
72 TGRectangle fExposedRegion; // exposed area
73
74 static TGGC *fgLineGC;
75 static const TGGC &GetLineGC();
76
77 virtual void DoRedraw();
78 virtual void ActivateItem(TGFrameElement* el);
79 virtual void DeActivateItem(TGFrameElement* el);
80 virtual void SearchPattern();
81 virtual void OnAutoScroll();
82 virtual void RepeatSearch();
83
84private:
85 TGContainer(const TGContainer&); // not implemented
86 TGContainer& operator=(const TGContainer&); // not implemented
87
88public:
89 TGContainer(const TGWindow *p = 0, UInt_t w = 1, UInt_t h = 1,
90 UInt_t options = kSunkenFrame,
94
95 virtual ~TGContainer();
96
97 virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h);
98 virtual void ClearViewPort();
99 virtual void Associate(const TGWindow *w) { fMsgWindow = w; }
100 virtual void AdjustPosition();
101 virtual void SetPagePosition(const TGPosition& pos);
102 virtual void SetPagePosition(Int_t x, Int_t y);
103 virtual void SetPageDimension(const TGDimension& dim);
104 virtual void SetPageDimension(UInt_t w, UInt_t h);
105 virtual void RemoveAll();
106 virtual void RemoveItem(TGFrame *item);
107 virtual void Layout();
108
109 TGCanvas *GetCanvas() const { return fCanvas; }
110 const TGWindow *GetMessageWindow() const { return fMsgWindow; }
111 virtual TGPosition GetPagePosition() const;
112 virtual TGDimension GetPageDimension() const;
113
114 virtual Int_t NumSelected() const { return fSelected; }
115 virtual Int_t NumItems() const { return fTotal; }
116 virtual TGFrameElement *FindFrame(Int_t x,Int_t y,Bool_t exclude=kTRUE);
117 virtual TGFrame *FindFrameByName(const char *name);
118 virtual TGHScrollBar *GetHScrollbar() const;
119 virtual TGVScrollBar *GetVScrollbar() const;
120 virtual void SetHsbPosition(Int_t newPos);
121 virtual void SetVsbPosition(Int_t newPos);
122 virtual void LineUp(Bool_t select = kFALSE);
123 virtual void LineDown(Bool_t select = kFALSE);
124 virtual void LineLeft(Bool_t select = kFALSE);
125 virtual void LineRight(Bool_t select = kFALSE);
126 virtual void PageUp(Bool_t select = kFALSE);
127 virtual void PageDown(Bool_t select = kFALSE);
128 virtual void Home(Bool_t select = kFALSE);
129 virtual void End(Bool_t select = kFALSE);
130 virtual void Search(Bool_t close = kTRUE);
131 virtual void *FindItem(const TString& name,
132 Bool_t direction = kTRUE,
133 Bool_t caseSensitive = kTRUE,
134 Bool_t subString = kFALSE);
135
136 virtual const TGFrame *GetNextSelected(void **current);
137 virtual TGFrame *GetLastActive() const { return fLastActiveEl ? fLastActiveEl->fFrame : 0; }
138 virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
139
140 virtual Bool_t HandleDNDFinished() { fBdown = kFALSE; return kTRUE; }
141 virtual Bool_t HandleExpose(Event_t *event);
142 virtual Bool_t HandleButton(Event_t *event);
143 virtual Bool_t HandleDoubleClick(Event_t *event);
144 virtual Bool_t HandleMotion(Event_t *event);
145 virtual Bool_t HandleKey(Event_t *event);
146
148 virtual void SetDragPixmap(const TGPicture *pic);
149
150 virtual void SelectAll(); //*SIGNAL*
151 virtual void UnSelectAll(); //*SIGNAL*
152 virtual void InvertSelection(); //*SIGNAL*
153 virtual void ReturnPressed(TGFrame*); //*SIGNAL*
154 virtual void SpacePressed(TGFrame*); //*SIGNAL*
155 virtual void KeyPressed(TGFrame*, UInt_t keysym, UInt_t mask); //*SIGNAL*
156 virtual void OnMouseOver(TGFrame*); //*SIGNAL*
157 virtual void CurrentChanged(Int_t x,Int_t y);//*SIGNAL*
158 virtual void CurrentChanged(TGFrame* f); //*SIGNAL*
159 virtual void Clicked(TGFrame *f, Int_t btn); //*SIGNAL*
160 virtual void DoubleClicked(TGFrame *f, Int_t btn); //*SIGNAL*
161 virtual void DoubleClicked(TGFrame *f, Int_t btn, Int_t x, Int_t y); //*SIGNAL*
162 virtual void Clicked(TGFrame *f, Int_t btn, Int_t x, Int_t y); //*SIGNAL*
163
164 ClassDef(TGContainer,0) // Canvas container
165};
166
167
169
170protected:
171 Int_t fX0, fY0; // position of container frame in viewport
172 TGFrame *fContainer; // container frame
173
174private:
175 TGViewPort(const TGViewPort&); // not implemented
176 TGViewPort& operator=(const TGViewPort&); // not implemented
177
178public:
179 TGViewPort(const TGWindow *p = 0, UInt_t w = 1, UInt_t h = 1,
180 UInt_t options = kChildFrame,
182
183 TGFrame *GetContainer() const { return fContainer; }
184 void SetContainer(TGFrame *f);
185
186 virtual void DrawBorder() { };
187 virtual void Layout() { }
189
190 virtual void SetHPos(Int_t xpos);
191 virtual void SetVPos(Int_t ypos);
192 void SetPos(Int_t xpos, Int_t ypos);
193
194 Int_t GetHPos() const { return fX0; }
195 Int_t GetVPos() const { return fY0; }
196 virtual Bool_t HandleConfigureNotify(Event_t *event);
197
198 ClassDef(TGViewPort,0) // Viewport through which to look at a container frame
199};
200
201
202class TGCanvas : public TGFrame {
203
204protected:
205 TGViewPort *fVport; // viewport through which we look at contents
206 TGHScrollBar *fHScrollbar; // horizontal scrollbar
207 TGVScrollBar *fVScrollbar; // vertical scrollbar
208 Int_t fScrolling; // flag which scrolling modes are allowed
209
210private:
211 TGCanvas(const TGCanvas&); // not implemented
212 TGCanvas& operator=(const TGCanvas&); // not implemented
213
214public:
215 enum { kCanvasNoScroll = 0,
219 };
220
221 TGCanvas(const TGWindow *p = 0, UInt_t w = 1, UInt_t h = 1,
224 virtual ~TGCanvas();
225
226 TGFrame *GetContainer() const { return fVport->GetContainer(); }
227 TGViewPort *GetViewPort() const { return fVport; }
230
231 virtual void AddFrame(TGFrame *f, TGLayoutHints *l = 0);
233 virtual void MapSubwindows();
234 virtual void DrawBorder();
235 virtual void Layout();
236 virtual void ClearViewPort();
237 virtual Int_t GetHsbPosition() const;
238 virtual Int_t GetVsbPosition() const;
239 virtual void SetHsbPosition(Int_t newPos);
240 virtual void SetVsbPosition(Int_t newPos);
241 void SetScrolling(Int_t scrolling);
242 Int_t GetScrolling() const { return fScrolling; }
243
245 virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2);
246
247 virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
248
249 ClassDef(TGCanvas,0) // A canvas with two scrollbars and a viewport
250};
251
252
253#endif
ULong_t Pixel_t
Definition: GuiTypes.h:39
#define f(i)
Definition: RSha256.hxx:104
#define h(i)
Definition: RSha256.hxx:106
int Int_t
Definition: RtypesCore.h:41
unsigned int UInt_t
Definition: RtypesCore.h:42
const Bool_t kFALSE
Definition: RtypesCore.h:88
long Long_t
Definition: RtypesCore.h:50
bool Bool_t
Definition: RtypesCore.h:59
const Bool_t kTRUE
Definition: RtypesCore.h:87
const char Option_t
Definition: RtypesCore.h:62
#define ClassDef(name, id)
Definition: Rtypes.h:326
#define BIT(n)
Definition: Rtypes.h:83
@ kChildFrame
Definition: TGFrame.h:57
@ kSunkenFrame
Definition: TGFrame.h:61
@ kDoubleBorder
Definition: TGFrame.h:63
char name[80]
Definition: TGX11.cxx:109
virtual void SetContainer(TGFrame *f)
Definition: TGCanvas.h:232
TGFrame * GetContainer() const
Definition: TGCanvas.h:226
virtual void MapSubwindows()
Map all canvas sub windows.
Definition: TGCanvas.cxx:2160
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a canvas widget as a C++ statement(s) on output stream out.
Definition: TGCanvas.cxx:2441
virtual void SetVsbPosition(Int_t newPos)
Set position of vertical scrollbar.
Definition: TGCanvas.cxx:2403
TGCanvas & operator=(const TGCanvas &)
virtual void SetHsbPosition(Int_t newPos)
Set position of horizontal scrollbar.
Definition: TGCanvas.cxx:2389
virtual Int_t GetVsbPosition() const
Get position of vertical scrollbar.
Definition: TGCanvas.cxx:2379
TGViewPort * fVport
Definition: TGCanvas.h:205
Int_t fScrolling
Definition: TGCanvas.h:208
virtual void DrawBorder()
Draw canvas border.
Definition: TGCanvas.cxx:2199
TGHScrollBar * fHScrollbar
Definition: TGCanvas.h:206
TGVScrollBar * GetVScrollbar() const
Definition: TGCanvas.h:229
TGVScrollBar * fVScrollbar
Definition: TGCanvas.h:207
TGViewPort * GetViewPort() const
Definition: TGCanvas.h:227
virtual Int_t GetHsbPosition() const
Get position of horizontal scrollbar.
Definition: TGCanvas.cxx:2369
virtual void ClearViewPort()
Clear view port and redraw content.
Definition: TGCanvas.cxx:2429
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
Definition: TGCanvas.h:244
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Adding a frame to a canvas is actually adding the frame to the viewport container.
Definition: TGCanvas.cxx:2183
TGCanvas(const TGCanvas &)
@ kCanvasNoScroll
Definition: TGCanvas.h:215
@ kCanvasScrollVertical
Definition: TGCanvas.h:217
@ kCanvasScrollBoth
Definition: TGCanvas.h:218
@ kCanvasScrollHorizontal
Definition: TGCanvas.h:216
Int_t GetScrolling() const
Definition: TGCanvas.h:242
virtual void Layout()
Create layout for canvas.
Definition: TGCanvas.cxx:2224
void SetScrolling(Int_t scrolling)
Set scrolling policy.
Definition: TGCanvas.cxx:2418
virtual ~TGCanvas()
Delete canvas.
Definition: TGCanvas.cxx:2150
virtual Bool_t ProcessMessage(Long_t msg, Long_t parm1, Long_t parm2)
Handle message generated by the canvas scrollbars.
Definition: TGCanvas.cxx:2339
TGHScrollBar * GetHScrollbar() const
Definition: TGCanvas.h:228
virtual Bool_t HandleExpose(Event_t *event)
Handle expose events. Do not use double buffer.
Definition: TGCanvas.cxx:898
TGContainer & operator=(const TGContainer &)
TGRectangle fExposedRegion
Definition: TGCanvas.h:72
virtual void ActivateItem(TGFrameElement *el)
Activate item.
Definition: TGCanvas.cxx:696
virtual void Associate(const TGWindow *w)
Definition: TGCanvas.h:99
Bool_t fKeyTimerActive
Definition: TGCanvas.h:68
virtual void RemoveItem(TGFrame *item)
Remove item from container.
Definition: TGCanvas.cxx:655
TGCanvas * fCanvas
Definition: TGCanvas.h:51
virtual TGFrame * GetLastActive() const
Definition: TGCanvas.h:137
TTimer * fScrollTimer
Definition: TGCanvas.h:60
virtual Bool_t HandleMotion(Event_t *event)
Handle mouse motion events.
Definition: TGCanvas.cxx:1136
virtual void RepeatSearch()
Repeats search.
Definition: TGCanvas.cxx:1618
Int_t fYf
Definition: TGCanvas.h:56
virtual void UnSelectAll()
Unselect all items in the container.
Definition: TGCanvas.cxx:584
virtual Bool_t HandleKey(Event_t *event)
The key press event handler converts a key press to some line editor action.
Definition: TGCanvas.cxx:1273
virtual void PageDown(Bool_t select=kFALSE)
Move position one page down.
Definition: TGCanvas.cxx:2022
virtual Bool_t HandleButton(Event_t *event)
Handle mouse button event in container.
Definition: TGCanvas.cxx:924
virtual void LineLeft(Bool_t select=kFALSE)
Move current position one column left.
Definition: TGCanvas.cxx:1846
virtual void ClearViewPort()
Clear view port and redraw full content.
Definition: TGCanvas.cxx:886
const TGWindow * fMsgWindow
Definition: TGCanvas.h:52
virtual TGFrameElement * FindFrame(Int_t x, Int_t y, Bool_t exclude=kTRUE)
Find frame located int container at position x,y.
Definition: TGCanvas.cxx:1652
Int_t fYp
Definition: TGCanvas.h:54
virtual void AdjustPosition()
Move content to position of highlighted/activated frame.
Definition: TGCanvas.cxx:1788
virtual void OnMouseOver(TGFrame *)
Signal emitted when pointer is over entry.
Definition: TGCanvas.cxx:496
virtual void Clicked(TGFrame *f, Int_t btn)
Emit Clicked() signal.
Definition: TGCanvas.cxx:505
virtual void InvertSelection()
Invert the selection, all selected items become unselected and vice versa.
Definition: TGCanvas.cxx:609
virtual void PageUp(Bool_t select=kFALSE)
Move position one page up.
Definition: TGCanvas.cxx:1978
virtual void LineDown(Bool_t select=kFALSE)
Move one line down.
Definition: TGCanvas.cxx:1951
virtual const TGFrame * GetNextSelected(void **current)
Return the next selected item.
Definition: TGCanvas.cxx:676
virtual void Search(Bool_t close=kTRUE)
Invokes search dialog. Looks for item with the entered name.
Definition: TGCanvas.cxx:1462
virtual ~TGContainer()
Delete canvas container.
Definition: TGCanvas.cxx:401
virtual void LineUp(Bool_t select=kFALSE)
Make current position first line in window by scrolling up.
Definition: TGCanvas.cxx:1922
Bool_t fLastDir
Definition: TGCanvas.h:62
Int_t fY0
Definition: TGCanvas.h:55
virtual void Home(Bool_t select=kFALSE)
Move to upper-left corner of container.
Definition: TGCanvas.cxx:2066
virtual void KeyPressed(TGFrame *, UInt_t keysym, UInt_t mask)
Signal emitted when keyboard key pressed.
Definition: TGCanvas.cxx:465
virtual void SetDragPixmap(const TGPicture *pic)
Set drag window pixmaps and hotpoint.
Definition: TGCanvas.cxx:1075
virtual Int_t NumSelected() const
Definition: TGCanvas.h:114
const TGPicture * GetObjPicture(TGFrame *f)
Retrieve icons associated with class "name".
Definition: TGCanvas.cxx:1034
virtual void SetVsbPosition(Int_t newPos)
Set position of vertical scrollbar.
Definition: TGCanvas.cxx:1756
Int_t fXDND
Definition: TGCanvas.h:70
TGCanvas * GetCanvas() const
Definition: TGCanvas.h:109
virtual void ReturnPressed(TGFrame *)
Signal emitted when Return/Enter key pressed.
Definition: TGCanvas.cxx:479
virtual void SearchPattern()
Search for entry which name begins with pattern.
Definition: TGCanvas.cxx:1592
virtual void SetPageDimension(const TGDimension &dim)
Set page dimension.
Definition: TGCanvas.cxx:777
virtual void LineRight(Bool_t select=kFALSE)
Move current position one column right.
Definition: TGCanvas.cxx:1885
Int_t fSelected
Definition: TGCanvas.h:59
Bool_t fBdown
Definition: TGCanvas.h:71
virtual void SpacePressed(TGFrame *)
Signal emitted when space key pressed.
Definition: TGCanvas.cxx:488
virtual void SetHsbPosition(Int_t newPos)
set new hor. position
Definition: TGCanvas.cxx:1772
Bool_t fScrolling
Definition: TGCanvas.h:69
virtual void DoRedraw()
Redraw content of container in the viewport region.
Definition: TGCanvas.cxx:795
Int_t fX0
Definition: TGCanvas.h:55
virtual TGDimension GetPageDimension() const
Returns page dimension.
Definition: TGCanvas.cxx:746
TString fLastName
Definition: TGCanvas.h:65
TGContainer(const TGContainer &)
virtual void Layout()
Layout container entries.
Definition: TGCanvas.cxx:417
virtual void OnAutoScroll()
Autoscroll while close to & beyond The Wall.
Definition: TGCanvas.cxx:1490
Int_t fXp
Definition: TGCanvas.h:54
static const TGGC & GetLineGC()
Get graphics context for line drawing.
Definition: TGCanvas.cxx:2100
static TGGC * fgLineGC
Definition: TGCanvas.h:74
Bool_t fDragging
Definition: TGCanvas.h:57
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save a canvas container as a C++ statement(s) on output stream out.
Definition: TGCanvas.cxx:2499
virtual void CurrentChanged(Int_t x, Int_t y)
Emit signal when current position changed.
Definition: TGCanvas.cxx:429
virtual void DrawRegion(Int_t x, Int_t y, UInt_t w, UInt_t h)
Draw a region of container in viewport.
Definition: TGCanvas.cxx:814
virtual void RemoveAll()
Remove all items from the container.
Definition: TGCanvas.cxx:636
friend class TGContainerScrollTimer
Definition: TGCanvas.h:46
virtual Int_t NumItems() const
Definition: TGCanvas.h:115
TGViewPort * fViewPort
Definition: TGCanvas.h:50
virtual TGVScrollBar * GetVScrollbar() const
returns pointer to vert. scroll bar
Definition: TGCanvas.cxx:1748
virtual TGFrame * FindFrameByName(const char *name)
Find frame by name.
Definition: TGCanvas.cxx:1411
Int_t fYDND
Definition: TGCanvas.h:70
friend class TGContainerKeyboardTimer
Definition: TGCanvas.h:45
virtual void * FindItem(const TString &name, Bool_t direction=kTRUE, Bool_t caseSensitive=kTRUE, Bool_t subString=kFALSE)
Definition: TGCanvas.cxx:1685
virtual Bool_t HandleDoubleClick(Event_t *event)
Handle double click mouse event.
Definition: TGCanvas.cxx:1093
Bool_t fOnMouseOver
Definition: TGCanvas.h:61
Bool_t fLastCase
Definition: TGCanvas.h:63
Int_t fTotal
Definition: TGCanvas.h:58
const TGWindow * GetMessageWindow() const
Definition: TGCanvas.h:110
virtual void DoubleClicked(TGFrame *f, Int_t btn)
Emit DoubleClicked() signal.
Definition: TGCanvas.cxx:533
virtual TGPosition GetPagePosition() const
Returns page position.
Definition: TGCanvas.cxx:732
virtual void End(Bool_t select=kFALSE)
Move to the bottom-right corner of container.
Definition: TGCanvas.cxx:2083
Bool_t fLastSubstring
Definition: TGCanvas.h:64
virtual void SetPagePosition(const TGPosition &pos)
Set page position.
Definition: TGCanvas.cxx:759
virtual Bool_t HandleDNDFinished()
Definition: TGCanvas.h:140
virtual TGHScrollBar * GetHScrollbar() const
returns pointer to hor. scroll bar
Definition: TGCanvas.cxx:1740
TGFrameElement * fLastActiveEl
Definition: TGCanvas.h:53
virtual void SelectAll()
Select all items in the container.
Definition: TGCanvas.cxx:562
TString fKeyInput
Definition: TGCanvas.h:67
TTimer * fKeyTimer
Definition: TGCanvas.h:66
virtual void DeActivateItem(TGFrameElement *el)
DeActivate item.
Definition: TGCanvas.cxx:719
Int_t fXf
Definition: TGCanvas.h:56
TGFrame * fFrame
Definition: TGLayout.h:119
UInt_t fHeight
Definition: TGFrame.h:135
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
UInt_t fWidth
Definition: TGFrame.h:134
Definition: TGGC.h:31
Int_t GetHPos() const
Definition: TGCanvas.h:194
virtual void DrawBorder()
Draw frame border.
Definition: TGCanvas.h:186
Int_t GetVPos() const
Definition: TGCanvas.h:195
TGFrame * GetContainer() const
Definition: TGCanvas.h:183
virtual TGDimension GetDefaultSize() const
std::cout << fWidth << "x" << fHeight << std::endl;
Definition: TGCanvas.h:188
TGFrame * fContainer
Definition: TGCanvas.h:172
virtual Bool_t HandleConfigureNotify(Event_t *event)
Handle resize events.
Definition: TGCanvas.cxx:287
Int_t fX0
Definition: TGCanvas.h:171
void SetContainer(TGFrame *f)
Add container frame to the viewport.
Definition: TGCanvas.cxx:148
virtual void Layout()
Layout the elements of the composite frame.
Definition: TGCanvas.h:187
virtual void SetHPos(Int_t xpos)
Moves content of container frame in horizontal direction.
Definition: TGCanvas.cxx:173
virtual void SetVPos(Int_t ypos)
Moves content of container frame in vertical direction.
Definition: TGCanvas.cxx:224
void SetPos(Int_t xpos, Int_t ypos)
Goto new position.
Definition: TGCanvas.cxx:276
Int_t fY0
Definition: TGCanvas.h:171
TGViewPort & operator=(const TGViewPort &)
TGViewPort(const TGViewPort &)
Basic string class.
Definition: TString.h:131
Handles synchronous and a-synchronous timer events.
Definition: TTimer.h:51
Double_t y[n]
Definition: legend1.C:17
Double_t x[n]
Definition: legend1.C:17
auto * l
Definition: textangle.C:4