mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-11 15:29:28 -05:00
Remove dead, commented code.
This commit is contained in:
parent
872c998ff1
commit
2ebb41c0e6
@ -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() ) {
|
||||
|
Loading…
Reference in New Issue
Block a user