Push more widget painting code into ui::Painter

Hide knowledge of damage tracking strategy.
This commit is contained in:
Jared Boone 2015-08-14 21:36:51 -07:00
parent 2ebb41c0e6
commit b1a4418f06
3 changed files with 12 additions and 6 deletions

View file

@ -266,10 +266,7 @@ private:
}
void handle_lcd_frame_sync() {
if( ui::is_dirty() ) {
painter.paint_widget(top_widget);
ui::dirty_clear();
}
painter.paint_widget_tree(top_widget);
}
void handle_sd_card_detect() {