Escher: Rect-based dirty tracking

Change-Id: I798dd04f4b36042429105e2ccdf7cd5df554bedf
This commit is contained in:
Romain Goyet
2016-06-20 15:03:59 +02:00
parent dbebe4aa8a
commit a0d7e2243f
9 changed files with 127 additions and 68 deletions

View File

@@ -12,12 +12,12 @@ TabViewCell::TabViewCell() :
void TabViewCell::setName(const char * name) {
m_name = name;
markAsNeedingRedraw();
markRectAsDirty(bounds());
}
void TabViewCell::setActive(bool active) {
m_active = active;
markAsNeedingRedraw();
markRectAsDirty(bounds());
}
void TabViewCell::drawRect(KDRect rect) const {