2020-12-10 14:25:20 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "bt.h"
|
|
|
|
|
|
|
|
#include <cli/cli.h>
|
2020-12-14 10:50:32 +00:00
|
|
|
|
2020-12-10 14:25:20 +00:00
|
|
|
#include <flipper.h>
|
|
|
|
#include <flipper_v2.h>
|
2020-12-14 10:50:32 +00:00
|
|
|
|
2020-12-10 14:25:20 +00:00
|
|
|
#include <gui/gui.h>
|
|
|
|
#include <gui/widget.h>
|
|
|
|
|
2020-12-14 10:50:32 +00:00
|
|
|
#include <menu/menu.h>
|
|
|
|
#include <menu/menu_item.h>
|
|
|
|
|
2020-12-10 14:25:20 +00:00
|
|
|
typedef struct {
|
|
|
|
Cli* cli;
|
2020-12-14 10:50:32 +00:00
|
|
|
// Status bar
|
2020-12-10 14:25:20 +00:00
|
|
|
Icon* statusbar_icon;
|
|
|
|
Widget* statusbar_widget;
|
2020-12-14 10:50:32 +00:00
|
|
|
// Menu
|
|
|
|
Icon* menu_icon;
|
|
|
|
MenuItem* menu_item;
|
2020-12-10 14:25:20 +00:00
|
|
|
} Bt;
|
|
|
|
|
|
|
|
Bt* bt_alloc();
|
|
|
|
|
2020-12-14 10:50:32 +00:00
|
|
|
void bt_draw_statusbar_callback(Canvas* canvas, void* context);
|