8 #ifndef __ResampleDlg_H__
9 #define __ResampleDlg_H__
11 #include "VTBuilder_UI.h"
13 #include "vtui/AutoDialog.h"
15 #include "ElevDrawOptions.h"
29 ResampleDlg( wxWindow *parent, wxWindowID
id,
const wxString &title,
30 const wxPoint& pos = wxDefaultPosition,
31 const wxSize& size = wxDefaultSize,
32 long style = wxDEFAULT_DIALOG_STYLE );
35 wxButton* GetDotdotdot2() {
return (wxButton*) FindWindow( ID_DOTDOTDOT2 ); }
36 wxTextCtrl* GetTextToImageFile() {
return (wxTextCtrl*) FindWindow( ID_TEXT_TO_IMAGE_FILE ); }
37 wxButton* GetRenderingOptions() {
return (wxButton*) FindWindow( ID_RENDERING_OPTIONS ); }
38 wxCheckBox* GetDerivedImages() {
return (wxCheckBox*) FindWindow( ID_DERIVED_IMAGES ); }
39 wxButton* GetDotDotDot() {
return (wxButton*) FindWindow( ID_DOTDOTDOT ); }
40 wxButton* GetTileOptions() {
return (wxButton*) FindWindow( ID_TILE_OPTIONS ); }
41 wxTextCtrl* GetTextToFile() {
return (wxTextCtrl*) FindWindow( ID_TEXT_TO_FILE ); }
42 wxTextCtrl* GetTextTileInfo() {
return (wxTextCtrl*) FindWindow( ID_TEXT_TILE_INFO ); }
43 wxRadioButton* GetRadioToFile() {
return (wxRadioButton*) FindWindow( ID_RADIO_TO_FILE ); }
44 wxRadioButton* GetRadioCreateNew() {
return (wxRadioButton*) FindWindow( ID_RADIO_CREATE_NEW ); }
45 wxRadioButton* GetShorts() {
return (wxRadioButton*) FindWindow( ID_SHORTS ); }
46 wxTextCtrl* GetVUnits() {
return (wxTextCtrl*) FindWindow( ID_VUNITS ); }
47 wxTextCtrl* GetSpacingY() {
return (wxTextCtrl*) FindWindow( ID_SPACINGY ); }
48 wxTextCtrl* GetSpacingX() {
return (wxTextCtrl*) FindWindow( ID_SPACINGX ); }
49 wxTextCtrl* GetSizeY() {
return (wxTextCtrl*) FindWindow( ID_SIZEY ); }
50 wxTextCtrl* GetSizeX() {
return (wxTextCtrl*) FindWindow( ID_SIZEX ); }
51 wxButton* GetBigger() {
return (wxButton*) FindWindow( ID_BIGGER ); }
52 wxButton* GetSmaller() {
return (wxButton*) FindWindow( ID_SMALLER ); }
53 wxCheckBox* GetConstrain() {
return (wxCheckBox*) FindWindow( ID_CONSTRAIN ); }
55 void SetView(
BuilderView *pView) { m_pView = pView; }
57 void FormatTilingString();
58 void EnableBasedOnConstraint();
64 wxString m_strTileInfo;
84 wxString m_strToFileImages;
97 void OnDotDotDot2( wxCommandEvent &
event );
98 void OnRenderingOptions( wxCommandEvent &event );
99 void OnCheckDerivedImages( wxCommandEvent &event );
100 void OnTileOptions( wxCommandEvent &event );
101 void OnDotDotDot( wxCommandEvent &event );
102 void OnRadioOutput( wxCommandEvent &event );
103 void OnShorts( wxCommandEvent &event );
104 void OnFloats( wxCommandEvent &event );
105 void OnSpacingXY( wxCommandEvent &event );
106 void OnSizeXY( wxCommandEvent &event );
107 void OnConstrain( wxCommandEvent &event );
108 void OnBigger( wxCommandEvent &event );
109 void OnSmaller( wxCommandEvent &event );
110 void OnTextToImageFile( wxCommandEvent &event );
111 void OnInitDialog(wxInitDialogEvent& event);
114 DECLARE_EVENT_TABLE()
117 #endif // __ResampleDlg_H__