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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user