mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-16 01:28:00 +00:00
18 lines
327 B
C
18 lines
327 B
C
#pragma once
|
|
|
|
#include "widget.h"
|
|
|
|
typedef enum {
|
|
WidgetLayerStatusBar,
|
|
WidgetLayerMain,
|
|
WidgetLayerFullscreen,
|
|
WidgetLayerDialog
|
|
} WidgetLayer;
|
|
|
|
typedef struct Widget Widget;
|
|
typedef struct GUI GUI;
|
|
|
|
typedef struct {
|
|
void (*add_widget)(GUI* gui, Widget* widget, WidgetLayer layer);
|
|
GUI* gui;
|
|
} GuiApi;
|