From 2ebb41c0e62c36b18de175e9d2e29339edd871fe Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Fri, 14 Aug 2015 21:35:48 -0700 Subject: [PATCH] Remove dead, commented code. --- firmware/application/main.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/firmware/application/main.cpp b/firmware/application/main.cpp index 20b6009b..54663811 100755 --- a/firmware/application/main.cpp +++ b/firmware/application/main.cpp @@ -220,26 +220,6 @@ private: }; */ } -/* - void paint_widget(ui::Widget* const w) { - if( w->visible() ) { - if( w->dirty() ) { - w->paint(painter); - // Force-paint all children. - for(const auto child : w->children()) { - child->set_dirty(); - paint_widget(child); - } - w->set_clean(); - } else { - // Selectively paint all children. - for(const auto child : w->children()) { - paint_widget(child); - } - } - } - } -*/ static ui::Widget* touch_widget(ui::Widget* const w, ui::TouchEvent event) { if( !w->hidden() ) {