Standalone imp (#2791)

* Moved ui elements to common folder in standalone, and add screen parameters to the api v4

* pass it as a pointer, so if standalone app supports it can change
This commit is contained in:
Totoo 2025-09-16 20:29:05 +02:00 committed by GitHub
parent d80f41e9d7
commit 9afd3a9dca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
45 changed files with 39 additions and 14 deletions

View file

@ -233,6 +233,9 @@ standalone_application_api_t api = {
.draw_pixels = &ext_draw_pixels,
.draw_pixel = &ext_draw_pixel,
.exit_app = &exit_app,
// version 4
.screen_height = &screen_height,
.screen_width = &screen_width,
};
StandaloneView::StandaloneView(NavigationView& nav, uint8_t* app_image)