1 #ifndef __ImageCanvasRectangularSelection_hh__
2 #define __ImageCanvasRectangularSelection_hh__
4 #include "ImageCanvas.hh"
5 #include <Gui/StringConv.hh>
33 virtual void RectangleSelected(
int tl[2],
int br[2]);
47 int sbarid=0, wxWindowID
id = -1,
48 const wxPoint& pos = wxDefaultPosition,
49 const wxSize& size = wxSize(320, 240),
50 long style = wxHSCROLL | wxVSCROLL,
51 const wxString& name =
AsciiToWx(
"ScrolledWindow"));
62 virtual void OnLeftMouseButton(wxMouseEvent &event);
63 virtual void OnMouseMove(wxMouseEvent &event);
64 virtual void OnRightMouseButton(wxMouseEvent &event);
65 virtual void OnPaint(wxPaintEvent& event);
69 int TopLeft_[2], BottomRight_[2];
74 void DrawRectangle_(
int tl[2],
int br[2]);
76 void RefreshDrawImage_();
83 #endif // __ImageCanvasRectangularSelection_hh__
wxString AsciiToWx(const char *thestring)
Converts a C string to a wxString.
provides functionality for selection of rectangle, point, ...
display image in wx application, provides zoom and investigation functionality
callback interface for ImageCanvasExtended
ICECallbackInterface * CallbackObj_