fix color issues

This commit is contained in:
Jinhao
2015-09-14 01:48:30 +08:00
parent edd7de4e8b
commit e97d2cb20f
7 changed files with 49 additions and 4 deletions

View File

@@ -302,6 +302,16 @@ namespace detail
#endif
}
unsigned drawable_impl_type::get_color() const
{
return color_;
}
unsigned drawable_impl_type::get_text_color() const
{
return text_color_;
}
void drawable_impl_type::set_color(const ::nana::color& clr)
{
color_ = (clr.px_color().value & 0xFFFFFF);