|
|
@@ -0,0 +1,194 @@ |
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
// <autogenerated> |
|
|
|
// 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. |
|
|
|
// </autogenerated> |
|
|
|
// ------------------------------------------------------------------------------ |
|
|
|
|
|
|
|
namespace ThePimp { |
|
|
|
|
|
|
|
|
|
|
|
public partial class NewFile { |
|
|
|
|
|
|
|
private Gtk.VBox vbox2; |
|
|
|
|
|
|
|
private Gtk.ComboBox combobox1; |
|
|
|
|
|
|
|
private Gtk.Table table1; |
|
|
|
|
|
|
|
private Gtk.Entry entry1; |
|
|
|
|
|
|
|
private Gtk.Entry entry2; |
|
|
|
|
|
|
|
private Gtk.Label label1; |
|
|
|
|
|
|
|
private Gtk.Label label2; |
|
|
|
|
|
|
|
private Gtk.Label label3; |
|
|
|
|
|
|
|
private Gtk.Label label4; |
|
|
|
|
|
|
|
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.WindowPosition = ((Gtk.WindowPosition)(4)); |
|
|
|
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; |
|
|
|
this.vbox2.BorderWidth = ((uint)(5)); |
|
|
|
// Container child vbox2.Gtk.Box+BoxChild |
|
|
|
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.vbox2.Add(this.combobox1); |
|
|
|
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.combobox1])); |
|
|
|
w2.Position = 0; |
|
|
|
w2.Expand = false; |
|
|
|
w2.Fill = false; |
|
|
|
// Container child vbox2.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.entry1 = new Gtk.Entry(); |
|
|
|
this.entry1.CanFocus = true; |
|
|
|
this.entry1.Name = "entry1"; |
|
|
|
this.entry1.Text = Mono.Unix.Catalog.GetString("1024"); |
|
|
|
this.entry1.IsEditable = true; |
|
|
|
this.entry1.WidthChars = 6; |
|
|
|
this.entry1.InvisibleChar = '●'; |
|
|
|
this.entry1.Xalign = 1F; |
|
|
|
this.table1.Add(this.entry1); |
|
|
|
Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.entry1])); |
|
|
|
w3.LeftAttach = ((uint)(1)); |
|
|
|
w3.RightAttach = ((uint)(2)); |
|
|
|
w3.XOptions = ((Gtk.AttachOptions)(4)); |
|
|
|
w3.YOptions = ((Gtk.AttachOptions)(4)); |
|
|
|
// Container child table1.Gtk.Table+TableChild |
|
|
|
this.entry2 = new Gtk.Entry(); |
|
|
|
this.entry2.CanFocus = true; |
|
|
|
this.entry2.Name = "entry2"; |
|
|
|
this.entry2.Text = Mono.Unix.Catalog.GetString("768"); |
|
|
|
this.entry2.IsEditable = true; |
|
|
|
this.entry2.WidthChars = 6; |
|
|
|
this.entry2.InvisibleChar = '●'; |
|
|
|
this.entry2.Xalign = 1F; |
|
|
|
this.table1.Add(this.entry2); |
|
|
|
Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.entry2])); |
|
|
|
w4.TopAttach = ((uint)(1)); |
|
|
|
w4.BottomAttach = ((uint)(2)); |
|
|
|
w4.LeftAttach = ((uint)(1)); |
|
|
|
w4.RightAttach = ((uint)(2)); |
|
|
|
w4.XOptions = ((Gtk.AttachOptions)(4)); |
|
|
|
w4.YOptions = ((Gtk.AttachOptions)(4)); |
|
|
|
// 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 w5 = ((Gtk.Table.TableChild)(this.table1[this.label1])); |
|
|
|
w5.LeftAttach = ((uint)(2)); |
|
|
|
w5.RightAttach = ((uint)(3)); |
|
|
|
w5.XOptions = ((Gtk.AttachOptions)(4)); |
|
|
|
w5.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 w6 = ((Gtk.Table.TableChild)(this.table1[this.label2])); |
|
|
|
w6.TopAttach = ((uint)(1)); |
|
|
|
w6.BottomAttach = ((uint)(2)); |
|
|
|
w6.LeftAttach = ((uint)(2)); |
|
|
|
w6.RightAttach = ((uint)(3)); |
|
|
|
w6.XOptions = ((Gtk.AttachOptions)(4)); |
|
|
|
w6.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 w7 = ((Gtk.Table.TableChild)(this.table1[this.label3])); |
|
|
|
w7.XOptions = ((Gtk.AttachOptions)(0)); |
|
|
|
w7.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 w8 = ((Gtk.Table.TableChild)(this.table1[this.label4])); |
|
|
|
w8.TopAttach = ((uint)(1)); |
|
|
|
w8.BottomAttach = ((uint)(2)); |
|
|
|
w8.XOptions = ((Gtk.AttachOptions)(0)); |
|
|
|
w8.YOptions = ((Gtk.AttachOptions)(4)); |
|
|
|
this.vbox2.Add(this.table1); |
|
|
|
Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.table1])); |
|
|
|
w9.Position = 1; |
|
|
|
w9.Expand = false; |
|
|
|
w9.Fill = false; |
|
|
|
w1.Add(this.vbox2); |
|
|
|
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.vbox2])); |
|
|
|
w10.Position = 0; |
|
|
|
w10.Expand = false; |
|
|
|
w10.Fill = false; |
|
|
|
// Internal child ThePimp.NewFile.ActionArea |
|
|
|
Gtk.HButtonBox w11 = this.ActionArea; |
|
|
|
w11.Name = "dialog1_ActionArea"; |
|
|
|
w11.Spacing = 6; |
|
|
|
w11.BorderWidth = ((uint)(5)); |
|
|
|
w11.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 w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonCancel])); |
|
|
|
w12.Expand = false; |
|
|
|
w12.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 w13 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonOk])); |
|
|
|
w13.Position = 1; |
|
|
|
w13.Expand = false; |
|
|
|
w13.Fill = false; |
|
|
|
if ((this.Child != null)) { |
|
|
|
this.Child.ShowAll(); |
|
|
|
} |
|
|
|
this.DefaultWidth = 400; |
|
|
|
this.DefaultHeight = 300; |
|
|
|
this.Show(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |