|
#include <Dapfor/GUI/ColorBlend.h>
Public Member Functions | |
| CColorBlend () | |
| Default constructor. | |
| CColorBlend (const CColorBlend &colorBlend) | |
| Copy constructor. | |
| CColorBlend (COLORREF color, unsigned char opacity) | |
| Constructor. | |
| COLORREF | GetColor () const |
| Gets the color, used in alpha-blend operations. | |
| unsigned char | GetOpacity () const |
| Gets opacity level. 0-transparent, 255-opaque. | |
| void | SetColor (COLORREF color) |
| Sets a new color. | |
| void | SetOpacity (unsigned char opacity) |
| Sets a new opacity level. 0-transparent, 255-opaque. | |
| void | Serialize (CArchive &ar) |
| Serializes the object to/from the archive. | |
Static Public Member Functions | |
| static int | GetSerializeVertion () |
| Current serialization version. | |
| CColorBlend | ( | ) |
Default constructor.
Default color is white, Default level equals to 0 - transparent.
| CColorBlend | ( | const CColorBlend & | blendMode | ) |
| CColorBlend | ( | COLORREF | color, | |
| unsigned char | opacity | |||
| ) |
Constructor.
| [in] | color | Color value |
| [in] | opacity | Opacity level. 0-transparent, 255-opaque |
| COLORREF GetColor | ( | ) | const [inline] |
Gets the color, used in alpha-blend operations.
| unsigned char GetOpacity | ( | ) | const [inline] |
Gets opacity level. 0-transparent, 255-opaque.
| void SetColor | ( | COLORREF | color | ) | [inline] |
Sets a new color.
| [in] | color | Sets a new color |
| void SetOpacity | ( | unsigned char | opacity | ) | [inline] |
Sets a new opacity level. 0-transparent, 255-opaque.
| [in] | opacity | Sets a new opacity level |
| int GetSerializeVertion | ( | ) | [static] |
Current serialization version.
| void Serialize | ( | CArchive & | ar | ) |
Serializes the object to/from the archive.
| [in] | ar | Archive, where the object is serialized. |
| CArchiveException::badSchema |
| Copyright Dapfor 2007-2009 | Generated on Sat Jan 30 15:01:25 2010 for MFCGrid by 1.5.5 |