TGScrollBarElement Class Reference

#include <TGScrollBar.h>

Inheritance diagram for TGScrollBarElement:

TGFrame TGFrame TQObject TGWindow TQObject TGWindow TQObject TGWindow TQObject TGWindow List of all members.

Public Member Functions

 TGScrollBarElement (const TGWindow *p=0, const TGPicture *pic=0, UInt_t w=1, UInt_t h=1, UInt_t options=kRaisedFrame|kDoubleBorder, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGScrollBarElement ()
virtual void SetState (Int_t state)
virtual void DrawBorder ()
virtual void SetEnabled (Bool_t on=kTRUE)
virtual Bool_t IsEnabled () const
 TGScrollBarElement (const TGWindow *p=0, const TGPicture *pic=0, UInt_t w=1, UInt_t h=1, UInt_t options=kRaisedFrame|kDoubleBorder, Pixel_t back=GetDefaultFrameBackground())
virtual ~TGScrollBarElement ()
virtual void SetState (Int_t state)
virtual void DrawBorder ()
virtual void SetEnabled (Bool_t on=kTRUE)
virtual Bool_t IsEnabled () const

Protected Attributes

Int_t fState
const TGPicturefPic
const TGPicturefPicN
const TGPicturefPicD
const TGPicturefPic
const TGPicturefPicN
const TGPicturefPicD

Private Member Functions

 TGScrollBarElement (const TGScrollBarElement &)
TGScrollBarElementoperator= (const TGScrollBarElement &)
 TGScrollBarElement (const TGScrollBarElement &)
TGScrollBarElementoperator= (const TGScrollBarElement &)

Detailed Description

Definition at line 50 of file TGScrollBar.h.


Constructor & Destructor Documentation

TGScrollBarElement::TGScrollBarElement ( const TGScrollBarElement  )  [private]

TGScrollBarElement::TGScrollBarElement ( const TGWindow p = 0,
const TGPicture pic = 0,
UInt_t  w = 1,
UInt_t  h = 1,
UInt_t  options = kRaisedFrame|kDoubleBorder,
Pixel_t  back = GetDefaultFrameBackground() 
)

Definition at line 85 of file TGScrollBar.cxx.

References fPic, fPicD, fPicN, fState, and kButtonUp.

TGScrollBarElement::~TGScrollBarElement (  )  [virtual]

Definition at line 97 of file TGScrollBar.cxx.

References TGObject::fClient, fPicD, and TGClient::FreePicture().

TGScrollBarElement::TGScrollBarElement ( const TGScrollBarElement  )  [private]

TGScrollBarElement::TGScrollBarElement ( const TGWindow p = 0,
const TGPicture pic = 0,
UInt_t  w = 1,
UInt_t  h = 1,
UInt_t  options = kRaisedFrame|kDoubleBorder,
Pixel_t  back = GetDefaultFrameBackground() 
)

virtual TGScrollBarElement::~TGScrollBarElement (  )  [virtual]


Member Function Documentation

TGScrollBarElement& TGScrollBarElement::operator= ( const TGScrollBarElement  )  [private]

void TGScrollBarElement::SetState ( Int_t  state  )  [virtual]

Definition at line 107 of file TGScrollBar.cxx.

References TGObject::fClient, TGFrame::fOptions, fState, kButtonDisabled, kButtonDown, kButtonUp, kRaisedFrame, kSunkenFrame, and TGClient::NeedRedraw().

Referenced by TGVScrollBar::HandleButton(), TGComboBox::HandleButton(), TGHScrollBar::HandleButton(), TGComboBox::ProcessMessage(), and SetEnabled().

void TGScrollBarElement::DrawBorder (  )  [virtual]

Reimplemented from TGFrame.

Definition at line 168 of file TGScrollBar.cxx.

References TGPicture::Draw(), TGFrame::fHeight, TGObject::fId, TGFrame::fOptions, fPic, TGFrame::fWidth, TGFrame::GetBckgndGC(), TGFrame::GetBlackGC(), TGPicture::GetHeight(), TGFrame::GetHilightGC(), TGFrame::GetShadowGC(), TGFrame::GetWhiteGC(), TGPicture::GetWidth(), gVirtualX, kButtonDisabled, kRaisedFrame, kSunkenFrame, x, and y.

void TGScrollBarElement::SetEnabled ( Bool_t  on = kTRUE  )  [virtual]

Definition at line 129 of file TGScrollBar.cxx.

References TImage::Create(), TString::Data(), TGObject::fClient, TImage::FillRectangle(), fPic, fPicD, fPicN, fState, gEnv, TGPicture::GetHeight(), TGPicture::GetMask(), TGPicture::GetName(), TGPicturePool::GetPicture(), TGPicture::GetPicture(), TGClient::GetPicturePool(), TImage::GetPixmap(), TEnv::GetValue(), TGPicture::GetWidth(), kButtonDisabled, kButtonUp, mask, TImage::Merge(), name, TGClient::NeedRedraw(), and SetState().

Referenced by TGComboBox::SetEnabled().

virtual Bool_t TGScrollBarElement::IsEnabled (  )  const [inline, virtual]

Definition at line 72 of file TGScrollBar.h.

References fState, and kButtonDisabled.

Referenced by TGVScrollBar::HandleButton(), TGComboBox::HandleButton(), TGHScrollBar::HandleButton(), and TGComboBox::IsEnabled().

TGScrollBarElement& TGScrollBarElement::operator= ( const TGScrollBarElement  )  [private]

virtual void TGScrollBarElement::SetState ( Int_t  state  )  [virtual]

virtual void TGScrollBarElement::DrawBorder (  )  [virtual]

Reimplemented from TGFrame.

virtual void TGScrollBarElement::SetEnabled ( Bool_t  on = kTRUE  )  [virtual]

virtual Bool_t TGScrollBarElement::IsEnabled (  )  const [inline, virtual]

Definition at line 72 of file TGScrollBar.h.

References fState, and kButtonDisabled.


Member Data Documentation

Int_t TGScrollBarElement::fState [protected]

Definition at line 57 of file TGScrollBar.h.

Referenced by IsEnabled(), SetEnabled(), SetState(), and TGScrollBarElement().

const TGPicture* TGScrollBarElement::fPic [protected]

Definition at line 58 of file TGScrollBar.h.

Referenced by DrawBorder(), SetEnabled(), and TGScrollBarElement().

const TGPicture* TGScrollBarElement::fPicN [protected]

Definition at line 59 of file TGScrollBar.h.

Referenced by SetEnabled(), and TGScrollBarElement().

const TGPicture* TGScrollBarElement::fPicD [protected]

Definition at line 60 of file TGScrollBar.h.

Referenced by SetEnabled(), TGScrollBarElement(), and ~TGScrollBarElement().

const TGPicture* TGScrollBarElement::fPic [protected]

Definition at line 58 of file TGScrollBar.h.

const TGPicture* TGScrollBarElement::fPicN [protected]

Definition at line 59 of file TGScrollBar.h.

const TGPicture* TGScrollBarElement::fPicD [protected]

Definition at line 60 of file TGScrollBar.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:40:51 2011 for ROOT_528-00b_version by  doxygen 1.5.1