CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
FWBoxIconButton Class Reference

#include <Fireworks/Core/interface/FWBoxIconButton.h>

Inheritance diagram for FWBoxIconButton:

Public Member Functions

 FWBoxIconButton (const TGWindow *iParent, FWBoxIconBase *iBase, Int_t iID=-1, GContext_t norm=TGButton::GetDefaultGC()(), UInt_t option=0)
 
void setNormCG (GContext_t)
 
virtual ~FWBoxIconButton ()
 

Protected Member Functions

virtual void DoRedraw ()
 

Private Member Functions

 FWBoxIconButton (const FWBoxIconButton &)
 
const FWBoxIconButtonoperator= (const FWBoxIconButton &)
 

Private Attributes

FWBoxIconBasem_iconBase
 

Detailed Description

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 30 of file FWBoxIconButton.h.

Constructor & Destructor Documentation

FWBoxIconButton::FWBoxIconButton ( const TGWindow *  iParent,
FWBoxIconBase iBase,
Int_t  iID = -1,
GContext_t  norm = TGButton::GetDefaultGC() (),
UInt_t  option = 0 
)

Definition at line 31 of file FWBoxIconButton.cc.

References FWBoxIconBase::edgeLength(), and m_iconBase.

35  :
36 TGButton(iParent,iID,norm,option),
37 m_iconBase(iBase)
38 {
40 }
unsigned int edgeLength() const
Definition: FWBoxIconBase.h:38
FWBoxIconBase * m_iconBase
FWBoxIconButton::~FWBoxIconButton ( )
virtual

Definition at line 47 of file FWBoxIconButton.cc.

References m_iconBase.

48 {
49  delete m_iconBase;
50 }
FWBoxIconBase * m_iconBase
FWBoxIconButton::FWBoxIconButton ( const FWBoxIconButton )
private

Member Function Documentation

void FWBoxIconButton::DoRedraw ( )
protectedvirtual

Definition at line 68 of file FWBoxIconButton.cc.

References FWBoxIconBase::draw(), and m_iconBase.

69 {
70  m_iconBase->draw(fId,fNormGC,0,0);
71 }
void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const
FWBoxIconBase * m_iconBase
const FWBoxIconButton& FWBoxIconButton::operator= ( const FWBoxIconButton )
private
void FWBoxIconButton::setNormCG ( GContext_t  iContext)

Definition at line 73 of file FWBoxIconButton.cc.

Referenced by FWCollectionSummaryWidget::setBackgroundToWhite().

74 {
75  fNormGC = iContext;
76 }

Member Data Documentation

FWBoxIconBase* FWBoxIconButton::m_iconBase
private

Definition at line 54 of file FWBoxIconButton.h.

Referenced by DoRedraw(), FWBoxIconButton(), and ~FWBoxIconButton().