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

@@ -21,7 +21,7 @@ void TabView::addTabNamed(const char * name) {
m_cells[tabIndex].setName(name);
m_numberOfTabs++;
//setSubview(&m_cells[tabIndex], tabIndex);
markAsNeedingRedraw();
markRectAsDirty(bounds());
}
void TabView::setActiveIndex(int index) {