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

@@ -675,7 +675,7 @@ namespace detail
{
//Thread-Safe Required!
std::lock_guard<decltype(mutex_)> lock(mutex_);
if (impl_->wd_register.available(wd))
if (impl_->wd_register.available(wd) && !wd->is_draw_through())
{
//Copy the root buffer that wd specified into DeviceContext
#if defined(NANA_LINUX)
@@ -739,7 +739,7 @@ namespace detail
if (false == impl_->wd_register.available(wd))
return false;
if(wd->visible)
if(wd->visible && (!wd->is_draw_through()))
{
if (wd->visible_parents())
{