15 #include "TGPicture.h"
78 int xOffset = (iSize -
checkImage()->GetWidth()) /2;
79 int yOffset = (iSize -
checkImage()->GetHeight())/2;
80 checkImage()->Draw(iID,iContext,iX+xOffset,iY+yOffset);
88 static TString
path = Form(
"%s/src/Fireworks/Core/icons/",gSystem->Getenv(
"CMSSW_BASE"));
89 if ( gSystem->AccessPathName(path.Data()) ){
90 assert(gSystem->Getenv(
"CMSSW_RELEASE_BASE"));
91 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