#include <UiButton_Gradient.h>
继承自UiButton。
公有成员 | |
| GradientButtonColor | GetGradientColor () |
| virtual void | PaintWin (HDC hdc, RECT *prcWin, RECT *prcUpdate) |
| Draw the control on the destinate DC. | |
| void | SetGradientColor (GradientButtonColor &gradColor) |
| UiButton_Gradient (void) | |
| virtual | ~UiButton_Gradient (void) |
保护属性 | |
| GradientButtonColor | m_GradColor |
| UiButton_Gradient::UiButton_Gradient | ( | void | ) |
| virtual UiButton_Gradient::~UiButton_Gradient | ( | void | ) | [virtual] |
| GradientButtonColor UiButton_Gradient::GetGradientColor | ( | ) |
| virtual void UiButton_Gradient::PaintWin | ( | HDC | hdcDst, | |
| RECT * | prcWin, | |||
| RECT * | prcUpdate | |||
| ) | [virtual] |
Draw the control on the destinate DC.
Override this member function to define your own drawings of the control
| hdcDst | Destinate device contact | |
| prcWin | The Rect of the control(hdc 's left-top is the origin) | |
| prcUpdate | Rect of the hdc that need to be update(hdc 's left-top is the origin) |
重载UiButton。
| void UiButton_Gradient::SetGradientColor | ( | GradientButtonColor & | gradColor | ) |
GradientButtonColor UiButton_Gradient::m_GradColor [protected] |