![]() |
CMGDK r49-rc2
|
HTPPart图片显示板 更多...
#include <HTPPanel.H>
公有成员 | |
DefEvent (void, OnDraw,(GUIObject *, HTPPart *, const RectScope2i &)) | |
绘制事件 | |
HTPPanel () | |
HTPPanel (float, float, float, float, HTPPart *hp=NULL, bool=false) | |
~HTPPanel () | |
virtual void | Draw () |
对象绘制函数 | |
virtual void | Clear () |
virtual void | SetImage (HTPPart *, bool pi=false) |
公有属性 | |
ScrollBar | HorzScrollBar |
横向滚动块 | |
ScrollBar | VertScrollBar |
纵向滚动块 | |
PropertyObject< HTPPart > | Image |
图片虚拟访问指针 | |
保护成员 | |
void | InitPrivate () |
void | DefaultDraw (GUIObject *, HTPPart *, const RectScope2i &) |
HTPPart * | getImage () |
void | setImage (HTPPart *) |
void | OnHorzChange (GUIObject *, int) |
void | OnVertChange (GUIObject *, int) |
virtual bool | Proc_MouseMove (int, int, uint) |
virtual bool | Proc_MouseLeftDown (int, int, uint) |
virtual bool | Proc_MouseLeftUp (int, int, uint) |
保护属性 | |
HTPPart * | img |
bool | private_image |
RectScope2i | rect |
HTPPart图片显示板
HTPPartPanel是一个用于显示HTPPart图片的控件
hgl::gui::HTPPanel::HTPPanel | ( | ) |
hgl::gui::HTPPanel::HTPPanel | ( | float | l, |
float | t, | ||
float | w, | ||
float | h, | ||
HTPPart * | hp = NULL , |
||
bool | pi = false |
||
) |
hgl::gui::HTPPanel::~HTPPanel | ( | ) | [inline] |
void hgl::gui::HTPPanel::Clear | ( | ) | [virtual] |
void hgl::gui::HTPPanel::DefaultDraw | ( | GUIObject * | go, |
HTPPart * | hp, | ||
const RectScope2i & | rs | ||
) | [protected] |
hgl::gui::HTPPanel::DefEvent | ( | void | , |
OnDraw | , | ||
(GUIObject *, HTPPart *, const RectScope2i &) | |||
) |
绘制事件
void hgl::gui::HTPPanel::Draw | ( | ) | [virtual] |
HTPPart* hgl::gui::HTPPanel::getImage | ( | ) | [inline, protected] |
void hgl::gui::HTPPanel::InitPrivate | ( | ) | [protected] |
void hgl::gui::HTPPanel::setImage | ( | HTPPart * | hp | ) | [protected] |
void hgl::gui::HTPPanel::SetImage | ( | HTPPart * | hp, |
bool | pi = false |
||
) | [virtual] |
图片虚拟访问指针
HTPPart* hgl::gui::HTPPanel::img [protected] |
bool hgl::gui::HTPPanel::private_image [protected] |
RectScope2i hgl::gui::HTPPanel::rect [protected] |