2025-05-08 21:13:36 +08:00
|
|
|
#ifndef IUSERINTERFACE_H
|
|
|
|
#define IUSERINTERFACE_H
|
2025-05-05 23:22:43 +08:00
|
|
|
|
2025-05-08 21:44:16 +08:00
|
|
|
#include <memory>
|
|
|
|
#include <wx/aui/aui.h>
|
2025-05-08 21:13:36 +08:00
|
|
|
#include <wx/wx.h>
|
|
|
|
|
2025-05-08 21:44:16 +08:00
|
|
|
#include "ControlManager.h"
|
|
|
|
|
2025-05-08 21:13:36 +08:00
|
|
|
class UserInterface final : public wxFrame
|
2025-05-05 23:22:43 +08:00
|
|
|
{
|
|
|
|
public:
|
2025-05-08 21:13:36 +08:00
|
|
|
explicit UserInterface(const wxString& title);
|
|
|
|
~UserInterface() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
void InitUI();
|
|
|
|
void InitData();
|
2025-05-08 21:44:16 +08:00
|
|
|
|
|
|
|
private:
|
|
|
|
wxAuiManager mgr_;
|
|
|
|
std::shared_ptr<ControlManager> controlMgr_;
|
2025-05-05 23:22:43 +08:00
|
|
|
};
|
|
|
|
|
2025-05-08 21:44:16 +08:00
|
|
|
#endif // IUSERINTERFACE_H
|