~ubuntu-branches/ubuntu/trusty/codeblocks/trusty-proposed

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxSmith/wxwidgets/properties/wxsfonteditordlg.h

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng
  • Date: 2013-05-06 00:20:02 UTC
  • mfrom: (6.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130506002002-ngc7bwkewnak8fja
Tags: 12.11-3
* Upload to unstable.
* Update watch file, thanks to Bart Martens.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
* You should have received a copy of the GNU General Public License
16
16
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
17
17
*
18
 
* $Revision: 6104 $
19
 
* $Id: wxsfonteditordlg.h 6104 2010-01-23 12:56:12Z mortenmacfly $
20
 
* $HeadURL: svn+ssh://jenslody@svn.berlios.de/svnroot/repos/codeblocks/trunk/src/plugins/contrib/wxSmith/wxwidgets/properties/wxsfonteditordlg.h $
 
18
* $Revision$
 
19
* $Id$
 
20
* $HeadURL$
21
21
*/
22
22
 
23
23
#ifndef WXSFONTEDITORDLG_H
35
35
#include <wx/radiobut.h>
36
36
#include <wx/choice.h>
37
37
#include <wx/button.h>
 
38
#include "scrollingdialog.h"
38
39
#include <wx/combobox.h>
39
 
#include "scrollingdialog.h"
40
40
//*)
41
41
 
42
42
class wxsFontEditorDlg: public wxScrollingDialog
43
43
{
44
 
        public:
45
 
 
46
 
                wxsFontEditorDlg(wxWindow* parent,wxsFontData& Data,wxWindowID id = -1);
47
 
                virtual ~wxsFontEditorDlg();
48
 
 
49
 
                //(*Identifiers(wxsFontEditorDlg)
50
 
                static const long ID_CHOICE1;
51
 
                static const long ID_CHECKBOX8;
52
 
                static const long ID_STATICTEXT1;
53
 
                static const long ID_CHOICE2;
54
 
                static const long ID_CHECKBOX2;
55
 
                static const long ID_COMBOBOX1;
56
 
                static const long ID_CHECKBOX1;
57
 
                static const long ID_CHOICE3;
58
 
                static const long ID_CHECKBOX7;
59
 
                static const long ID_SPINCTRL1;
60
 
                static const long ID_CHECKBOX6;
61
 
                static const long ID_TEXTCTRL1;
62
 
                static const long ID_CHECKBOX3;
63
 
                static const long ID_RADIOBUTTON1;
64
 
                static const long ID_RADIOBUTTON2;
65
 
                static const long ID_RADIOBUTTON3;
66
 
                static const long ID_CHECKBOX4;
67
 
                static const long ID_RADIOBUTTON4;
68
 
                static const long ID_RADIOBUTTON5;
69
 
                static const long ID_RADIOBUTTON6;
70
 
                static const long ID_CHECKBOX5;
71
 
                static const long ID_RADIOBUTTON7;
72
 
                static const long ID_RADIOBUTTON8;
73
 
                static const long ID_LISTBOX1;
74
 
                static const long ID_BUTTON4;
75
 
                static const long ID_BUTTON5;
76
 
                static const long ID_BUTTON6;
77
 
                static const long ID_BUTTON8;
78
 
                static const long ID_BUTTON7;
79
 
                static const long ID_TEXTCTRL2;
80
 
                //*)
81
 
 
82
 
        protected:
83
 
 
84
 
                //(*Handlers(wxsFontEditorDlg)
85
 
                void OnButton1Click(wxCommandEvent& event);
86
 
                void OnUpdateContent(wxCommandEvent& event);
87
 
                void OnButton2Click(wxCommandEvent& event);
88
 
                void OnButton1Click1(wxCommandEvent& event);
89
 
                void OnFaceAddClick(wxCommandEvent& event);
90
 
                void OnFaceDelClick(wxCommandEvent& event);
91
 
                void OnFaceEditClick(wxCommandEvent& event);
92
 
                void OnFaceUpClick(wxCommandEvent& event);
93
 
                void OnFaceDownClick(wxCommandEvent& event);
94
 
                void OnUpdatePreview(wxCommandEvent& event);
95
 
                void OnSizeValChange(wxSpinEvent& event);
96
 
                void OnBaseFontUseChange(wxCommandEvent& event);
97
 
                //*)
98
 
 
99
 
                //(*Declarations(wxsFontEditorDlg)
100
 
                wxBoxSizer* BoxSizer4;
101
 
                wxStaticBoxSizer* StaticBoxSizer2;
102
 
                wxBoxSizer* BoxSizer6;
103
 
                wxChoice* BaseFontVal;
104
 
                wxRadioButton* WeightNorm;
105
 
                wxRadioButton* WeightBold;
106
 
                wxBoxSizer* BoxSizer5;
107
 
                wxCheckBox* UnderUse;
108
 
                wxCheckBox* StyleUse;
109
 
                wxRadioButton* UnderYes;
110
 
                wxRadioButton* StyleSlant;
111
 
                wxButton* FaceUp;
112
 
                wxStaticBoxSizer* StaticBoxSizer4;
113
 
                wxTextCtrl* TestArea;
114
 
                wxSpinCtrl* SizeVal;
115
 
                wxRadioButton* StyleNorm;
116
 
                wxCheckBox* BaseFontUse;
117
 
                wxChoice* FontType;
118
 
                wxCheckBox* WeightUse;
119
 
                wxButton* FaceAdd;
120
 
                wxStaticText* BaseFontTxt;
121
 
                wxFlexGridSizer* FlexGridSizer2;
122
 
                wxChoice* EncodVal;
123
 
                wxBoxSizer* BoxSizer2;
124
 
                wxTextCtrl* RelSizeVal;
125
 
                wxCheckBox* FamUse;
126
 
                wxStaticBoxSizer* StaticBoxSizer7;
127
 
                wxRadioButton* WeightLight;
128
 
                wxStaticBoxSizer* StaticBoxSizer3;
129
 
                wxStaticBoxSizer* StaticBoxSizer6;
130
 
                wxCheckBox* SizeUse;
131
 
                wxButton* FaceDown;
132
 
                wxBoxSizer* BoxSizer1;
133
 
                wxCheckBox* EncodUse;
134
 
                wxRadioButton* StyleItal;
135
 
                wxButton* FaceDel;
136
 
                wxListBox* FaceList;
137
 
                wxComboBox* FamVal;
138
 
                wxStaticBoxSizer* StaticBoxSizer1;
139
 
                wxCheckBox* RelSizeUse;
140
 
                wxBoxSizer* BoxSizer3;
141
 
                wxStaticBoxSizer* StaticBoxSizer5;
142
 
                wxRadioButton* UnderNo;
143
 
                wxButton* FaceEdit;
144
 
                wxBoxSizer* BaseFontSizer;
145
 
                wxStdDialogButtonSizer* StdDialogButtonSizer1;
146
 
                //*)
147
 
 
148
 
        private:
 
44
    public:
 
45
 
 
46
        wxsFontEditorDlg(wxWindow* parent,wxsFontData& Data,wxWindowID id = -1);
 
47
        virtual ~wxsFontEditorDlg();
 
48
 
 
49
        //(*Identifiers(wxsFontEditorDlg)
 
50
        static const long ID_CHOICE1;
 
51
        static const long ID_CHECKBOX8;
 
52
        static const long ID_STATICTEXT1;
 
53
        static const long ID_CHOICE2;
 
54
        static const long ID_CHECKBOX2;
 
55
        static const long ID_COMBOBOX1;
 
56
        static const long ID_CHECKBOX1;
 
57
        static const long ID_CHOICE3;
 
58
        static const long ID_CHECKBOX7;
 
59
        static const long ID_SPINCTRL1;
 
60
        static const long ID_CHECKBOX6;
 
61
        static const long ID_TEXTCTRL1;
 
62
        static const long ID_CHECKBOX3;
 
63
        static const long ID_RADIOBUTTON1;
 
64
        static const long ID_RADIOBUTTON2;
 
65
        static const long ID_RADIOBUTTON3;
 
66
        static const long ID_CHECKBOX4;
 
67
        static const long ID_RADIOBUTTON4;
 
68
        static const long ID_RADIOBUTTON5;
 
69
        static const long ID_RADIOBUTTON6;
 
70
        static const long ID_CHECKBOX5;
 
71
        static const long ID_RADIOBUTTON7;
 
72
        static const long ID_RADIOBUTTON8;
 
73
        static const long ID_LISTBOX1;
 
74
        static const long ID_BUTTON4;
 
75
        static const long ID_BUTTON5;
 
76
        static const long ID_BUTTON6;
 
77
        static const long ID_BUTTON8;
 
78
        static const long ID_BUTTON7;
 
79
        static const long ID_TEXTCTRL2;
 
80
        //*)
 
81
 
 
82
    protected:
 
83
 
 
84
        //(*Handlers(wxsFontEditorDlg)
 
85
        void OnButton1Click(wxCommandEvent& event);
 
86
        void OnUpdateContent(wxCommandEvent& event);
 
87
        void OnButton2Click(wxCommandEvent& event);
 
88
        void OnButton1Click1(wxCommandEvent& event);
 
89
        void OnFaceAddClick(wxCommandEvent& event);
 
90
        void OnFaceDelClick(wxCommandEvent& event);
 
91
        void OnFaceEditClick(wxCommandEvent& event);
 
92
        void OnFaceUpClick(wxCommandEvent& event);
 
93
        void OnFaceDownClick(wxCommandEvent& event);
 
94
        void OnUpdatePreview(wxCommandEvent& event);
 
95
        void OnSizeValChange(wxSpinEvent& event);
 
96
        void OnBaseFontUseChange(wxCommandEvent& event);
 
97
        //*)
 
98
 
 
99
        //(*Declarations(wxsFontEditorDlg)
 
100
        wxStaticBoxSizer* StaticBoxSizer2;
 
101
        wxChoice* BaseFontVal;
 
102
        wxRadioButton* WeightNorm;
 
103
        wxRadioButton* WeightBold;
 
104
        wxCheckBox* UnderUse;
 
105
        wxCheckBox* StyleUse;
 
106
        wxRadioButton* UnderYes;
 
107
        wxRadioButton* StyleSlant;
 
108
        wxButton* FaceUp;
 
109
        wxStaticBoxSizer* StaticBoxSizer4;
 
110
        wxTextCtrl* TestArea;
 
111
        wxSpinCtrl* SizeVal;
 
112
        wxRadioButton* StyleNorm;
 
113
        wxCheckBox* BaseFontUse;
 
114
        wxChoice* FontType;
 
115
        wxCheckBox* WeightUse;
 
116
        wxButton* FaceAdd;
 
117
        wxStaticText* BaseFontTxt;
 
118
        wxFlexGridSizer* FlexGridSizer2;
 
119
        wxChoice* EncodVal;
 
120
        wxBoxSizer* BoxSizer2;
 
121
        wxTextCtrl* RelSizeVal;
 
122
        wxCheckBox* FamUse;
 
123
        wxRadioButton* WeightLight;
 
124
        wxStaticBoxSizer* StaticBoxSizer3;
 
125
        wxStaticBoxSizer* StaticBoxSizer6;
 
126
        wxCheckBox* SizeUse;
 
127
        wxButton* FaceDown;
 
128
        wxCheckBox* EncodUse;
 
129
        wxRadioButton* StyleItal;
 
130
        wxButton* FaceDel;
 
131
        wxListBox* FaceList;
 
132
        wxComboBox* FamVal;
 
133
        wxStaticBoxSizer* StaticBoxSizer1;
 
134
        wxCheckBox* RelSizeUse;
 
135
        wxBoxSizer* BoxSizer3;
 
136
        wxStaticBoxSizer* StaticBoxSizer5;
 
137
        wxRadioButton* UnderNo;
 
138
        wxButton* FaceEdit;
 
139
        wxBoxSizer* BaseFontSizer;
 
140
        //*)
 
141
 
 
142
    private:
149
143
 
150
144
        void UpdateContent();
151
145
        void UpdatePreview();
156
150
        wxArrayString Encodings;
157
151
        bool Initialized;
158
152
 
159
 
                DECLARE_EVENT_TABLE()
 
153
        DECLARE_EVENT_TABLE()
160
154
};
161
155
 
162
156
#endif