Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages
hugin1/hugin/PreviewCropTool.h
Go to the documentation of this file.00001 // -*- c-basic-offset: 4 -*- 00002 00023 #ifndef _PREVIEWCROPTOOL_H 00024 #define _PREVIEWCROPTOOL_H 00025 00026 #include "PreviewTool.h" 00027 00031 class PreviewCropTool : public PreviewTool 00032 { 00033 public: 00034 PreviewCropTool(PreviewToolHelper *helper); 00035 void Activate(); 00036 void ReallyAfterDrawImagesEvent(); 00037 void MouseMoveEvent(double x, double y, wxMouseEvent & e); 00038 void MouseButtonEvent(wxMouseEvent &e); 00039 private: 00040 bool moving_left, moving_right, moving_top, moving_bottom, mouse_down; 00041 double top, bottom, left, right; 00042 double start_drag_x, start_drag_y; 00043 HuginBase::PanoramaOptions start_drag_options, opts; 00044 }; 00045 00046 #endif
1.3.9.1