Files
palera1n/src/wx/MainPanel.hpp
T

23 lines
449 B
C++
Raw Normal View History

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