mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-15 16:52:38 +03:00
19 lines
338 B
C
19 lines
338 B
C
#pragma once
|
|
|
|
#include "widget.h"
|
|
#include "canvas.h"
|
|
|
|
typedef enum {
|
|
WidgetLayerStatusBar,
|
|
WidgetLayerMain,
|
|
WidgetLayerFullscreen,
|
|
WidgetLayerDialog
|
|
} WidgetLayer;
|
|
|
|
typedef struct Widget Widget;
|
|
|
|
typedef struct GuiApi GuiApi;
|
|
struct GuiApi {
|
|
void (*add_widget)(GuiApi* gui_api, Widget* widget, WidgetLayer layer);
|
|
};
|