CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

FWColorBoxIcon Class Reference

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

Inheritance diagram for FWColorBoxIcon:
FWBoxIconBase

List of all members.

Public Member Functions

 FWColorBoxIcon (unsigned int iEdgeLength)
void setColor (GContext_t iColorContext)

Private Member Functions

void drawInsideBox (Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const
 FWColorBoxIcon (const FWColorBoxIcon &)
const FWColorBoxIconoperator= (const FWColorBoxIcon &)

Private Attributes

GContext_t m_colorContext

Detailed Description

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

Usage: <usage>

Definition at line 29 of file FWColorBoxIcon.h.


Constructor & Destructor Documentation

FWColorBoxIcon::FWColorBoxIcon ( unsigned int  iEdgeLength)

Definition at line 32 of file FWColorBoxIcon.cc.

                                                       :
FWBoxIconBase(iEdgeLength),
m_colorContext(0)
{
}
FWColorBoxIcon::FWColorBoxIcon ( const FWColorBoxIcon ) [private]

Member Function Documentation

void FWColorBoxIcon::drawInsideBox ( Drawable_t  iID,
GContext_t  iContext,
int  iX,
int  iY,
unsigned int  iSize 
) const [private, virtual]

Implements FWBoxIconBase.

Definition at line 67 of file FWColorBoxIcon.cc.

References m_colorContext.

{
   gVirtualX->FillRectangle(iID, m_colorContext, iX+1, iY+1, iSize-2, iSize-2);
}
const FWColorBoxIcon& FWColorBoxIcon::operator= ( const FWColorBoxIcon ) [private]
void FWColorBoxIcon::setColor ( GContext_t  iColorContext) [inline]

Member Data Documentation

GContext_t FWColorBoxIcon::m_colorContext [private]

Definition at line 53 of file FWColorBoxIcon.h.

Referenced by drawInsideBox(), and setColor().