void CBCGPButton::SetStdImage | ( | CBCGPMenuImages::IMAGES_IDS | id, |
CBCGPMenuImages::IMAGE_STATE | state = CBCGPMenuImages::ImageBlack , |
||
CBCGPMenuImages::IMAGES_IDS | idDisabled = (CBCGPMenuImages::IMAGES_IDS)-1 , |
||
CBCGPMenuImages::IMAGE_STATE | stateDisabled = (CBCGPMenuImages::IMAGE_STATE)-1 , |
||
CBCGPMenuImages::IMAGE_STATE | stateHighlighted = (CBCGPMenuImages::IMAGE_STATE)-1 , |
||
CBCGPMenuImages::IMAGE_STATE | statePressed = (CBCGPMenuImages::IMAGE_STATE)-1 |
||
) |
Set the button's image to be a standard image taken from CBCGPMenuImages
Call this member function to set a new button's image taken from CBCGPMenuImages class.
id | A new image ID defined by CBCGPMenuImages::IMAGES_IDS enumerator |
state | Image state |
idDisabled | A new image ID for disabled state defined by CBCGPMenuImages::IMAGES_IDS enumerator |
stateDisabled | Disabled image state |
stateHighlighted | Disabled image state |
statePressed | Pressed image state |