UiGradient类参考

渐变控件 更多...

#include <UiGradient.h>

继承自UiWin

所有成员的列表。

公有成员

int GetGradientType ()
void PaintWin (HDC hdcDst, RECT *prcWin, RECT *prcUpdate)
 Draw the control on the destinate DC.
void SetGradientType (int nType)
 设置渐变类型
 UiGradient (void)
 ~UiGradient (void)

保护属性

int m_nGradientType


详细描述

渐变控件

构造及析构函数文档

UiGradient::UiGradient ( void   ) 

UiGradient::~UiGradient ( void   ) 


成员函数文档

int UiGradient::GetGradientType (  ) 

void UiGradient::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)

重载UiWin

void UiGradient::SetGradientType ( int  nType  ) 

设置渐变类型


成员数据文档

int UiGradient::m_nGradientType [protected]


该类的文档由以下文件生成:

Generated at Fri Feb 20 15:17:30 2009 for Meizu M8 MZFC Documentation by 魅族手机