feat: wxWidgets gui

This commit is contained in:
CLARATION committed 2026-06-19 17:51:51 -07:00
1 parent 7ee6976c7d
commit fa05fd34e1
53 files changed
+2494 -296

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
#ifndef RECOVERYPANEL_H
#define RECOVERYPANEL_H
#ifdef WITH_GUI
#include <wx/wx.h>
#include "DevicePanel.hpp"
class RecoveryPanel;
class RecoveryPanel : public DevicePanel
{
public:
explicit RecoveryPanel(MainFrame* frame, wxWindow* parent);
void SetDeviceState(const DeviceState& state) override;
void SetStatusText(const wxString& text);
void EnterRecoveryMode();
private:
wxButton* m_backButton = nullptr;
wxButton* m_nextButton = nullptr;
wxStaticText* m_statusText = nullptr;
wxTimer m_timer;
bool m_isEnteringRecovery = false;
};
#endif // WITH_GUI
#endif // RECOVERYPANEL_H