mirror of
https://github.com/palera1n/palera1n.git
synced 2026-11-21 04:43:41 +01:00
23 lines
449 B
C++
23 lines
449 B
C++
#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
|