TGuiBldToolButton Class Reference

Inheritance diagram for TGuiBldToolButton:

TGPictureButton TGButton TGButton TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame TGWidget TGFrame List of all members.

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

Detailed Description

Definition at line 471 of file TRootGuiBuilder.cxx.


Constructor & Destructor Documentation

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.


Member Function Documentation

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().

Bool_t TGuiBldToolButton::HandleCrossing ( Event_t event  )  [virtual]

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().


Member Data Documentation

Pixel_t TGuiBldToolButton::fBgndColor [private]

Definition at line 474 of file TRootGuiBuilder.cxx.

Referenced by DoRedraw(), HandleCrossing(), SetBackgroundColor(), and TGuiBldToolButton().


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