FL-819 new first start screen, add multiline text (#318)

* GUI Canvas: get current font height routine
* Dolphin: new start screen. GUI: new multiline element.
* Dolphin: up state version to reset it for everyone
* Dolphin: take maximum of idle screen height
* Dolphin: frames on first start screen.
This commit is contained in:
あく
2021-02-03 12:52:54 +03:00
committed by GitHub
parent 7481cfd6eb
commit cb4fb8e4ae
27 changed files with 109 additions and 22 deletions

View File

@@ -5,7 +5,12 @@ bool dolphin_view_first_start_input(InputEvent* event, void* context) {
furi_assert(context);
Dolphin* dolphin = context;
if(event->state) {
if(event->input == InputRight) {
if(event->input == InputLeft) {
with_view_model(
dolphin->idle_view_first_start, (DolphinViewFirstStartModel * model) {
if(model->page > 0) model->page--;
});
} else if(event->input == InputRight) {
uint32_t page;
with_view_model(
dolphin->idle_view_first_start,