1
0
forked from me/IronOS

Fixing import loop

This commit is contained in:
Ben V. Brown
2023-06-29 20:26:00 +10:00
parent 7535a64bc7
commit c31fb5725b
10 changed files with 62 additions and 42 deletions

15
source/UI/UI_Screens.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include "UI_Layouts.h"
typedef void (*render_prep_fn)();
typedef void (*tick_fn)();
typedef void (*button_handler_fn)();
typedef struct {
// on_enter
// on_exit
tick_fn tick;
render_prep_fn render_prepare;
screenLayout_t layout; // Render layout used
button_handler_fn handle_button;
} Screen_t;