CMS 3D CMS Logo

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)
 
 ~FWBoxIconButton () override
 

Protected Member Functions

void DoRedraw () override
 

Private Member Functions

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

Private Attributes

FWBoxIconBasem_iconBase
 

Detailed Description

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

Usage: <usage>

Definition at line 29 of file FWBoxIconButton.h.

Constructor & Destructor Documentation

◆ FWBoxIconButton() [1/2]

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

Definition at line 30 of file FWBoxIconButton.cc.

32  : TGButton(iParent, iID, norm, option), m_iconBase(iBase) {
34 }

References FWBoxIconBase::edgeLength(), and m_iconBase.

◆ ~FWBoxIconButton()

FWBoxIconButton::~FWBoxIconButton ( )
override

Definition at line 41 of file FWBoxIconButton.cc.

41 { delete m_iconBase; }

References m_iconBase.

◆ FWBoxIconButton() [2/2]

FWBoxIconButton::FWBoxIconButton ( const FWBoxIconButton )
privatedelete

Member Function Documentation

◆ DoRedraw()

void FWBoxIconButton::DoRedraw ( )
overrideprotected

Definition at line 58 of file FWBoxIconButton.cc.

58 { m_iconBase->draw(fId, fNormGC, 0, 0); }

References FWBoxIconBase::draw(), and m_iconBase.

◆ operator=()

const FWBoxIconButton& FWBoxIconButton::operator= ( const FWBoxIconButton )
privatedelete

◆ setNormCG()

void FWBoxIconButton::setNormCG ( GContext_t  iContext)

Definition at line 60 of file FWBoxIconButton.cc.

60 { fNormGC = iContext; }

Referenced by FWCollectionSummaryWidget::setBackgroundToWhite().

Member Data Documentation

◆ m_iconBase

FWBoxIconBase* FWBoxIconButton::m_iconBase
private

Definition at line 54 of file FWBoxIconButton.h.

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

fileinputsource_cfi.option
option
Definition: fileinputsource_cfi.py:87
FWBoxIconBase::draw
void draw(Drawable_t iID, GContext_t iContext, int iX, int iY) const
Definition: FWBoxIconBase.cc:58
FWBoxIconButton::m_iconBase
FWBoxIconBase * m_iconBase
Definition: FWBoxIconButton.h:54
FWBoxIconBase::edgeLength
unsigned int edgeLength() const
Definition: FWBoxIconBase.h:36