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 PosterizeDialog {
16
private Gtk.VBox vbox2;
18
private Pinta.HScaleSpinButtonWidget hscalespinRed;
20
private Pinta.HScaleSpinButtonWidget hscalespinGreen;
22
private Pinta.HScaleSpinButtonWidget hscalespinBlue;
24
private Gtk.CheckButton checkLinked;
26
private Gtk.Button buttonCancel;
28
private Gtk.Button buttonOk;
30
protected virtual void Build() {
31
Stetic.Gui.Initialize(this);
32
// Widget Pinta.PosterizeDialog
33
this.Name = "Pinta.PosterizeDialog";
34
this.Title = Mono.Unix.Catalog.GetString("Posterize");
35
this.WindowPosition = ((Gtk.WindowPosition)(4));
36
// Internal child Pinta.PosterizeDialog.VBox
37
Gtk.VBox w1 = this.VBox;
38
w1.Name = "dialog1_VBox";
39
w1.BorderWidth = ((uint)(2));
40
// Container child dialog1_VBox.Gtk.Box+BoxChild
41
this.vbox2 = new Gtk.VBox();
42
this.vbox2.Name = "vbox2";
43
this.vbox2.Spacing = 6;
44
// Container child vbox2.Gtk.Box+BoxChild
45
this.hscalespinRed = new Pinta.HScaleSpinButtonWidget();
46
this.hscalespinRed.Events = ((Gdk.EventMask)(256));
47
this.hscalespinRed.Name = "hscalespinRed";
48
this.hscalespinRed.Label = "Red";
49
this.hscalespinRed.DefaultValue = 16;
50
this.hscalespinRed.MaximumValue = 64;
51
this.hscalespinRed.MinimumValue = 2;
52
this.hscalespinRed.Value = 0;
53
this.vbox2.Add(this.hscalespinRed);
54
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.hscalespinRed]));
58
// Container child vbox2.Gtk.Box+BoxChild
59
this.hscalespinGreen = new Pinta.HScaleSpinButtonWidget();
60
this.hscalespinGreen.Events = ((Gdk.EventMask)(256));
61
this.hscalespinGreen.Name = "hscalespinGreen";
62
this.hscalespinGreen.Label = "Green";
63
this.hscalespinGreen.DefaultValue = 16;
64
this.hscalespinGreen.MaximumValue = 64;
65
this.hscalespinGreen.MinimumValue = 2;
66
this.hscalespinGreen.Value = 0;
67
this.vbox2.Add(this.hscalespinGreen);
68
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.hscalespinGreen]));
72
// Container child vbox2.Gtk.Box+BoxChild
73
this.hscalespinBlue = new Pinta.HScaleSpinButtonWidget();
74
this.hscalespinBlue.Events = ((Gdk.EventMask)(256));
75
this.hscalespinBlue.Name = "hscalespinBlue";
76
this.hscalespinBlue.Label = "Blue";
77
this.hscalespinBlue.DefaultValue = 16;
78
this.hscalespinBlue.MaximumValue = 64;
79
this.hscalespinBlue.MinimumValue = 2;
80
this.hscalespinBlue.Value = 0;
81
this.vbox2.Add(this.hscalespinBlue);
82
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox2[this.hscalespinBlue]));
87
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
91
// Container child dialog1_VBox.Gtk.Box+BoxChild
92
this.checkLinked = new Gtk.CheckButton();
93
this.checkLinked.CanFocus = true;
94
this.checkLinked.Name = "checkLinked";
95
this.checkLinked.Label = Mono.Unix.Catalog.GetString("Linked");
96
this.checkLinked.Active = true;
97
this.checkLinked.DrawIndicator = true;
98
this.checkLinked.UseUnderline = true;
99
w1.Add(this.checkLinked);
100
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w1[this.checkLinked]));
104
// Internal child Pinta.PosterizeDialog.ActionArea
105
Gtk.HButtonBox w7 = this.ActionArea;
106
w7.Name = "dialog1_ActionArea";
108
w7.BorderWidth = ((uint)(5));
109
w7.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
110
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
111
this.buttonCancel = new Gtk.Button();
112
this.buttonCancel.CanDefault = true;
113
this.buttonCancel.CanFocus = true;
114
this.buttonCancel.Name = "buttonCancel";
115
this.buttonCancel.UseStock = true;
116
this.buttonCancel.UseUnderline = true;
117
this.buttonCancel.Label = "gtk-cancel";
118
this.AddActionWidget(this.buttonCancel, -6);
119
Gtk.ButtonBox.ButtonBoxChild w8 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonCancel]));
122
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
123
this.buttonOk = new Gtk.Button();
124
this.buttonOk.CanDefault = true;
125
this.buttonOk.CanFocus = true;
126
this.buttonOk.Name = "buttonOk";
127
this.buttonOk.UseStock = true;
128
this.buttonOk.UseUnderline = true;
129
this.buttonOk.Label = "gtk-ok";
130
this.AddActionWidget(this.buttonOk, -5);
131
Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk]));
135
if ((this.Child != null)) {
136
this.Child.ShowAll();
138
this.DefaultWidth = 400;
139
this.DefaultHeight = 300;