32 lines
552 B
C++

#pragma once
#include "SettingsView.h"
#include "TermView.h"
#include "tt_app.h"
#include "tt_hal_radio.h"
#include <lvgl.h>
class RadioSet {
enum class View {
Terminal,
Settings
};
lv_obj_t* mainView = nullptr;
lv_obj_t* uiDropDownMenu = nullptr;
lv_obj_t* progressBar = nullptr;
lv_obj_t* progressText = nullptr;
TermView* termView = nullptr;
SettingsView* settingsView = nullptr;
public:
~RadioSet();
void onShow(AppHandle context, lv_obj_t* parent);
void showView(View view);
};