CMGDK r49-rc2
公有成员 | 保护成员 | 保护属性
hgl::gui::IconButton类参考

图片按钮 更多...

#include <IconButton.H>

继承图,类hgl::gui::IconButton
hgl::gui::TextButton hgl::gui::Button hgl::GUIObject hgl::EventObject hgl::VisualObject hgl::EnumObject hgl::Object hgl::_Object

所有成员的列表。

公有成员

 IconButton ()
 本类构造函数
 IconButton (float, float, float, float, const wchar_t *, const wchar_t *)
 本类构造函数
virtual ~IconButton ()
 本类析构函数

保护成员

void DefaultDraw (GUIObject *, Button::State)
 缺省绘制函数

保护属性

Texture2Dpic
 图片

详细描述

图片按钮

图标按钮就是在文本按钮的基础上,在文字标题前加上一个小图标(使用贴图类Texture2D实现)


构造及析构函数文档

hgl::gui::IconButton::IconButton ( )

本类构造函数

hgl::gui::IconButton::IconButton ( float  l,
float  t,
float  w,
float  h,
const wchar_t *  name,
const wchar_t *  picname 
)

本类构造函数

本类构造函数

参数:
l按钮左边界
t按钮上边界
w按钮宽度
h按钮高度
name按钮标题名称
picname按钮图片文件名
hgl::gui::IconButton::~IconButton ( ) [virtual]

本类析构函数


成员函数文档

void hgl::gui::IconButton::DefaultDraw ( GUIObject go,
Button::State  bs 
) [protected]

缺省绘制函数

重载hgl::gui::TextButton


成员数据文档

图片


该类的文档由以下文件生成:
 全部  名字空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义