flipperzero-firmware/applications/gui/gui.h
2020-10-15 18:05:28 +03:00

20 lines
347 B
C

#pragma once
#include "widget.h"
#include "canvas.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;