TWbox


class description - source file - inheritance tree

class TWbox : public TBox


    public:
TWbox TWbox() TWbox TWbox(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, Color_t color = 18, Short_t bordersize = 5, Short_t bordermode = 1) TWbox TWbox(TWbox& wbox) virtual void ~TWbox() TClass* Class() virtual void Copy(TObject& wbox) virtual void Draw(Option_t* option) virtual void DrawWbox(Coord_t x1, Coord_t y1, Coord_t x2, Coord_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() Short_t GetBorderSize() Int_t GetDarkColor() Int_t GetLightColor() virtual TClass* IsA() virtual void Paint(Option_t* option) virtual void PaintFrame(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, Color_t color, Short_t bordersize, Short_t bordermode, Bool_t tops) virtual void PaintWbox(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, Color_t color = 33, Short_t bordersize = 5, Short_t bordermode = -1) virtual void Print(Option_t* option) 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)

Data Members

protected:
Short_t fBorderSize window box bordersize in pixels Short_t fBorderMode Bordermode (-1=down, 0 = no border, 1=up)


See also

TFrame, TSliderBox, TVirtualPad

Class Description

 a TWbox is a TBox with a bordersize and a bordermode.


/*

*/


TWbox(): TBox()
*-*-*-*-*-*-*-*-*-*-*wbox default constructor*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                  ========================

TWbox(Coord_t x1, Coord_t y1,Coord_t x2, Coord_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(Coord_t x1, Coord_t y1,Coord_t x2, Coord_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(Coord_t x1, Coord_t y1, Coord_t x2, Coord_t y2, Color_t color, Short_t bordersize, Short_t bordermode)
*-*-*-*-*-*-*-*-*-*-*Draw this wbox with new coordinates*-*-*-*-*-*-*-*-*-*
*-*                  ===================================

void PaintFrame(Coord_t x1, Coord_t y1,Coord_t x2, Coord_t y2, Color_t color, Short_t bordersize, Short_t bordermode, Bool_t tops)
 Paint a 3D frame around a box.

void Print(Option_t *option)
*-*-*-*-*-*-*-*-*-*-*Dump this wbox with its attributes*-*-*-*-*-*-*-*-*-*
*-*                  ==================================

void SavePrimitive(ofstream &out, Option_t *)
 Save primitive as a C++ statement(s) on output stream out



Inline Functions


            Short_t GetBorderMode()
            Short_t GetBorderSize()
              Int_t GetDarkColor()
              Int_t GetLightColor()
               void SetBorderMode(Short_t bordermode)
               void SetBorderSize(Short_t bordersize)
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)


Author: Rene Brun 12/12/94
Last update: 2.21/07 05/03/99 11.25.23 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


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.