-
Notifications
You must be signed in to change notification settings - Fork 0
/
tab2space.h
55 lines (43 loc) · 1021 Bytes
/
tab2space.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef Tab2Space_H
#define Tab2Space_H
#include <sdk.h> // Code::Blocks SDK
class cbEditor;
//(*Headers(Tab2Space)
#include <wx/checkbox.h>
#include <wx/dialog.h>
#include <wx/radiobut.h>
#include <wx/stattext.h>
#include <wx/spinctrl.h>
//*)
enum Tab2SpaceIn
{
t2siProject = 0,
t2siFile,
t2siSelection,
};
class Tab2Space: public wxDialog
{
public:
Tab2Space(wxWindow* parent);
virtual ~Tab2Space();
//(*Declarations(Tab2Space)
wxRadioButton* rb_ChCActiveProject;
wxRadioButton* rb_ChCCurrentFile;
wxRadioButton* rb_ChCSelection;
wxStaticText* StaticText1;
wxStaticText* StaticText2;
wxSpinCtrl* sc_TabSize;
//*)
protected:
//(*Identifiers(Tab2Space)
//*)
private:
//(*Handlers(Tab2Space)
//*)
void OnOK(wxCommandEvent& event);
void MakeTab2Space(Tab2SpaceIn chin, int tabSize);
void FileTab2Space(wxString filename, Tab2SpaceIn chin, int tabSize);
bool EditorTab2Space(cbEditor* ed, Tab2SpaceIn chin, int tabSize);
DECLARE_EVENT_TABLE()
};
#endif