TWbox
class description - source file - inheritance tree
public:
TWbox TWbox()
TWbox TWbox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color = 18, Short_t bordersize = 5, Short_t bordermode = 1)
TWbox TWbox(const TWbox& wbox)
virtual void ~TWbox()
static TClass* Class()
virtual void Copy(TObject& wbox)
virtual void Draw(Option_t* option)
virtual void DrawWbox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color = 33, Short_t bordersize = 5, Short_t bordermode = -1)
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Short_t GetBorderMode() const
Short_t GetBorderSize() const
Int_t GetDarkColor() const
Int_t GetLightColor() const
virtual TClass* IsA() const
virtual void Paint(Option_t* option)
virtual void PaintFrame(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color, Short_t bordersize, Short_t bordermode, Bool_t tops)
virtual void PaintWbox(Double_t x1, Double_t y1, Double_t x2, Double_t y2, Color_t color = 33, Short_t bordersize = 5, Short_t bordermode = -1)
virtual void SavePrimitive(ofstream& out, Option_t* option)
virtual void SetBorderMode(Short_t bordermode)
virtual void SetBorderSize(Short_t bordersize)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Short_t fBorderSize window box bordersize in pixels
Short_t fBorderMode Bordermode (-1=down, 0 = no border, 1=up)
See also
-
TFrame, TSliderBox
a TWbox is a TBox with a bordersize and a bordermode.
/*
*/
TWbox(): TBox()
*-*-*-*-*-*-*-*-*-*-*wbox default constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-* ========================
TWbox(Double_t x1, Double_t y1,Double_t x2, Double_t y2,
Color_t color ,Short_t bordersize ,Short_t bordermode)
:TBox(x1,y1,x2,y2)
*-*-*-*-*-*-*-*-*-*-*wbox normal constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-* =======================
a WBOX is a box with a bordersize and a bordermode
the bordersize is in pixels
bordermode = -1 box looks as it is behind the screen
bordermode = 0 no special effects
bordermode = 1 box looks as it is in front of the screen
~TWbox()
*-*-*-*-*-*-*-*-*-*-*wbox default destructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-* =======================
TWbox(const TWbox &wbox)
void Copy(TObject &obj)
*-*-*-*-*-*-*-*-*-*-*Copy this wbox to wbox*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-* ======================
void Draw(Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Draw this wbox with its current attributes*-*-*-*-*-*-*
*-* ==========================================
void DrawWbox(Double_t x1, Double_t y1,Double_t x2, Double_t y2,
Color_t color ,Short_t bordersize ,Short_t bordermode)
*-*-*-*-*-*-*-*-*-*-*Draw this wbox with new coordinates*-*-*-*-*-*-*-*-*-*
*-* ===================================
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
*-*-*-*-*-*-*-*-*-*-*Execute action corresponding to one event*-*-*-*
*-* =========================================
This member function is called when a WBOX object is clicked.
void Paint(Option_t *)
*-*-*-*-*-*-*-*-*-*-*Paint this wbox with its current attributes*-*-*-*-*-*-*
*-* ===========================================
void PaintWbox(Double_t x1, Double_t y1, Double_t x2, Double_t y2,
Color_t color, Short_t bordersize, Short_t bordermode)
*-*-*-*-*-*-*-*-*-*-*Draw this wbox with new coordinates*-*-*-*-*-*-*-*-*-*
*-* ===================================
void PaintFrame(Double_t x1, Double_t y1,Double_t x2, Double_t y2,
Color_t color, Short_t bordersize, Short_t bordermode,
Bool_t tops)
Paint a 3D frame around a box.
void SavePrimitive(ofstream &out, Option_t *)
Save primitive as a C++ statement(s) on output stream out
Inline Functions
Short_t GetBorderMode() const
Short_t GetBorderSize() const
Int_t GetDarkColor() const
Int_t GetLightColor() const
void SetBorderMode(Short_t bordermode)
void SetBorderSize(Short_t bordersize)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Rene Brun 12/12/94
Last update: root/graf:$Name: $:$Id: TWbox.cxx,v 1.3 2000/12/13 15:13:50 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.