mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-08 14:42:33 -04: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:
parent
5a0066963e
commit
dcaa02c1e1
18 changed files with 667 additions and 24 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue