1 #ifndef FORMATINDENT_H
2 #define FORMATINDENT_H
3 
4 //(*Headers(FormatIndentDlg)
5 #include <wx/notebook.h>
6 #include <wx/sizer.h>
7 #include <wx/stattext.h>
8 #include <wx/checkbox.h>
9 #include <wx/spinctrl.h>
10 #include <wx/radiobut.h>
11 #include <wx/panel.h>
12 #include <wx/dialog.h>
13 //*)
14 
15 class FormatIndentDlg: public wxDialog
16 {
17 	public:
18 
19 	    enum FormatIndentScope{ fisProject, fisSelection, fisCurrentFile };
20 
21 		FormatIndentDlg(wxWindow* parent);
22 		virtual ~FormatIndentDlg();
23 
24 		//(*Declarations(FormatIndentDlg)
25 		wxRadioButton* rb_CurrentFile;
26 		wxSpinCtrl* spc_Spaces;
27 		wxNotebook* Notebook1;
28 		wxStaticText* stxt_TabSpaces;
29 		wxCheckBox* cb_SELECTTYPEafter;
30 		wxStaticText* StaticText2;
31 		wxCheckBox* cb_CONTModAfter;
32 		wxCheckBox* cb_SELECTCASEafter;
33 		wxCheckBox* cb_MODafter;
34 		wxPanel* Panel1;
35 		wxStaticText* StaticText1;
36 		wxRadioButton* rb_Selection;
37 		wxStaticText* StaticText3;
38 		wxCheckBox* cb_CONTMod;
39 		wxCheckBox* cb_CONTProcAfter;
40 		wxPanel* Panel3;
41 		wxCheckBox* cb_CONTTypeAfter;
42 		wxCheckBox* cb_TrimLines;
43 		wxCheckBox* cb_TabAsEditor;
44 		wxRadioButton* rb_ActiveProject;
45 		wxCheckBox* cb_PROGafter;
46 		wxCheckBox* cb_UseTabs;
47 		wxPanel* Panel2;
48 		wxCheckBox* cb_CONTType;
49 		wxCheckBox* cb_CONTProc;
50 		//*)
51 
52         FormatIndentScope GetFormatScope();
53 
54 	protected:
55 
56 		//(*Identifiers(FormatIndentDlg)
57 		static const long ID_STATICTEXT1;
58 		static const long ID_STATICTEXT3;
59 		static const long ID_RADIOBUTTON1;
60 		static const long ID_RADIOBUTTON2;
61 		static const long ID_RADIOBUTTON3;
62 		static const long ID_PANEL1;
63 		static const long ID_STATICTEXT2;
64 		static const long ID_CHECKBOX2;
65 		static const long ID_CHECKBOX3;
66 		static const long ID_CHECKBOX4;
67 		static const long ID_CHECKBOX5;
68 		static const long ID_CHECKBOX6;
69 		static const long ID_CHECKBOX1;
70 		static const long ID_CHECKBOX7;
71 		static const long ID_CHECKBOX8;
72 		static const long ID_CHECKBOX9;
73 		static const long ID_CHECKBOX10;
74 		static const long ID_PANEL3;
75 		static const long ID_CHECKBOX11;
76 		static const long ID_CHECKBOX12;
77 		static const long ID_CHECKBOX13;
78 		static const long ID_STATICTEXT4;
79 		static const long ID_SPINCTRL1;
80 		static const long ID_PANEL2;
81 		static const long ID_NOTEBOOK1;
82 		//*)
83 
84 	private:
85 
86 		//(*Handlers(FormatIndentDlg)
87 		void OnCbTabAsEditorClick(wxCommandEvent& event);
88 		//*)
89 
90 		void OnOK(wxCommandEvent& event);
91 
92 
93 		DECLARE_EVENT_TABLE()
94 };
95 
96 #endif
97