#ifndef PNG_EXPORT_DIALOG_HPP #define PNG_EXPORT_DIALOG_HPP #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "GUI.hpp" namespace Slic3r { /////////////////////////////////////////////////////////////////////////////// /// Class PngExportDialog /////////////////////////////////////////////////////////////////////////////// class PngExportDialog : public wxDialog { private: protected: wxFilePickerCtrl* filepick_ctl_; wxFilePickerCtrl* confpick_ctl_; wxSpinCtrl* spin_reso_width_; wxSpinCtrl* spin_reso_height_; wxToggleButton* reso_lock_btn_; wxSpinCtrlDouble* bed_width_spin_; wxSpinCtrlDouble* bed_height_spin_; wxToggleButton* bedsize_lock_btn_; wxSpinCtrlDouble* exptime_spin_; wxSpinCtrlDouble* exptime_first_spin_; wxSpinCtrlDouble* corr_spin_x_; wxSpinCtrlDouble* corr_spin_y_; wxSpinCtrlDouble* corr_spin_z_; wxButton* export_btn_; // Virtual event handlers, overide them in your derived class virtual void onFileChanged( wxFileDirPickerEvent& event ) { event.Skip(); } virtual void EvalResoSpin( wxCommandEvent& event ) { event.Skip(); } virtual void ResoLock( wxCommandEvent& event ) { event.Skip(); } virtual void EvalBedSpin( wxCommandEvent& event ) { event.Skip(); } virtual void BedsizeLock( wxCommandEvent& event ) { event.Skip(); } virtual void Close( wxCommandEvent& /*event*/ ) { EndModal(wxID_OK); } public: PngExportDialog( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = L("Slice to zipped PNG files"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 452,170 ), long style = wxDEFAULT_DIALOG_STYLE ); ~PngExportDialog(); }; } #endif //PNG_EXPORT_DIALOG_HPP