~mantas/pinta/stable

« back to all changes in this revision

Viewing changes to Pinta/gtk-gui/Pinta.PosterizeDialog.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 PosterizeDialog {
 
15
        
 
16
        private Gtk.VBox vbox2;
 
17
        
 
18
        private Pinta.HScaleSpinButtonWidget hscalespinRed;
 
19
        
 
20
        private Pinta.HScaleSpinButtonWidget hscalespinGreen;
 
21
        
 
22
        private Pinta.HScaleSpinButtonWidget hscalespinBlue;
 
23
        
 
24
        private Gtk.CheckButton checkLinked;
 
25
        
 
26
        private Gtk.Button buttonCancel;
 
27
        
 
28
        private Gtk.Button buttonOk;
 
29
        
 
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]));
 
55
            w2.Position = 0;
 
56
            w2.Expand = false;
 
57
            w2.Fill = false;
 
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]));
 
69
            w3.Position = 1;
 
70
            w3.Expand = false;
 
71
            w3.Fill = false;
 
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]));
 
83
            w4.Position = 2;
 
84
            w4.Expand = false;
 
85
            w4.Fill = false;
 
86
            w1.Add(this.vbox2);
 
87
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
 
88
            w5.Position = 0;
 
89
            w5.Expand = false;
 
90
            w5.Fill = false;
 
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]));
 
101
            w6.Position = 1;
 
102
            w6.Expand = false;
 
103
            w6.Fill = false;
 
104
            // Internal child Pinta.PosterizeDialog.ActionArea
 
105
            Gtk.HButtonBox w7 = this.ActionArea;
 
106
            w7.Name = "dialog1_ActionArea";
 
107
            w7.Spacing = 10;
 
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]));
 
120
            w8.Expand = false;
 
121
            w8.Fill = false;
 
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]));
 
132
            w9.Position = 1;
 
133
            w9.Expand = false;
 
134
            w9.Fill = false;
 
135
            if ((this.Child != null)) {
 
136
                this.Child.ShowAll();
 
137
            }
 
138
            this.DefaultWidth = 400;
 
139
            this.DefaultHeight = 300;
 
140
            this.Show();
 
141
        }
 
142
    }
 
143
}