14 #include "TGPicture.h" 77 int xOffset = (iSize -
checkImage()->GetWidth()) /2;
78 int yOffset = (iSize -
checkImage()->GetHeight())/2;
79 checkImage()->Draw(iID,iContext,iX+xOffset,iY+yOffset);
87 static TString
path = Form(
"%s/src/Fireworks/Core/icons/",gSystem->Getenv(
"CMSSW_BASE"));
88 if ( gSystem->AccessPathName(path.Data()) ){
89 assert(gSystem->Getenv(
"CMSSW_RELEASE_BASE"));
90 path = Form(
"%s/src/Fireworks/Core/icons/",gSystem->Getenv(
"CMSSW_RELEASE_BASE"));
static const TString & coreIcondir()
virtual ~FWCheckBoxIcon()
FWCheckBoxIcon(unsigned int iEdgeLength)
static const TGPicture * checkImage()
void drawInsideBox(Drawable_t iID, GContext_t iContext, int iX, int iY, unsigned int iSize) const