#include <TGScrollBar.h>
Inheritance diagram for TGScrollBarElement:

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 TGPicture * | fPic |
| const TGPicture * | fPicN |
| const TGPicture * | fPicD |
| const TGPicture * | fPic |
| const TGPicture * | fPicN |
| const TGPicture * | fPicD |
Private Member Functions | |
| TGScrollBarElement (const TGScrollBarElement &) | |
| TGScrollBarElement & | operator= (const TGScrollBarElement &) |
| TGScrollBarElement (const TGScrollBarElement &) | |
| TGScrollBarElement & | operator= (const TGScrollBarElement &) |
Definition at line 50 of file TGScrollBar.h.
| TGScrollBarElement::TGScrollBarElement | ( | const TGScrollBarElement & | ) | [private] |
| 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] |
| 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.
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 Bool_t TGScrollBarElement::IsEnabled | ( | ) | const [inline, virtual] |
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] |
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.
1.5.1