Added named colors from 4.3 Extended color keywords

::nana::colors::<named colors>
This commit is contained in:
cnjinhao
2014-12-29 06:20:18 +08:00
parent ecbf71b7e2
commit 052d34a746
9 changed files with 175 additions and 39 deletions

View File

@@ -20,13 +20,16 @@ namespace nana
}
//class widget
//@brief:The definition of class widget
widget::~widget(){}
nana::string widget::caption() const
{
return this->_m_caption();
}
void widget::caption(std::string utf8)
{
_m_caption(std::wstring(::nana::charset(utf8, ::nana::unicode::utf8)));
}
void widget::caption(nana::string str)
{
_m_caption(std::move(str));