2024-12-26 11:56:43 +08:00
|
|
|
#pragma once
|
|
|
|
#include <wx/wx.h>
|
2024-12-26 15:55:16 +08:00
|
|
|
#include "WinImg.h"
|
2024-12-26 11:56:43 +08:00
|
|
|
|
|
|
|
class CMainFrame : public wxFrame
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CMainFrame(const wxString& title);
|
|
|
|
virtual ~CMainFrame();
|
|
|
|
public:
|
2024-12-26 15:55:16 +08:00
|
|
|
void init();
|
2024-12-26 11:56:43 +08:00
|
|
|
|
2024-12-26 15:55:16 +08:00
|
|
|
private:
|
|
|
|
void turn2blue(wxCommandEvent& event);
|
|
|
|
void turn2white(wxCommandEvent& event);
|
|
|
|
|
|
|
|
private:
|
|
|
|
cv::Mat img_;
|
|
|
|
CImagePanel* win_img_;
|
2024-12-26 11:56:43 +08:00
|
|
|
};
|