2026-06-19 17:51:51 -07:00
|
|
|
#ifndef MAINPANEL_H
|
|
|
|
|
#define MAINPANEL_H
|
|
|
|
|
|
|
|
|
|
#ifdef WITH_GUI
|
|
|
|
|
|
|
|
|
|
#include <wx/wx.h>
|
|
|
|
|
#include "DevicePanel.hpp"
|
2026-07-06 04:05:57 -07:00
|
|
|
#include "../event.hpp"
|
2026-06-19 17:51:51 -07:00
|
|
|
|
|
|
|
|
class MainPanel;
|
|
|
|
|
class MainPanel : public DevicePanel
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit MainPanel(MainFrame* frame, wxWindow* parent);
|
|
|
|
|
void SetDeviceState(const DeviceState& state) override;
|
|
|
|
|
private:
|
2026-07-06 04:05:57 -07:00
|
|
|
wxStaticText* m_deviceTitle = nullptr;
|
|
|
|
|
wxStaticText* m_deviceSubtitle = nullptr;
|
2026-06-19 17:51:51 -07:00
|
|
|
wxButton* m_startButton = nullptr;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // WITH_GUI
|
|
|
|
|
|
|
|
|
|
#endif // MAINPANEL_H
|