Inheritance diagram for TGToolButton:
Public Member Functions | |
virtual | ~TGToolButton () |
TGToolButton (const TGWindow *p, const TGPicture *pic, Int_t id=-1) | |
Bool_t | IsDown () const |
void | SetState (EButtonState state, Bool_t emit=kTRUE) |
Bool_t | HandleButton (Event_t *event) |
Bool_t | HandleCrossing (Event_t *event) |
void | SetBackgroundColor (Pixel_t bgnd) |
Protected Member Functions | |
void | DoRedraw () |
Private Attributes | |
Pixel_t | fBgndColor |
Definition at line 162 of file RootShower.cxx.
virtual TGToolButton::~TGToolButton | ( | ) | [inline, virtual] |
Definition at line 171 of file RootShower.cxx.
Definition at line 172 of file RootShower.cxx.
References TGFrame::ChangeOptions(), fBgndColor, TGFrame::GetDefaultFrameBackground(), TGFrame::GetOptions(), and kRaisedFrame.
void TGToolButton::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGPictureButton.
Definition at line 186 of file RootShower.cxx.
References TGPictureButton::CreateDisabledPicture(), TGFrame::DoRedraw(), TGPicture::Draw(), fBgndColor, TGFrame::fHeight, TGObject::fId, TGButton::fNormGC, TGPictureButton::fPic, TGPictureButton::fPicD, TGButton::fState, TGButton::fTHeight, TGButton::fTWidth, TGFrame::fWidth, TGFrame::GetHeight(), TGFrame::GetShadowGC(), TGFrame::GetWidth(), gVirtualX, h, kButtonDisabled, kButtonDown, kButtonEngaged, TGFrame::SetBackgroundColor(), w, x, and y.
Referenced by HandleButton(), HandleCrossing(), and SetState().
Bool_t TGToolButton::IsDown | ( | ) | const [inline, virtual] |
Reimplemented from TGButton.
Definition at line 178 of file RootShower.cxx.
References TGFrame::fOptions, and kSunkenFrame.
Referenced by SetState().
void TGToolButton::SetState | ( | EButtonState | state, | |
Bool_t | emit = kTRUE | |||
) | [virtual] |
Reimplemented from TGButton.
Definition at line 257 of file RootShower.cxx.
References DoRedraw(), TGButton::EmitSignals(), TGFrame::fOptions, TGButton::fState, IsDown(), kButtonDisabled, kButtonDown, kButtonEngaged, kButtonUp, kRaisedFrame, and kSunkenFrame.
Referenced by HandleCrossing().
Reimplemented from TGButton.
Definition at line 216 of file RootShower.cxx.
References DoRedraw(), fBgndColor, Event_t::fType, TGFrame::GetDefaultFrameBackground(), TGButton::HandleButton(), and kButtonRelease.
Reimplemented from TGButton.
Definition at line 229 of file RootShower.cxx.
References DoRedraw(), fBgndColor, TGButton::fState, TGButton::fTip, Event_t::fType, TGFrame::GetDefaultFrameBackground(), TGToolTip::Hide(), kButtonDisabled, kButtonEngaged, kButtonUp, kEnterNotify, kFALSE, kLeaveNotify, kTRUE, TGToolTip::Reset(), and SetState().
void TGToolButton::SetBackgroundColor | ( | Pixel_t | bgnd | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 182 of file RootShower.cxx.
References fBgndColor, and TGFrame::SetBackgroundColor().
Pixel_t TGToolButton::fBgndColor [private] |
Definition at line 165 of file RootShower.cxx.
Referenced by DoRedraw(), HandleButton(), HandleCrossing(), SetBackgroundColor(), and TGToolButton().