flipperzero-firmware/applications/gui/gui.h

19 lines
327 B
C
Raw Normal View History

#pragma once
2020-10-15 08:32:48 +00:00
#include "widget.h"
2020-10-15 08:32:48 +00:00
typedef enum {
WidgetLayerStatusBar,
WidgetLayerMain,
WidgetLayerFullscreen,
WidgetLayerDialog
} WidgetLayer;
2020-10-15 08:32:48 +00:00
typedef struct Widget Widget;
typedef struct GUI GUI;
2020-10-15 08:32:48 +00:00
typedef struct {
void (*add_widget)(GUI* gui, Widget* widget, WidgetLayer layer);
GUI* gui;
} GuiApi;