YSTest  PreAlpha_b400_20130424
The YSLib Test Project
 全部 类 命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义 组 页
YSLib::UI::WidgetController类 参考

部件控制器。 更多...

#include <ywgtevt.h>

类 YSLib::UI::WidgetController 继承关系图:
YSLib::UI::WidgetController 的协作图:

Public 成员函数

 WidgetController (bool=false)
 构造:使用指定可用性。
 
virtual EventMapping::ItemType & GetItem (const VisualEvent &)
 取事件项。
 
virtual WidgetController * Clone () const override
 
- Public 成员函数 继承自 YSLib::UI::AController
 AController (bool b=true)
 构造:使用指定可用性。
 
virtual ~AController ()
 析构:空实现。
 
bool IsEnabled () const ynothrow
 
virtual EventMapping::ItemType & GetItemRef (const VisualEvent &id, EventMapping::MappedType(&)())
 取事件项,若不存在则用指定函数指针添加。
 
void SetEnabled (bool _tempArgName)
 

Public 属性

GEventWrapper< GEvent< void(HPaintEvent::EventArgsType)>
, UIEventArgs && > 
Paint
 

详细描述

部件控制器。

自从
build 236

在文件 ywgtevt.h 第 424 行定义.

构造及析构函数说明

YSLib::UI::WidgetController::WidgetController ( bool  = false)
explicit

构造:使用指定可用性。

成员函数说明

virtual WidgetController* YSLib::UI::WidgetController::Clone ( ) const
inlineoverridevirtual

实现了 YSLib::UI::AController.

在文件 ywgtevt.h 第 439 行定义.

EventMapping::ItemType & WidgetController::GetItem ( const VisualEvent &  )
virtual

取事件项。

自从
build 293

实现了 YSLib::UI::AController.

在文件 ywgtevt.cpp 第 70 行定义.

参考 YSLib::UI::Paint , 以及 Paint.

类成员变量说明

GEventWrapper<GEvent<void( HPaintEvent ::EventArgsType)>, UIEventArgs&&> YSLib::UI::WidgetController::Paint
自从
build 331

在文件 ywgtevt.h 第 428 行定义.

参考自 GetItem().


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