mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 10:47:38 +00:00
External module api (#2290)
* added external module debug view * integrated module driver into i2c subsystem * implemented i2c app loader * added view mirror api * fixed build * added i2c to module api * implemented standalone app touch event * implemented focus management * reverted formating change * refactoring * refactoring * implemented events * fixed memory usage
This commit is contained in:
@@ -94,8 +94,14 @@ void Widget::set_parent(Widget* const widget) {
|
||||
visible(false);
|
||||
}
|
||||
|
||||
if (widget == nullptr)
|
||||
on_before_detach();
|
||||
|
||||
parent_ = widget;
|
||||
|
||||
if (widget != nullptr)
|
||||
on_after_attach();
|
||||
|
||||
set_dirty();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user