NonaOptionsDialog.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00024 #ifndef _NONASTITCHERPANEL_H
00025 #define _NONASTITCHERPANEL_H
00026 
00027 //using namespace PT;
00028 class PanoDialog;
00029 class wxSpinCtrl;
00030 class wxTextCtrl;
00031 class wxChoice;
00032 class wxComboBox;
00033 
00038 class NonaOptionsDialog: public wxDialog, public PT::PanoramaObserver
00039 {
00040 public:
00041     NonaOptionsDialog(wxWindow *parent, PT::Panorama & pano);
00042     virtual ~NonaOptionsDialog();
00043 
00060     virtual void panoramaChanged(PT::Panorama &pano);
00061 
00062 
00063  private:
00064 
00065     // apply changes from the model
00066     void UpdateDisplay(const PT::PanoramaOptions & opt);
00067 
00068     // apply changes to the model. (gui values -> Panorama)
00069     void InterpolatorChanged(wxCommandEvent & e);
00070     void OnSaveCropped(wxCommandEvent & e);
00071 
00072     // the model
00073     PT::Panorama &pano;
00074 
00075     // don't listen to input on gui elements during
00076     // updating the gui from the model, to prevent recursion,
00077     // because the gui might report changes as well.
00078     bool updatesDisabled;
00079     PT::PanoramaOptions m_oldOpt;
00080 
00081     wxChoice    * m_InterpolatorChoice;
00082 
00083     wxCheckBox  * m_SaveCroppedCB;
00084 
00085     DECLARE_EVENT_TABLE()
00086 };
00087 
00088 #endif // _NONASTITCHERPANEL_H

Generated on Sat Sep 20 01:25:34 2014 for Hugintrunk by  doxygen 1.3.9.1