Inheritance diagram for TGuiBldToolButton:
Public Member Functions | |
virtual | ~TGuiBldToolButton () |
TGuiBldToolButton (const TGWindow *p, const TGPicture *pic, Int_t id=-1) | |
Bool_t | IsDown () const |
void | SetState (EButtonState state, Bool_t emit=kTRUE) |
Bool_t | HandleCrossing (Event_t *event) |
void | SetBackgroundColor (Pixel_t bgnd) |
Protected Member Functions | |
void | DoRedraw () |
Private Attributes | |
Pixel_t | fBgndColor |
Definition at line 471 of file TRootGuiBuilder.cxx.
virtual TGuiBldToolButton::~TGuiBldToolButton | ( | ) | [inline, virtual] |
Definition at line 480 of file TRootGuiBuilder.cxx.
TGuiBldToolButton::TGuiBldToolButton | ( | const TGWindow * | p, | |
const TGPicture * | pic, | |||
Int_t | id = -1 | |||
) | [inline] |
Definition at line 481 of file TRootGuiBuilder.cxx.
References TGFrame::ChangeOptions(), fBgndColor, TRootGuiBuilder::GetBgnd(), TGFrame::GetOptions(), and kRaisedFrame.
void TGuiBldToolButton::DoRedraw | ( | ) | [protected, virtual] |
Reimplemented from TGPictureButton.
Definition at line 494 of file TRootGuiBuilder.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::GetBlackGC(), TGFrame::GetHeight(), TRootGuiBuilder::GetPopupHlght(), TGFrame::GetWidth(), gVirtualX, h, kButtonDisabled, kButtonDown, kButtonEngaged, TGFrame::SetBackgroundColor(), w, x, and y.
Referenced by HandleCrossing(), and SetState().
Bool_t TGuiBldToolButton::IsDown | ( | ) | const [inline, virtual] |
Reimplemented from TGButton.
Definition at line 487 of file TRootGuiBuilder.cxx.
References TGFrame::fOptions, and kSunkenFrame.
Referenced by SetState().
void TGuiBldToolButton::SetState | ( | EButtonState | state, | |
Bool_t | emit = kTRUE | |||
) | [virtual] |
Reimplemented from TGButton.
Definition at line 552 of file TRootGuiBuilder.cxx.
References DoRedraw(), TGButton::EmitSignals(), TGFrame::fOptions, TGButton::fState, IsDown(), kButtonDisabled, kButtonDown, kButtonEngaged, kButtonUp, kRaisedFrame, and kSunkenFrame.
Referenced by HandleCrossing(), and TRootGuiBuilder::TRootGuiBuilder().
Reimplemented from TGButton.
Definition at line 524 of file TRootGuiBuilder.cxx.
References DoRedraw(), fBgndColor, TGButton::fState, TGButton::fTip, Event_t::fType, TRootGuiBuilder::GetBgnd(), TRootGuiBuilder::GetPopupHlght(), TGToolTip::Hide(), kButtonDisabled, kButtonEngaged, kButtonUp, kEnterNotify, kFALSE, kLeaveNotify, kTRUE, TGToolTip::Reset(), and SetState().
void TGuiBldToolButton::SetBackgroundColor | ( | Pixel_t | bgnd | ) | [inline, virtual] |
Reimplemented from TGFrame.
Definition at line 490 of file TRootGuiBuilder.cxx.
References fBgndColor, and TGFrame::SetBackgroundColor().
Pixel_t TGuiBldToolButton::fBgndColor [private] |
Definition at line 474 of file TRootGuiBuilder.cxx.
Referenced by DoRedraw(), HandleCrossing(), SetBackgroundColor(), and TGuiBldToolButton().