Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TFrame.h
Go to the documentation of this file.
1// @(#)root/graf:$Id$
2// Author: Rene Brun 31/10/96
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_TFrame
13#define ROOT_TFrame
14
15
16#include "TWbox.h"
17
18
19class TFrame : public TWbox {
20
21
22public:
23 TFrame();
25 TFrame(const TFrame &frame);
26 ~TFrame() override;
27 void Copy(TObject &frame) const override;
28 void Draw(Option_t *option="") override;
29 void ExecuteEvent(Int_t event, Int_t px, Int_t py) override;
30 void Paint(Option_t *option="") override;
31 void Pop() override;
32 void SavePrimitive(std::ostream &out, Option_t *option = "") override;
33 void UseCurrentStyle() override; // *MENU*
34
35 ClassDefOverride(TFrame,1) //Pad graphics frame
36};
37
38#endif
39
const char Option_t
Definition RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
Option_t Option_t option
Option_t Option_t TPoint TPoint const char x2
Option_t Option_t TPoint TPoint const char x1
Option_t Option_t TPoint TPoint const char y2
Option_t Option_t TPoint TPoint const char y1
Define a Frame.
Definition TFrame.h:19
void Pop() override
Do not pop frame's, if allowed they would cover the picture they frame.
Definition TFrame.cxx:144
~TFrame() override
Frame default destructor.
Definition TFrame.cxx:52
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
Definition TFrame.cxx:151
void Copy(TObject &frame) const override
Copy this frame to frame.
Definition TFrame.cxx:59
void Paint(Option_t *option="") override
Paint this wbox with its current attributes.
Definition TFrame.cxx:128
void UseCurrentStyle() override
Replace current frame attributes by current style.
Definition TFrame.cxx:158
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
Definition TFrame.cxx:77
TFrame()
Frame default constructor.
Definition TFrame.cxx:29
Mother of all ROOT objects.
Definition TObject.h:41
A TBox with a bordersize and a bordermode.
Definition TWbox.h:20
th1 Draw()