1 | // ------------------------------------------------------------------------------ |
---|
2 | // <autogenerated> |
---|
3 | // This code was generated by a tool. |
---|
4 | // Mono Runtime Version: 2.0.50727.42 |
---|
5 | // |
---|
6 | // Changes to this file may cause incorrect behavior and will be lost if |
---|
7 | // the code is regenerated. |
---|
8 | // </autogenerated> |
---|
9 | // ------------------------------------------------------------------------------ |
---|
10 | |
---|
11 | namespace ThePimp { |
---|
12 | |
---|
13 | |
---|
14 | public partial class NewFile { |
---|
15 | |
---|
16 | private Gtk.VBox vbox2; |
---|
17 | |
---|
18 | private Gtk.Frame frame1; |
---|
19 | |
---|
20 | private Gtk.Alignment GtkAlignment3; |
---|
21 | |
---|
22 | private Gtk.VBox vbox3; |
---|
23 | |
---|
24 | private Gtk.Table table1; |
---|
25 | |
---|
26 | private Gtk.Label label1; |
---|
27 | |
---|
28 | private Gtk.Label label2; |
---|
29 | |
---|
30 | private Gtk.Label label3; |
---|
31 | |
---|
32 | private Gtk.Label label4; |
---|
33 | |
---|
34 | private Gtk.SpinButton spinbutton1; |
---|
35 | |
---|
36 | private Gtk.SpinButton spinbutton2; |
---|
37 | |
---|
38 | private Gtk.Label GtkLabel3; |
---|
39 | |
---|
40 | private Gtk.Frame frame2; |
---|
41 | |
---|
42 | private Gtk.Alignment GtkAlignment; |
---|
43 | |
---|
44 | private Gtk.Table table2; |
---|
45 | |
---|
46 | private Gtk.ComboBox combobox1; |
---|
47 | |
---|
48 | private Gtk.Label label5; |
---|
49 | |
---|
50 | private Gtk.Label GtkLabel; |
---|
51 | |
---|
52 | private Gtk.Button buttonCancel; |
---|
53 | |
---|
54 | private Gtk.Button buttonOk; |
---|
55 | |
---|
56 | protected virtual void Build() { |
---|
57 | Stetic.Gui.Initialize(this); |
---|
58 | // Widget ThePimp.NewFile |
---|
59 | this.Name = "ThePimp.NewFile"; |
---|
60 | this.Title = Mono.Unix.Catalog.GetString("New Image"); |
---|
61 | this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); |
---|
62 | this.TypeHint = ((Gdk.WindowTypeHint)(1)); |
---|
63 | this.WindowPosition = ((Gtk.WindowPosition)(4)); |
---|
64 | this.Modal = true; |
---|
65 | this.HasSeparator = false; |
---|
66 | // Internal child ThePimp.NewFile.VBox |
---|
67 | Gtk.VBox w1 = this.VBox; |
---|
68 | w1.Name = "dialog1_VBox"; |
---|
69 | w1.BorderWidth = ((uint)(2)); |
---|
70 | // Container child dialog1_VBox.Gtk.Box+BoxChild |
---|
71 | this.vbox2 = new Gtk.VBox(); |
---|
72 | this.vbox2.Name = "vbox2"; |
---|
73 | this.vbox2.Spacing = 6; |
---|
74 | // Container child vbox2.Gtk.Box+BoxChild |
---|
75 | this.frame1 = new Gtk.Frame(); |
---|
76 | this.frame1.Name = "frame1"; |
---|
77 | this.frame1.ShadowType = ((Gtk.ShadowType)(0)); |
---|
78 | // Container child frame1.Gtk.Container+ContainerChild |
---|
79 | this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); |
---|
80 | this.GtkAlignment3.Name = "GtkAlignment3"; |
---|
81 | this.GtkAlignment3.LeftPadding = ((uint)(12)); |
---|
82 | // Container child GtkAlignment3.Gtk.Container+ContainerChild |
---|
83 | this.vbox3 = new Gtk.VBox(); |
---|
84 | this.vbox3.Name = "vbox3"; |
---|
85 | this.vbox3.Spacing = 6; |
---|
86 | this.vbox3.BorderWidth = ((uint)(5)); |
---|
87 | // Container child vbox3.Gtk.Box+BoxChild |
---|
88 | this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); |
---|
89 | this.table1.Name = "table1"; |
---|
90 | this.table1.RowSpacing = ((uint)(6)); |
---|
91 | this.table1.ColumnSpacing = ((uint)(6)); |
---|
92 | // Container child table1.Gtk.Table+TableChild |
---|
93 | this.label1 = new Gtk.Label(); |
---|
94 | this.label1.Name = "label1"; |
---|
95 | this.label1.LabelProp = Mono.Unix.Catalog.GetString("px"); |
---|
96 | this.table1.Add(this.label1); |
---|
97 | Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label1])); |
---|
98 | w2.LeftAttach = ((uint)(2)); |
---|
99 | w2.RightAttach = ((uint)(3)); |
---|
100 | w2.XOptions = ((Gtk.AttachOptions)(4)); |
---|
101 | w2.YOptions = ((Gtk.AttachOptions)(4)); |
---|
102 | // Container child table1.Gtk.Table+TableChild |
---|
103 | this.label2 = new Gtk.Label(); |
---|
104 | this.label2.Name = "label2"; |
---|
105 | this.label2.LabelProp = Mono.Unix.Catalog.GetString("px"); |
---|
106 | this.table1.Add(this.label2); |
---|
107 | Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label2])); |
---|
108 | w3.TopAttach = ((uint)(1)); |
---|
109 | w3.BottomAttach = ((uint)(2)); |
---|
110 | w3.LeftAttach = ((uint)(2)); |
---|
111 | w3.RightAttach = ((uint)(3)); |
---|
112 | w3.XOptions = ((Gtk.AttachOptions)(4)); |
---|
113 | w3.YOptions = ((Gtk.AttachOptions)(4)); |
---|
114 | // Container child table1.Gtk.Table+TableChild |
---|
115 | this.label3 = new Gtk.Label(); |
---|
116 | this.label3.Name = "label3"; |
---|
117 | this.label3.LabelProp = Mono.Unix.Catalog.GetString("Width"); |
---|
118 | this.label3.Justify = ((Gtk.Justification)(1)); |
---|
119 | this.table1.Add(this.label3); |
---|
120 | Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label3])); |
---|
121 | w4.XOptions = ((Gtk.AttachOptions)(0)); |
---|
122 | w4.YOptions = ((Gtk.AttachOptions)(4)); |
---|
123 | // Container child table1.Gtk.Table+TableChild |
---|
124 | this.label4 = new Gtk.Label(); |
---|
125 | this.label4.Name = "label4"; |
---|
126 | this.label4.LabelProp = Mono.Unix.Catalog.GetString("Height"); |
---|
127 | this.label4.Justify = ((Gtk.Justification)(1)); |
---|
128 | this.table1.Add(this.label4); |
---|
129 | Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label4])); |
---|
130 | w5.TopAttach = ((uint)(1)); |
---|
131 | w5.BottomAttach = ((uint)(2)); |
---|
132 | w5.XOptions = ((Gtk.AttachOptions)(0)); |
---|
133 | w5.YOptions = ((Gtk.AttachOptions)(4)); |
---|
134 | // Container child table1.Gtk.Table+TableChild |
---|
135 | this.spinbutton1 = new Gtk.SpinButton(1, 1000000, 1); |
---|
136 | this.spinbutton1.CanFocus = true; |
---|
137 | this.spinbutton1.Name = "spinbutton1"; |
---|
138 | this.spinbutton1.Adjustment.PageIncrement = 10; |
---|
139 | this.spinbutton1.ClimbRate = 1; |
---|
140 | this.spinbutton1.Numeric = true; |
---|
141 | this.spinbutton1.Value = 1600; |
---|
142 | this.table1.Add(this.spinbutton1); |
---|
143 | Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton1])); |
---|
144 | w6.LeftAttach = ((uint)(1)); |
---|
145 | w6.RightAttach = ((uint)(2)); |
---|
146 | w6.XOptions = ((Gtk.AttachOptions)(4)); |
---|
147 | w6.YOptions = ((Gtk.AttachOptions)(4)); |
---|
148 | // Container child table1.Gtk.Table+TableChild |
---|
149 | this.spinbutton2 = new Gtk.SpinButton(1, 1000000, 1); |
---|
150 | this.spinbutton2.CanFocus = true; |
---|
151 | this.spinbutton2.Name = "spinbutton2"; |
---|
152 | this.spinbutton2.Adjustment.PageIncrement = 10; |
---|
153 | this.spinbutton2.ClimbRate = 1; |
---|
154 | this.spinbutton2.Numeric = true; |
---|
155 | this.spinbutton2.Value = 1200; |
---|
156 | this.table1.Add(this.spinbutton2); |
---|
157 | Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton2])); |
---|
158 | w7.TopAttach = ((uint)(1)); |
---|
159 | w7.BottomAttach = ((uint)(2)); |
---|
160 | w7.LeftAttach = ((uint)(1)); |
---|
161 | w7.RightAttach = ((uint)(2)); |
---|
162 | w7.XOptions = ((Gtk.AttachOptions)(4)); |
---|
163 | w7.YOptions = ((Gtk.AttachOptions)(4)); |
---|
164 | this.vbox3.Add(this.table1); |
---|
165 | Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1])); |
---|
166 | w8.Position = 0; |
---|
167 | w8.Expand = false; |
---|
168 | w8.Fill = false; |
---|
169 | this.GtkAlignment3.Add(this.vbox3); |
---|
170 | this.frame1.Add(this.GtkAlignment3); |
---|
171 | this.GtkLabel3 = new Gtk.Label(); |
---|
172 | this.GtkLabel3.Name = "GtkLabel3"; |
---|
173 | this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Image Size</b>"); |
---|
174 | this.GtkLabel3.UseMarkup = true; |
---|
175 | this.frame1.LabelWidget = this.GtkLabel3; |
---|
176 | this.vbox2.Add(this.frame1); |
---|
177 | Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1])); |
---|
178 | w11.Position = 0; |
---|
179 | w11.Expand = false; |
---|
180 | w11.Fill = false; |
---|
181 | // Container child vbox2.Gtk.Box+BoxChild |
---|
182 | this.frame2 = new Gtk.Frame(); |
---|
183 | this.frame2.Name = "frame2"; |
---|
184 | this.frame2.ShadowType = ((Gtk.ShadowType)(0)); |
---|
185 | // Container child frame2.Gtk.Container+ContainerChild |
---|
186 | this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); |
---|
187 | this.GtkAlignment.Name = "GtkAlignment"; |
---|
188 | this.GtkAlignment.LeftPadding = ((uint)(12)); |
---|
189 | // Container child GtkAlignment.Gtk.Container+ContainerChild |
---|
190 | this.table2 = new Gtk.Table(((uint)(1)), ((uint)(2)), false); |
---|
191 | this.table2.Name = "table2"; |
---|
192 | this.table2.RowSpacing = ((uint)(6)); |
---|
193 | this.table2.ColumnSpacing = ((uint)(6)); |
---|
194 | // Container child table2.Gtk.Table+TableChild |
---|
195 | this.combobox1 = Gtk.ComboBox.NewText(); |
---|
196 | this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Random Noise")); |
---|
197 | this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Bayer Dithering Pattern")); |
---|
198 | this.combobox1.Name = "combobox1"; |
---|
199 | this.combobox1.Active = 0; |
---|
200 | this.table2.Add(this.combobox1); |
---|
201 | Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table2[this.combobox1])); |
---|
202 | w12.LeftAttach = ((uint)(1)); |
---|
203 | w12.RightAttach = ((uint)(2)); |
---|
204 | w12.XOptions = ((Gtk.AttachOptions)(4)); |
---|
205 | w12.YOptions = ((Gtk.AttachOptions)(4)); |
---|
206 | // Container child table2.Gtk.Table+TableChild |
---|
207 | this.label5 = new Gtk.Label(); |
---|
208 | this.label5.Name = "label5"; |
---|
209 | this.label5.LabelProp = Mono.Unix.Catalog.GetString("Fill with"); |
---|
210 | this.table2.Add(this.label5); |
---|
211 | Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table2[this.label5])); |
---|
212 | w13.XOptions = ((Gtk.AttachOptions)(4)); |
---|
213 | w13.YOptions = ((Gtk.AttachOptions)(4)); |
---|
214 | this.GtkAlignment.Add(this.table2); |
---|
215 | this.frame2.Add(this.GtkAlignment); |
---|
216 | this.GtkLabel = new Gtk.Label(); |
---|
217 | this.GtkLabel.Name = "GtkLabel"; |
---|
218 | this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Advanced</b>"); |
---|
219 | this.GtkLabel.UseMarkup = true; |
---|
220 | this.frame2.LabelWidget = this.GtkLabel; |
---|
221 | this.vbox2.Add(this.frame2); |
---|
222 | Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2])); |
---|
223 | w16.Position = 1; |
---|
224 | w16.Expand = false; |
---|
225 | w16.Fill = false; |
---|
226 | w1.Add(this.vbox2); |
---|
227 | Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); |
---|
228 | w17.Position = 0; |
---|
229 | // Internal child ThePimp.NewFile.ActionArea |
---|
230 | Gtk.HButtonBox w18 = this.ActionArea; |
---|
231 | w18.Name = "dialog1_ActionArea"; |
---|
232 | w18.Spacing = 6; |
---|
233 | w18.BorderWidth = ((uint)(5)); |
---|
234 | w18.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); |
---|
235 | // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
---|
236 | this.buttonCancel = new Gtk.Button(); |
---|
237 | this.buttonCancel.CanDefault = true; |
---|
238 | this.buttonCancel.CanFocus = true; |
---|
239 | this.buttonCancel.Name = "buttonCancel"; |
---|
240 | this.buttonCancel.UseStock = true; |
---|
241 | this.buttonCancel.UseUnderline = true; |
---|
242 | this.buttonCancel.Label = "gtk-cancel"; |
---|
243 | this.AddActionWidget(this.buttonCancel, -6); |
---|
244 | Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonCancel])); |
---|
245 | w19.Expand = false; |
---|
246 | w19.Fill = false; |
---|
247 | // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
---|
248 | this.buttonOk = new Gtk.Button(); |
---|
249 | this.buttonOk.CanDefault = true; |
---|
250 | this.buttonOk.CanFocus = true; |
---|
251 | this.buttonOk.Name = "buttonOk"; |
---|
252 | this.buttonOk.UseStock = true; |
---|
253 | this.buttonOk.UseUnderline = true; |
---|
254 | this.buttonOk.Label = "gtk-ok"; |
---|
255 | this.AddActionWidget(this.buttonOk, -5); |
---|
256 | Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonOk])); |
---|
257 | w20.Position = 1; |
---|
258 | w20.Expand = false; |
---|
259 | w20.Fill = false; |
---|
260 | if ((this.Child != null)) { |
---|
261 | this.Child.ShowAll(); |
---|
262 | } |
---|
263 | this.DefaultWidth = 240; |
---|
264 | this.DefaultHeight = 221; |
---|
265 | this.Show(); |
---|
266 | } |
---|
267 | } |
---|
268 | } |
---|