1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-13 05:19:50 +04:00
Files
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;