YSTest
PreAlpha_b380_20130211
The YSLib Test Project
|
默认调色板。 More...
#include <ystyle.h>
Public Types | |
typedef Drawing::Color | ItemType |
typedef vector< ItemType > | ColorListType |
Public Member Functions | |
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 Attributes | |
ColorListType | colors |
typedef vector<ItemType> YSLib::Components::Styles::Palette::ColorListType |
Palette::Palette | ( | ) |
无参数构造。
Definition at line 228 of file ystyle.cpp.
References platform::ColorSpace::Aqua.
|
inline |
|
inline |
pair<Drawing::Color, Drawing::Color> YSLib::Components::Styles::Palette::GetPair | ( | ColorListType::size_type | , |
ColorListType::size_type | |||
) | const |
取指定下标的颜色对。
|
inline |
|
private |