// ------------------------------------------------------------------------------ // // This code was generated by a tool. // Mono Runtime Version: 2.0.50727.42 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ namespace ThePimp { public partial class NewFile { private Gtk.VBox vbox2; private Gtk.Frame frame1; private Gtk.Alignment GtkAlignment3; private Gtk.VBox vbox3; private Gtk.Table table1; private Gtk.Label label1; private Gtk.Label label2; private Gtk.Label label3; private Gtk.Label label4; private Gtk.SpinButton spinbutton1; private Gtk.SpinButton spinbutton2; private Gtk.Label GtkLabel3; private Gtk.Frame frame2; private Gtk.Alignment GtkAlignment; private Gtk.Table table2; private Gtk.ComboBox combobox1; private Gtk.Label label5; private Gtk.Label GtkLabel; private Gtk.Button buttonCancel; private Gtk.Button buttonOk; protected virtual void Build() { Stetic.Gui.Initialize(this); // Widget ThePimp.NewFile this.Name = "ThePimp.NewFile"; this.Title = Mono.Unix.Catalog.GetString("New Image"); this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; this.HasSeparator = false; // Internal child ThePimp.NewFile.VBox Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox2 = new Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.frame1 = new Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.vbox3 = new Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox3.BorderWidth = ((uint)(5)); // Container child vbox3.Gtk.Box+BoxChild this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = Mono.Unix.Catalog.GetString("px"); this.table1.Add(this.label1); Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((Gtk.AttachOptions)(4)); w2.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = Mono.Unix.Catalog.GetString("px"); this.table1.Add(this.label2); Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((Gtk.AttachOptions)(4)); w3.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = Mono.Unix.Catalog.GetString("Width"); this.label3.Justify = ((Gtk.Justification)(1)); this.table1.Add(this.label3); Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w4.XOptions = ((Gtk.AttachOptions)(0)); w4.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = Mono.Unix.Catalog.GetString("Height"); this.label4.Justify = ((Gtk.Justification)(1)); this.table1.Add(this.label4); Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label4])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((Gtk.AttachOptions)(0)); w5.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton1 = new Gtk.SpinButton(1, 1000000, 1); this.spinbutton1.CanFocus = true; this.spinbutton1.Name = "spinbutton1"; this.spinbutton1.Adjustment.PageIncrement = 10; this.spinbutton1.ClimbRate = 1; this.spinbutton1.Numeric = true; this.spinbutton1.Value = 1600; this.table1.Add(this.spinbutton1); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton1])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((Gtk.AttachOptions)(4)); w6.YOptions = ((Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinbutton2 = new Gtk.SpinButton(1, 1000000, 1); this.spinbutton2.CanFocus = true; this.spinbutton2.Name = "spinbutton2"; this.spinbutton2.Adjustment.PageIncrement = 10; this.spinbutton2.ClimbRate = 1; this.spinbutton2.Numeric = true; this.spinbutton2.Value = 1200; this.table1.Add(this.spinbutton2); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton2])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((Gtk.AttachOptions)(4)); w7.YOptions = ((Gtk.AttachOptions)(4)); this.vbox3.Add(this.table1); Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; this.GtkAlignment3.Add(this.vbox3); this.frame1.Add(this.GtkAlignment3); this.GtkLabel3 = new Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("Image Size"); this.GtkLabel3.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel3; this.vbox2.Add(this.frame1); Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.frame2 = new Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.table2 = new Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.combobox1 = Gtk.ComboBox.NewText(); this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Random Noise")); this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Bayer Dithering Pattern")); this.combobox1.Name = "combobox1"; this.combobox1.Active = 0; this.table2.Add(this.combobox1); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table2[this.combobox1])); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((Gtk.AttachOptions)(4)); w12.YOptions = ((Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label5 = new Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = Mono.Unix.Catalog.GetString("Fill with"); this.table2.Add(this.label5); Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table2[this.label5])); w13.XOptions = ((Gtk.AttachOptions)(4)); w13.YOptions = ((Gtk.AttachOptions)(4)); this.GtkAlignment.Add(this.table2); this.frame2.Add(this.GtkAlignment); this.GtkLabel = new Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("Advanced"); this.GtkLabel.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel; this.vbox2.Add(this.frame2); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2])); w16.Position = 1; w16.Expand = false; w16.Fill = false; w1.Add(this.vbox2); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); w17.Position = 0; // Internal child ThePimp.NewFile.ActionArea Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 6; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonCancel])); w19.Expand = false; w19.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonOk])); w20.Position = 1; w20.Expand = false; w20.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 240; this.DefaultHeight = 221; this.Show(); } } }