mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-11 16:43:11 -04:00
Remove dead, commented code.
This commit is contained in:
parent
872c998ff1
commit
2ebb41c0e6
1 changed files with 0 additions and 20 deletions
|
@ -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) {
|
static ui::Widget* touch_widget(ui::Widget* const w, ui::TouchEvent event) {
|
||||||
if( !w->hidden() ) {
|
if( !w->hidden() ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue