XSStepButton Class Reference

#include <XSStepButton.h>

Inheritance diagram for XSStepButton:

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

Public Member Functions

 XSStepButton (const TGWindow *p, Int_t id)
 ~XSStepButton ()
virtual void Associate (const TGWindow *w)
virtual Bool_t ProcessMessage (Long_t msg, Long_t param1, Long_t param2)
virtual TGDimension GetDefaultSize () const

Protected Attributes

const TGWindowfMsgWindow
Int_t buttonId
TGLayoutHintslHints
TGPictureButtonupButton
TGPictureButtondownButton
UInt_t width
UInt_t height

Detailed Description

Definition at line 18 of file XSStepButton.h.


Constructor & Destructor Documentation

XSStepButton::XSStepButton ( const TGWindow p,
Int_t  id 
)

Definition at line 11 of file XSStepButton.cxx.

References TGCompositeFrame::AddFrame(), TGWidget::Associate(), buttonId, downButton, TGFrame::fBorderWidth, TGObject::fClient, fMsgWindow, TGFrame::GetDefaultHeight(), GetDefaultSize(), TGFrame::GetDefaultWidth(), TGClient::GetPicture(), height, kLHintsLeft, kLHintsTop, lHints, TGCompositeFrame::MapSubwindows(), TGFrame::MapWindow(), NULL, TGFrame::Resize(), upButton, width, XSSTEPBUTTON_DOWN, and XSSTEPBUTTON_UP.

XSStepButton::~XSStepButton (  ) 

Definition at line 36 of file XSStepButton.cxx.

References downButton, lHints, and upButton.


Member Function Documentation

virtual void XSStepButton::Associate ( const TGWindow w  )  [inline, virtual]

Definition at line 37 of file XSStepButton.h.

References fMsgWindow, and w.

Referenced by XSReactionDlg::XSReactionDlg().

Bool_t XSStepButton::ProcessMessage ( Long_t  msg,
Long_t  param1,
Long_t  param2 
) [virtual]

Reimplemented from TGCompositeFrame.

Definition at line 45 of file XSStepButton.cxx.

References buttonId, fMsgWindow, GET_MSG(), GET_SUBMSG(), kC_COMMAND, kCM_BUTTON, kTRUE, MK_MSG(), and TGFrame::SendMessage().

virtual TGDimension XSStepButton::GetDefaultSize (  )  const [inline, virtual]

Reimplemented from TGCompositeFrame.

Definition at line 42 of file XSStepButton.h.

References height, and width.

Referenced by XSStepButton().


Member Data Documentation

const TGWindow* XSStepButton::fMsgWindow [protected]

Definition at line 21 of file XSStepButton.h.

Referenced by Associate(), ProcessMessage(), and XSStepButton().

Int_t XSStepButton::buttonId [protected]

Definition at line 23 of file XSStepButton.h.

Referenced by ProcessMessage(), and XSStepButton().

TGLayoutHints* XSStepButton::lHints [protected]

Definition at line 25 of file XSStepButton.h.

Referenced by XSStepButton(), and ~XSStepButton().

TGPictureButton* XSStepButton::upButton [protected]

Definition at line 27 of file XSStepButton.h.

Referenced by XSStepButton(), and ~XSStepButton().

TGPictureButton * XSStepButton::downButton [protected]

Definition at line 27 of file XSStepButton.h.

Referenced by XSStepButton(), and ~XSStepButton().

UInt_t XSStepButton::width [protected]

Definition at line 30 of file XSStepButton.h.

Referenced by GetDefaultSize(), and XSStepButton().

UInt_t XSStepButton::height [protected]

Definition at line 30 of file XSStepButton.h.

Referenced by GetDefaultSize(), and XSStepButton().


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