YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
默认调色板。 更多...
#include <ystyle.h>
Public 类型 | |
typedef Drawing::Color | ItemType |
typedef vector< ItemType > | ColorListType |
Public 成员函数 | |
Palette () | |
无参数构造。 | |
Drawing::Color & | operator[] (size_t s) |
取颜色引用。 | |
const ColorListType & | GetList () const ynothrow |
ColorListType & | GetList () ynothrow |
pair< Drawing::Color, Drawing::Color > | GetPair (ColorListType::size_type, ColorListType::size_type) const |
取指定下标的颜色对。 | |
Private 属性 | |
ColorListType | colors |
typedef vector<ItemType> YSLib::UI::Styles::Palette::ColorListType |
Palette::Palette | ( | ) |
|
inline |
|
inline |
pair<Drawing::Color, Drawing::Color> YSLib::UI::Styles::Palette::GetPair | ( | ColorListType::size_type | , |
ColorListType::size_type | |||
) | const |
取指定下标的颜色对。
|
inline |
|
private |