~mantas/pinta/stable

« back to all changes in this revision

Viewing changes to Pinta/gtk-gui/Pinta.CurvesDialog.cs

  • Committer: Iain Lane
  • Date: 2010-03-13 18:20:18 UTC
  • mfrom: (1.1.2)
  • Revision ID: git-v1:1781694a68ecf232d0110c0b2f3d4a1b96c74ec2
Merge commit 'upstream/0.2'

Conflicts:
        debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// ------------------------------------------------------------------------------
 
2
//  <autogenerated>
 
3
//      This code was generated by a tool.
 
4
//      
 
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 Pinta {
 
12
    
 
13
    
 
14
    public partial class CurvesDialog {
 
15
        
 
16
        private Gtk.HBox hbox1;
 
17
        
 
18
        private Gtk.Label labelMap;
 
19
        
 
20
        private Gtk.HSeparator hseparatorMap;
 
21
        
 
22
        private Gtk.HBox hbox2;
 
23
        
 
24
        private Gtk.ComboBox comboMap;
 
25
        
 
26
        private Gtk.Alignment alignment3;
 
27
        
 
28
        private Gtk.Label labelPoint;
 
29
        
 
30
        private Gtk.DrawingArea drawing;
 
31
        
 
32
        private Gtk.HBox hbox3;
 
33
        
 
34
        private Gtk.CheckButton checkRed;
 
35
        
 
36
        private Gtk.CheckButton checkGreen;
 
37
        
 
38
        private Gtk.CheckButton checkBlue;
 
39
        
 
40
        private Gtk.Alignment alignment1;
 
41
        
 
42
        private Gtk.Button buttonReset;
 
43
        
 
44
        private Gtk.Label labelTip;
 
45
        
 
46
        private Gtk.Button buttonCancel;
 
47
        
 
48
        private Gtk.Button buttonOk;
 
49
        
 
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]));
 
72
            w2.Position = 0;
 
73
            w2.Expand = false;
 
74
            w2.Fill = false;
 
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]));
 
80
            w3.Position = 1;
 
81
            w1.Add(this.hbox1);
 
82
            Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox1]));
 
83
            w4.Position = 0;
 
84
            w4.Expand = false;
 
85
            w4.Fill = false;
 
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]));
 
98
            w5.Position = 0;
 
99
            w5.Expand = false;
 
100
            w5.Fill = false;
 
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));
 
112
            w7.Position = 2;
 
113
            w7.Expand = false;
 
114
            w7.Fill = false;
 
115
            w1.Add(this.hbox2);
 
116
            Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox2]));
 
117
            w8.Position = 1;
 
118
            w8.Expand = false;
 
119
            w8.Fill = false;
 
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]));
 
129
            w9.Position = 2;
 
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]));
 
144
            w10.Position = 0;
 
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]));
 
155
            w11.Position = 1;
 
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]));
 
166
            w12.Position = 2;
 
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]));
 
172
            w13.Position = 3;
 
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]));
 
183
            w14.Position = 4;
 
184
            w14.Expand = false;
 
185
            w14.Fill = false;
 
186
            w1.Add(this.hbox3);
 
187
            Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.hbox3]));
 
188
            w15.Position = 3;
 
189
            w15.Expand = false;
 
190
            w15.Fill = false;
 
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]));
 
197
            w16.Position = 4;
 
198
            w16.Expand = false;
 
199
            w16.Fill = false;
 
200
            // Internal child Pinta.CurvesDialog.ActionArea
 
201
            Gtk.HButtonBox w17 = this.ActionArea;
 
202
            w17.Name = "dialog1_ActionArea";
 
203
            w17.Spacing = 10;
 
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]));
 
215
            w18.Expand = false;
 
216
            w18.Fill = false;
 
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]));
 
227
            w19.Position = 1;
 
228
            w19.Expand = false;
 
229
            w19.Fill = false;
 
230
            if ((this.Child != null)) {
 
231
                this.Child.ShowAll();
 
232
            }
 
233
            this.DefaultWidth = 269;
 
234
            this.DefaultHeight = 418;
 
235
            this.checkRed.Hide();
 
236
            this.checkGreen.Hide();
 
237
            this.checkBlue.Hide();
 
238
            this.Show();
 
239
        }
 
240
    }
 
241
}