MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / invalidate

Method invalidate

src/ui/widget.cpp:1078–1089  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1076}
1077
1078void Widget::invalidate()
1079{
1080 if (isVisible()) {
1081 m_updateRegion.clear();
1082 getDrawableRegion(m_updateRegion, kCutTopWindows);
1083
1084 mark_dirty_flag(this);
1085
1086 for (auto child : m_children)
1087 child->invalidate();
1088 }
1089}
1090
1091void Widget::invalidateRect(const gfx::Rect& rect)
1092{

Callers 5

reinitThemeForAllWidgetsFunction · 0.45
highlightItemMethod · 0.45
runMethod · 0.45
generateMessagesMethod · 0.45
handleWindowZOrderMethod · 0.45

Calls 2

mark_dirty_flagFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected