mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-03-01 06:27:21 +00: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) {
|
static ui::Widget* touch_widget(ui::Widget* const w, ui::TouchEvent event) {
|
||||||
if( !w->hidden() ) {
|
if( !w->hidden() ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user