Basic Image AlgorithmS Library  2.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
PlainImageCanvas.hh
1 #ifndef __PlainImageCanvas_hh__
2 #define __PlainImageCanvas_hh__
3 
4 #include <bias_config.h>
5 #include "ImageCanvas.hh"
6 
7 namespace BIAS {
8 
9  /** @class PlainImageCanvas
10  @ingroup g_gui
11  @brief Image canvas that does not show zoom frames and redirects
12  mouse click events to its parent.
13  @author koeser */
14 
15  class BIASGui_EXPORT PlainImageCanvas : public BIAS::ImageCanvas
16  {
17  public:
18 
19  PlainImageCanvas(wxWindow* parent, wxStatusBar* sbar = NULL, int sbarid = 0);
20  virtual ~PlainImageCanvas(){}
21 
22  protected:
23 
24  void OnLeftDClick(wxMouseEvent& event);
25  void OnLeftDown(wxMouseEvent& event);
26  void OnRightDown(wxMouseEvent& event);
27  void OnMotion(wxMouseEvent& event);
28  void OnChar(wxKeyEvent& event);
29  void OnKeyDown(wxKeyEvent& event);
30  void OnRightMouseButton(wxMouseEvent &event);
31  void OnLeftMouseButton(wxMouseEvent &event);
32 
33  DECLARE_EVENT_TABLE()
34  };
35 
36 }
37 
38 #endif // __PlainImageCanvas_hh__
display image in wx application, provides zoom and investigation functionality
Definition: ImageCanvas.hh:38
Image canvas that does not show zoom frames and redirects mouse click events to its parent...