YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
样式映射。 更多...
#include <ystyle.h>
Public 类型 | |
using | MapType = map< string, HandlerTable > |
Public 成员函数 | |
StyleMap () | |
template<typename... _tParams> | |
StyleMap (_tParams &&...args) | |
DefGetter (const ynothrow, const_iterator, Current, current) template< typename..._tParams > void Add(_tParams &&...args) | |
void | Remove (const string &) |
PDefH (void, Paint, const Styles::Painter &painter, PaintEventArgs &&e) ImplExpr(PaintAsStyle(painter.GetKey() | |
std::move (e))) void PaintAsStyle(const Key & | |
PaintEventArgs &&void | Switch (const string &) |
Private 属性 | |
const_iterator | current |
额外继承的成员函数 | |
![]() | |
noncopyable (const noncopyable &)=delete | |
禁止复制构造。 更多... | |
noncopyable & | operator= (const noncopyable &)=delete |
禁止赋值复制。 更多... | |
noncopyable ()=default | |
protected 构造:默认实现。 更多... | |
~noncopyable ()=default | |
protected 析构:默认实现。 更多... | |
using YSLib::UI::Styles::StyleMap::MapType = map<string, HandlerTable> |
|
inline |
参考 YSLib::UI::args , 以及 yforward.
YSLib::UI::Styles::StyleMap::PDefH | ( | void | , |
Paint | , | ||
const Styles::Painter & | painter, | ||
PaintEventArgs && | e | ||
) |
void YSLib::UI::Styles::StyleMap::Remove | ( | const string & | name | ) |
YSLib::UI::Styles::StyleMap::std::move | ( | e | ) | const |
void YSLib::UI::Styles::StyleMap::Switch | ( | const string & | name | ) |
在文件 ystyle.cpp 第 337 行定义.
参考 current.
|
private |