mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-11-30 13:35:31 +00:00
Updated Create a Simple App (markdown)
parent
00734dff52
commit
1e6c312177
@ -71,12 +71,12 @@ For triggering your new app, you need to add an entry on the main menu. This men
|
|||||||
...
|
...
|
||||||
|
|
||||||
// Adding NewApp to the Transmitters Menu
|
// Adding NewApp to the Transmitters Menu
|
||||||
TransmittersMenuView::TransmittersMenuView(NavigationView& nav) {
|
const NavigationView::AppList NavigationView::appList = {
|
||||||
add_items({
|
add_items({
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
||||||
{ "NewApp", ui::Color::red(), &bitmap_icon_remote, [&nav](){ nav.push<NewAppView>(); } },
|
{"newapp", "NewApp", TX, Color::red(), &bitmap_icon_remote, new ViewFactory<NewAppView>()},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user