MainWindow.hpp
author viric <viriketo@gmail.com>
Sun, 24 Apr 2011 14:03:52 +0200
changeset 1 506e0fc65ba3
parent 0 7e720dcafcaf
child 2 b2772bffb62f
permissions -rw-r--r--
Ara processo la tecla ESC, almenys, i ho preparo per un next_picture

#ifndef _HEADER_MAINWINDOW_HPP_
#define _HEADER_MAINWINDOW_HPP_

#include <wx/wx.h>
#include "CropArea.hpp"

DECLARE_EVENT_TYPE(EVT_NEXTPICTURE, -1)

class MainWindow : public wxFrame
{
public:
    MainWindow(const wxImage &img, CropArea area, wxSize size);

    void OnNextPicture(wxCommandEvent &e);

    DECLARE_EVENT_TABLE ();
};

#endif /* _HEADER_MAINWINDOW_HPP_ */