author | viric@mandarina |
Sat, 01 Nov 2008 20:57:17 +0100 | |
changeset 0 | 7e720dcafcaf |
child 1 | 506e0fc65ba3 |
permissions | -rw-r--r-- |
#include <wx/scrolwin.h> #include <wx/dcclient.h> #include "CropArea.hpp" class wxPictureWindow : public wxScrolledWindow { public: wxPictureWindow(const wxImage &img, CropArea area, wxWindow *parent); ~wxPictureWindow(); protected: virtual void OnDraw(wxDC &dc); void OnMouse(wxMouseEvent &ev); private: wxString _filename; wxBitmap _bmp; CropArea _area; DECLARE_EVENT_TABLE() };