~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/contrib/FortranProject/changecase.h

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CHANGECASE_H
 
2
#define CHANGECASE_H
 
3
 
 
4
#include <sdk.h> // Code::Blocks SDK
 
5
 
 
6
class cbEditor;
 
7
 
 
8
//(*Headers(ChangeCase)
 
9
#include <wx/checkbox.h>
 
10
#include <wx/dialog.h>
 
11
#include <wx/radiobut.h>
 
12
#include <wx/stattext.h>
 
13
//*)
 
14
 
 
15
enum ChangeCaseIn
 
16
{
 
17
    chciProject = 0,
 
18
    chciFile,
 
19
    chciSelection,
 
20
};
 
21
 
 
22
enum ChangeCaseFor
 
23
{
 
24
    chcfKeywords = 0x0001,
 
25
    chcfOther = 0x0002,
 
26
};
 
27
 
 
28
enum ChangeCaseTo
 
29
{
 
30
    chctAllCaps = 0,
 
31
    chctFirstCap,
 
32
    chctAllLower,
 
33
};
 
34
 
 
35
class ChangeCase: public wxDialog
 
36
{
 
37
        public:
 
38
 
 
39
                ChangeCase(wxWindow* parent);
 
40
                virtual ~ChangeCase();
 
41
 
 
42
                //(*Declarations(ChangeCase)
 
43
                wxRadioButton* rb_ChCActiveProject;
 
44
                wxRadioButton* rb_ChCFirstCap;
 
45
                wxRadioButton* rb_ChCAllLower;
 
46
                wxStaticText* StaticText1;
 
47
                wxRadioButton* rb_ChCAllCaps;
 
48
                wxStaticText* StaticText3;
 
49
                wxRadioButton* rb_ChCSelection;
 
50
                wxCheckBox* cb_ChCOtherItems;
 
51
                wxCheckBox* cb_ChCKeywords;
 
52
                wxRadioButton* rb_ChCCurrentFile;
 
53
                wxStaticText* StaticText2;
 
54
                //*)
 
55
 
 
56
        protected:
 
57
 
 
58
                //(*Identifiers(ChangeCase)
 
59
                //*)
 
60
 
 
61
        private:
 
62
 
 
63
                //(*Handlers(ChangeCase)
 
64
                //*)
 
65
                void OnOK(wxCommandEvent& event);
 
66
                void MakeChangeCase(ChangeCaseIn chin, int chfor, ChangeCaseTo chto);
 
67
                void FileChangeCase(wxString filename, ChangeCaseIn chin, int chfor, ChangeCaseTo chto);
 
68
        bool EditorChangeCase(cbEditor* ed, ChangeCaseIn chin, int chfor, ChangeCaseTo chto);
 
69
 
 
70
                DECLARE_EVENT_TABLE()
 
71
};
 
72
 
 
73
#endif