Public Types | |
enum | Mode { Center, Stretch, Scale } |
Transformation mode. More... | |
Public Member Functions | |
CBackgroundImage () | |
constructor | |
~CBackgroundImage () | |
destructor | |
Set methods | |
void | SetBitmap (CBitmap *image) |
Sets a new bitmap. | |
void | SetOpacity (BYTE opacity) |
Sets opacity value. | |
void | SetMode (Mode mode) |
Sets transformation mode. | |
Get methods | |
CBitmap * | GetBitmap () const |
Gets the bitmap. | |
BYTE | GetOpacity () const |
Gets opacity level. | |
Mode | GetMode () const |
Gets transformation mode. |
enum Mode |
void SetBitmap | ( | CBitmap * | image | ) |
Sets a new bitmap.
[in] | image | A new bitmap |
void SetOpacity | ( | BYTE | opacity | ) |
Sets opacity value.
[in] | opacity | A new opacity level. 0..255; 0-opaque, 255-transparent. |
void SetMode | ( | Mode | mode | ) |
Sets transformation mode.
[in] | mode | A new transformation mode |
CBitmap * GetBitmap | ( | ) | const |
Gets the bitmap.
BYTE GetOpacity | ( | ) | const |
Gets opacity level.
CBackgroundImage::Mode GetMode | ( | ) | const |
Gets transformation mode.
Copyright Dapfor 2007-2009 | Generated on Wed Jul 7 03:24:43 2010 for MFCGrid by 1.5.5 |