void CBCGPButton::SetImage | ( | const CBCGPSVGImage & | svg, |
CSize | sizeImage = CSize(0, 0) , |
||
const CBCGPSVGImage & | svgHot = CBCGPSVGImage() , |
||
const CBCGPSVGImage & | svgDisabled = CBCGPSVGImage() , |
||
const CBCGPSVGImage & | svgPressed = CBCGPSVGImage() |
||
) |
Specifies an SVG icon to be displayed on the button
Call this member function to set a new button's image (SVG icon).
svg | A reference to CBCGPSVGImage object for non-selected image |
sizeImage | The icon size, in pixels; if this size if (0, 0), the SVG view size will be used. |
svgHot | A reference to CBCGPSVGImage object for selected image |
svgDisabled | A reference to CBCGPSVGImage object for disabled image. |
svgPressed | A reference to CBCGPSVGImage object for pressed image. |