1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
14
public partial class CurvesDialog {
16
private Gtk.HBox hbox1;
18
private Gtk.Label labelMap;
20
private Gtk.HSeparator hseparatorMap;
22
private Gtk.HBox hbox2;
24
private Gtk.ComboBox comboMap;
26
private Gtk.Alignment alignment3;
28
private Gtk.Label labelPoint;
30
private Gtk.DrawingArea drawing;
32
private Gtk.HBox hbox3;
34
private Gtk.CheckButton checkRed;
36
private Gtk.CheckButton checkGreen;
38
private Gtk.CheckButton checkBlue;
40
private Gtk.Alignment alignment1;
42
private Gtk.Button buttonReset;
44
private Gtk.Label labelTip;
46
private Gtk.Button buttonCancel;
48
private Gtk.Button buttonOk;
50
protected virtual void Build() {
51
Stetic.Gui.Initialize(this);
52
// Widget Pinta.CurvesDialog
53
this.Name = "Pinta.CurvesDialog";
54
this.Title = Mono.Unix.Catalog.GetString("Curves");
55
this.WindowPosition = ((Gtk.WindowPosition)(4));
56
this.Resizable = false;
57
this.AllowGrow = false;
58
// Internal child Pinta.CurvesDialog.VBox
59
Gtk.VBox w1 = this.VBox;
60
w1.Name = "dialog1_VBox";
61
w1.BorderWidth = ((uint)(2));
62
// Container child dialog1_VBox.Gtk.Box+BoxChild
63
this.hbox1 = new Gtk.HBox();
64
this.hbox1.Name = "hbox1";
65
this.hbox1.Spacing = 6;
66
// Container child hbox1.Gtk.Box+BoxChild
67
this.labelMap = new Gtk.Label();
68
this.labelMap.Name = "labelMap";
69
this.labelMap.LabelProp = Mono.Unix.Catalog.GetString("Transfer Map");
70
this.hbox1.Add(this.labelMap);
71
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.labelMap]));
75
// Container child hbox1.Gtk.Box+BoxChild
76
this.hseparatorMap = new Gtk.HSeparator();
77
this.hseparatorMap.Name = "hseparatorMap";
78
this.hbox1.Add(this.hseparatorMap);
79
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.hseparatorMap]));
82
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
86
// Container child dialog1_VBox.Gtk.Box+BoxChild
87
this.hbox2 = new Gtk.HBox();
88
this.hbox2.Name = "hbox2";
89
this.hbox2.Spacing = 6;
90
// Container child hbox2.Gtk.Box+BoxChild
91
this.comboMap = Gtk.ComboBox.NewText();
92
this.comboMap.AppendText(Mono.Unix.Catalog.GetString("RGB"));
93
this.comboMap.AppendText(Mono.Unix.Catalog.GetString("Luminosity"));
94
this.comboMap.Name = "comboMap";
95
this.comboMap.Active = 1;
96
this.hbox2.Add(this.comboMap);
97
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.comboMap]));
101
// Container child hbox2.Gtk.Box+BoxChild
102
this.alignment3 = new Gtk.Alignment(1F, 0.5F, 0F, 0F);
103
this.alignment3.Name = "alignment3";
104
// Container child alignment3.Gtk.Container+ContainerChild
105
this.labelPoint = new Gtk.Label();
106
this.labelPoint.Name = "labelPoint";
107
this.labelPoint.LabelProp = Mono.Unix.Catalog.GetString("(256, 256)");
108
this.alignment3.Add(this.labelPoint);
109
this.hbox2.Add(this.alignment3);
110
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox2[this.alignment3]));
111
w7.PackType = ((Gtk.PackType)(1));
116
Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox2]));
120
// Container child dialog1_VBox.Gtk.Box+BoxChild
121
this.drawing = new Gtk.DrawingArea();
122
this.drawing.WidthRequest = 256;
123
this.drawing.HeightRequest = 256;
124
this.drawing.CanFocus = true;
125
this.drawing.Events = ((Gdk.EventMask)(795646));
126
this.drawing.Name = "drawing";
127
w1.Add(this.drawing);
128
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(w1[this.drawing]));
130
w9.Padding = ((uint)(8));
131
// Container child dialog1_VBox.Gtk.Box+BoxChild
132
this.hbox3 = new Gtk.HBox();
133
this.hbox3.Name = "hbox3";
134
// Container child hbox3.Gtk.Box+BoxChild
135
this.checkRed = new Gtk.CheckButton();
136
this.checkRed.CanFocus = true;
137
this.checkRed.Name = "checkRed";
138
this.checkRed.Label = Mono.Unix.Catalog.GetString("Red ");
139
this.checkRed.Active = true;
140
this.checkRed.DrawIndicator = true;
141
this.checkRed.UseUnderline = true;
142
this.hbox3.Add(this.checkRed);
143
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox3[this.checkRed]));
145
// Container child hbox3.Gtk.Box+BoxChild
146
this.checkGreen = new Gtk.CheckButton();
147
this.checkGreen.CanFocus = true;
148
this.checkGreen.Name = "checkGreen";
149
this.checkGreen.Label = Mono.Unix.Catalog.GetString("Green");
150
this.checkGreen.Active = true;
151
this.checkGreen.DrawIndicator = true;
152
this.checkGreen.UseUnderline = true;
153
this.hbox3.Add(this.checkGreen);
154
Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.hbox3[this.checkGreen]));
156
// Container child hbox3.Gtk.Box+BoxChild
157
this.checkBlue = new Gtk.CheckButton();
158
this.checkBlue.CanFocus = true;
159
this.checkBlue.Name = "checkBlue";
160
this.checkBlue.Label = Mono.Unix.Catalog.GetString("Blue ");
161
this.checkBlue.Active = true;
162
this.checkBlue.DrawIndicator = true;
163
this.checkBlue.UseUnderline = true;
164
this.hbox3.Add(this.checkBlue);
165
Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(this.hbox3[this.checkBlue]));
167
// Container child hbox3.Gtk.Box+BoxChild
168
this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
169
this.alignment1.Name = "alignment1";
170
this.hbox3.Add(this.alignment1);
171
Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox3[this.alignment1]));
173
// Container child hbox3.Gtk.Box+BoxChild
174
this.buttonReset = new Gtk.Button();
175
this.buttonReset.WidthRequest = 81;
176
this.buttonReset.HeightRequest = 30;
177
this.buttonReset.CanFocus = true;
178
this.buttonReset.Name = "buttonReset";
179
this.buttonReset.UseUnderline = true;
180
this.buttonReset.Label = Mono.Unix.Catalog.GetString("Reset");
181
this.hbox3.Add(this.buttonReset);
182
Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox3[this.buttonReset]));
187
Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.hbox3]));
191
// Container child dialog1_VBox.Gtk.Box+BoxChild
192
this.labelTip = new Gtk.Label();
193
this.labelTip.Name = "labelTip";
194
this.labelTip.LabelProp = Mono.Unix.Catalog.GetString("Tip : Right-click to remove control points.");
195
w1.Add(this.labelTip);
196
Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(w1[this.labelTip]));
200
// Internal child Pinta.CurvesDialog.ActionArea
201
Gtk.HButtonBox w17 = this.ActionArea;
202
w17.Name = "dialog1_ActionArea";
204
w17.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
205
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
206
this.buttonCancel = new Gtk.Button();
207
this.buttonCancel.CanDefault = true;
208
this.buttonCancel.CanFocus = true;
209
this.buttonCancel.Name = "buttonCancel";
210
this.buttonCancel.UseStock = true;
211
this.buttonCancel.UseUnderline = true;
212
this.buttonCancel.Label = "gtk-cancel";
213
this.AddActionWidget(this.buttonCancel, -6);
214
Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonCancel]));
217
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
218
this.buttonOk = new Gtk.Button();
219
this.buttonOk.CanDefault = true;
220
this.buttonOk.CanFocus = true;
221
this.buttonOk.Name = "buttonOk";
222
this.buttonOk.UseStock = true;
223
this.buttonOk.UseUnderline = true;
224
this.buttonOk.Label = "gtk-ok";
225
this.AddActionWidget(this.buttonOk, -5);
226
Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w17[this.buttonOk]));
230
if ((this.Child != null)) {
231
this.Child.ShowAll();
233
this.DefaultWidth = 269;
234
this.DefaultHeight = 418;
235
this.checkRed.Hide();
236
this.checkGreen.Hide();
237
this.checkBlue.Hide();