8 #ifndef __SampleImageDlg_H__
9 #define __SampleImageDlg_H__
11 #include "VTBuilder_UI.h"
27 SampleImageDlg( wxWindow *parent, wxWindowID
id,
const wxString &title,
28 const wxPoint& pos = wxDefaultPosition,
29 const wxSize& size = wxDefaultSize,
30 long style = wxDEFAULT_DIALOG_STYLE );
33 wxButton* GetDotDotDot() {
return (wxButton*) FindWindow( ID_DOTDOTDOT ); }
34 wxButton* GetTileOptions() {
return (wxButton*) FindWindow( ID_TILE_OPTIONS ); }
35 wxTextCtrl* GetTextToFile() {
return (wxTextCtrl*) FindWindow( ID_TEXT_TO_FILE ); }
36 wxTextCtrl* GetTextTileInfo() {
return (wxTextCtrl*) FindWindow( ID_TEXT_TILE_INFO ); }
37 wxRadioButton* GetRadioToFile() {
return (wxRadioButton*) FindWindow( ID_RADIO_TO_FILE ); }
38 wxRadioButton* GetRadioCreateNew() {
return (wxRadioButton*) FindWindow( ID_RADIO_CREATE_NEW ); }
39 wxTextCtrl* GetSpacingY() {
return (wxTextCtrl*) FindWindow( ID_SPACINGY ); }
40 wxTextCtrl* GetSpacingX() {
return (wxTextCtrl*) FindWindow( ID_SPACINGX ); }
41 wxTextCtrl* GetSizeY() {
return (wxTextCtrl*) FindWindow( ID_SIZEY ); }
42 wxTextCtrl* GetSizeX() {
return (wxTextCtrl*) FindWindow( ID_SIZEX ); }
43 wxButton* GetBigger() {
return (wxButton*) FindWindow( ID_BIGGER ); }
44 wxButton* GetSmaller() {
return (wxButton*) FindWindow( ID_SMALLER ); }
45 wxCheckBox* GetConstrain() {
return (wxCheckBox*) FindWindow( ID_CONSTRAIN ); }
47 void SetView(
BuilderView *pView) { m_pView = pView; }
49 void FormatTilingString();
50 void EnableBasedOnConstraint();
56 wxString m_strTileInfo;
81 void OnRadioOutput( wxCommandEvent &
event );
82 void OnTileOptions( wxCommandEvent &event );
83 void OnDotDotDot( wxCommandEvent &event );
84 void OnSpacingXY( wxCommandEvent &event );
85 void OnSizeXY( wxCommandEvent &event );
86 void OnConstrain( wxCommandEvent &event );
87 void OnBigger( wxCommandEvent &event );
88 void OnSmaller( wxCommandEvent &event );
89 void OnInitDialog(wxInitDialogEvent& event);
95 #endif // __SampleImageDlg_H__