MCPcopy Create free account
hub / github.com/TankOs/SFGUI / Invalidate

Method Invalidate

src/SFGUI/Widget.cpp:220–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220void 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
236std::unique_ptr<RenderQueue> Widget::InvalidateImpl() const {
237 return nullptr;

Callers 15

InvalidateImplMethod · 0.45
InvalidateImplMethod · 0.45
SetSourceOriginMethod · 0.45
SetDestinationOriginMethod · 0.45
SetSizeMethod · 0.45
AddMethod · 0.45
SetPositionMethod · 0.45
SetZOrderMethod · 0.45
ShowMethod · 0.45
SetLevelMethod · 0.45

Calls 1

HandleChildInvalidateMethod · 0.45

Tested by

no test coverage detected