20 lines
342 B
C++
20 lines
342 B
C++
#pragma once
|
|
#include <wx/wx.h>
|
|
#include "WinImg.h"
|
|
|
|
class CMainFrame : public wxFrame
|
|
{
|
|
public:
|
|
CMainFrame(const wxString& title);
|
|
virtual ~CMainFrame();
|
|
public:
|
|
void init();
|
|
|
|
private:
|
|
void turn2blue(wxCommandEvent& event);
|
|
void turn2white(wxCommandEvent& event);
|
|
|
|
private:
|
|
cv::Mat img_;
|
|
CImagePanel* win_img_;
|
|
}; |