ROOT  6.06/09
Reference Guide
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 //////////////////////////////////////////////////////////////////////////
17 // //
18 // TFrame //
19 // //
20 // TFrame A TWbox for drawing histogram frames. //
21 // //
22 //////////////////////////////////////////////////////////////////////////
23 
24 #ifndef ROOT_TWbox
25 #include "TWbox.h"
26 #endif
27 
28 
29 class TFrame : public TWbox {
30 
31 
32 public:
33  TFrame();
35  TFrame(const TFrame &frame);
36  virtual ~TFrame();
37  void Copy(TObject &frame) const;
38  virtual void Draw(Option_t *option="");
39  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
40  virtual void Paint(Option_t *option="");
41  virtual void Pop();
42  virtual void SavePrimitive(std::ostream &out, Option_t *option = "");
43  virtual void UseCurrentStyle(); // *MENU*
44 
45  ClassDef(TFrame,1) //Pad graphics frame
46 };
47 
48 #endif
49 
ClassDef(TAttBBox2D, 0)
void Copy(TObject &frame) const
Copy this frame to frame.
Definition: TFrame.cxx:61
const char Option_t
Definition: RtypesCore.h:62
virtual void UseCurrentStyle()
Replace current frame attributes by current style.
Definition: TFrame.cxx:159
int Int_t
Definition: RtypesCore.h:41
static const double x2[5]
virtual ~TFrame()
Frame default destructor.
Definition: TFrame.cxx:54
virtual void Draw(Option_t *option="")
Draw this frame with its current attributes.
Definition: TFrame.cxx:69
A TBox with a bordersize and a bordermode.
Definition: TWbox.h:33
char * out
Definition: TBase64.cxx:29
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
Definition: TFrame.cxx:79
Define a Frame.
Definition: TFrame.h:29
static const double x1[5]
double Double_t
Definition: RtypesCore.h:55
Mother of all ROOT objects.
Definition: TObject.h:58
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
Definition: TFrame.cxx:152
virtual void Paint(Option_t *option="")
Paint this wbox with its current attributes.
Definition: TFrame.cxx:130
virtual void Pop()
Do not pop frame's, if allowed they would cover the picture they frame.
Definition: TFrame.cxx:145