![]() |
CMGDK r49-rc2
|
文本按钮控件 更多...
#include <TextButton.H>
公有成员 | |
TextButton () | |
TextButton (float, float, float, float, const WideString &) | |
virtual | ~TextButton () |
公有属性 | |
bool | DrawBackButton |
绘制按钮底板 | |
WideString | Caption |
按钮标题 | |
TextAlignment | Alignment |
文字对齐方式 | |
保护成员 | |
void | DefaultDraw (GUIObject *, Button::State) |
缺省绘制函数 | |
void | InitPrivate () |
文本按钮控件
文本按钮是提供一个带有按钮图形以及文字的控件
hgl::gui::TextButton::TextButton | ( | ) |
hgl::gui::TextButton::TextButton | ( | float | l, |
float | t, | ||
float | w, | ||
float | h, | ||
const WideString & | name | ||
) |
本类构造函数
l | 按钮左边坐标 |
t | 按钮上边坐标 |
w | 按钮宽度 |
h | 按钮高度 |
name | 按钮名称 |
virtual hgl::gui::TextButton::~TextButton | ( | ) | [inline, virtual] |
void hgl::gui::TextButton::DefaultDraw | ( | GUIObject * | go, |
Button::State | bs | ||
) | [protected] |
void hgl::gui::TextButton::InitPrivate | ( | ) | [protected] |
绘制按钮底板