MainWindow.hpp
changeset 1 506e0fc65ba3
parent 0 7e720dcafcaf
child 2 b2772bffb62f
equal deleted inserted replaced
0:7e720dcafcaf 1:506e0fc65ba3
     2 #define _HEADER_MAINWINDOW_HPP_
     2 #define _HEADER_MAINWINDOW_HPP_
     3 
     3 
     4 #include <wx/wx.h>
     4 #include <wx/wx.h>
     5 #include "CropArea.hpp"
     5 #include "CropArea.hpp"
     6 
     6 
       
     7 DECLARE_EVENT_TYPE(EVT_NEXTPICTURE, -1)
       
     8 
     7 class MainWindow : public wxFrame
     9 class MainWindow : public wxFrame
     8 {
    10 {
     9 public:
    11 public:
    10     MainWindow(const wxImage &img, CropArea area, wxSize size);
    12     MainWindow(const wxImage &img, CropArea area, wxSize size);
       
    13 
       
    14     void OnNextPicture(wxCommandEvent &e);
       
    15 
       
    16     DECLARE_EVENT_TABLE ();
    11 };
    17 };
    12 
    18 
    13 #endif /* _HEADER_MAINWINDOW_HPP_ */
    19 #endif /* _HEADER_MAINWINDOW_HPP_ */