mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-14 12:42:19 -04:00
Add AISAppView.
This commit is contained in:
parent
fc16bc7867
commit
1f2b28b2b8
3 changed files with 22 additions and 1 deletions
|
@ -292,4 +292,15 @@ void AISRecentEntriesView::advance(const int32_t amount) {
|
|||
set_dirty();
|
||||
}
|
||||
|
||||
AISAppView::AISAppView() {
|
||||
add_children({ {
|
||||
&recent_entries_view,
|
||||
} });
|
||||
}
|
||||
|
||||
void AISAppView::set_parent_rect(const Rect new_parent_rect) {
|
||||
View::set_parent_rect(new_parent_rect);
|
||||
recent_entries_view.set_parent_rect({ 0, 0, new_parent_rect.width(), new_parent_rect.height() });
|
||||
}
|
||||
|
||||
} /* namespace ui */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue