1
0
forked from me/IronOS
Files
IronOS/source/UI/UI.h
2023-06-29 20:26:00 +10:00

16 lines
366 B
C

#pragma once
#include "UI_Layouts.h"
#include <stdint.h>
typedef union {
int32_t i32;
void *ptr;
} screen_arg_t;
typedef struct {
screen_arg_t args[4];
} ScreenContext_t;
//
void ui_render_screen(screenLayout_t *screen, ScreenContext_t *context);
void ui_render_element(const ElementTypes_t element, const ElementSettings_t *settings, screen_arg_t *args);