Merge branch 'feature-draw-through' into develop

This commit is contained in:
cnjinhao
2015-02-02 19:17:44 +08:00
10 changed files with 101 additions and 10 deletions

View File

@@ -292,6 +292,13 @@ namespace nana
return false;
}
bool basic_window::is_draw_through() const
{
if (::nana::category::flags::root == this->other.category)
return static_cast<bool>(other.attribute.root->draw_through);
return false;
}
void basic_window::_m_init_pos_and_size(basic_window* parent, const rectangle& r)
{
pos_owner = pos_root = r;