mirror of
https://github.com/palera1n/palera1n.git
synced 2026-11-21 04:43:41 +01:00
feat: wxWidgets gui
This commit is contained in:
53 files changed
+2494
-296
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user