| 218 | } |
| 219 | |
| 220 | void Widget::Invalidate() const { |
| 221 | if( !m_invalidated ) { |
| 222 | m_invalidated = true; |
| 223 | } |
| 224 | |
| 225 | if( !m_parent_notified ) { |
| 226 | auto parent = m_parent.lock(); |
| 227 | |
| 228 | if( parent ) { |
| 229 | m_parent_notified = true; |
| 230 | |
| 231 | parent->HandleChildInvalidate( static_cast<Widget::PtrConst>( shared_from_this() ) ); |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | std::unique_ptr<RenderQueue> Widget::InvalidateImpl() const { |
| 237 | return nullptr; |
no test coverage detected