You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

195 lines
8.5 KiB

  1. // ------------------------------------------------------------------------------
  2. // <autogenerated>
  3. // This code was generated by a tool.
  4. // Mono Runtime Version: 2.0.50727.42
  5. //
  6. // Changes to this file may cause incorrect behavior and will be lost if
  7. // the code is regenerated.
  8. // </autogenerated>
  9. // ------------------------------------------------------------------------------
  10. namespace ThePimp {
  11. public partial class NewFile {
  12. private Gtk.VBox vbox2;
  13. private Gtk.ComboBox combobox1;
  14. private Gtk.Table table1;
  15. private Gtk.Entry entry1;
  16. private Gtk.Entry entry2;
  17. private Gtk.Label label1;
  18. private Gtk.Label label2;
  19. private Gtk.Label label3;
  20. private Gtk.Label label4;
  21. private Gtk.Button buttonCancel;
  22. private Gtk.Button buttonOk;
  23. protected virtual void Build() {
  24. Stetic.Gui.Initialize(this);
  25. // Widget ThePimp.NewFile
  26. this.Name = "ThePimp.NewFile";
  27. this.Title = Mono.Unix.Catalog.GetString("New Image");
  28. this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16);
  29. this.WindowPosition = ((Gtk.WindowPosition)(4));
  30. this.HasSeparator = false;
  31. // Internal child ThePimp.NewFile.VBox
  32. Gtk.VBox w1 = this.VBox;
  33. w1.Name = "dialog1_VBox";
  34. w1.BorderWidth = ((uint)(2));
  35. // Container child dialog1_VBox.Gtk.Box+BoxChild
  36. this.vbox2 = new Gtk.VBox();
  37. this.vbox2.Name = "vbox2";
  38. this.vbox2.Spacing = 6;
  39. this.vbox2.BorderWidth = ((uint)(5));
  40. // Container child vbox2.Gtk.Box+BoxChild
  41. this.combobox1 = Gtk.ComboBox.NewText();
  42. this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Random Noise"));
  43. this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Bayer Dithering Pattern"));
  44. this.combobox1.Name = "combobox1";
  45. this.combobox1.Active = 0;
  46. this.vbox2.Add(this.combobox1);
  47. Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.combobox1]));
  48. w2.Position = 0;
  49. w2.Expand = false;
  50. w2.Fill = false;
  51. // Container child vbox2.Gtk.Box+BoxChild
  52. this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
  53. this.table1.Name = "table1";
  54. this.table1.RowSpacing = ((uint)(6));
  55. this.table1.ColumnSpacing = ((uint)(6));
  56. // Container child table1.Gtk.Table+TableChild
  57. this.entry1 = new Gtk.Entry();
  58. this.entry1.CanFocus = true;
  59. this.entry1.Name = "entry1";
  60. this.entry1.Text = Mono.Unix.Catalog.GetString("1024");
  61. this.entry1.IsEditable = true;
  62. this.entry1.WidthChars = 6;
  63. this.entry1.InvisibleChar = '●';
  64. this.entry1.Xalign = 1F;
  65. this.table1.Add(this.entry1);
  66. Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.entry1]));
  67. w3.LeftAttach = ((uint)(1));
  68. w3.RightAttach = ((uint)(2));
  69. w3.XOptions = ((Gtk.AttachOptions)(4));
  70. w3.YOptions = ((Gtk.AttachOptions)(4));
  71. // Container child table1.Gtk.Table+TableChild
  72. this.entry2 = new Gtk.Entry();
  73. this.entry2.CanFocus = true;
  74. this.entry2.Name = "entry2";
  75. this.entry2.Text = Mono.Unix.Catalog.GetString("768");
  76. this.entry2.IsEditable = true;
  77. this.entry2.WidthChars = 6;
  78. this.entry2.InvisibleChar = '●';
  79. this.entry2.Xalign = 1F;
  80. this.table1.Add(this.entry2);
  81. Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.entry2]));
  82. w4.TopAttach = ((uint)(1));
  83. w4.BottomAttach = ((uint)(2));
  84. w4.LeftAttach = ((uint)(1));
  85. w4.RightAttach = ((uint)(2));
  86. w4.XOptions = ((Gtk.AttachOptions)(4));
  87. w4.YOptions = ((Gtk.AttachOptions)(4));
  88. // Container child table1.Gtk.Table+TableChild
  89. this.label1 = new Gtk.Label();
  90. this.label1.Name = "label1";
  91. this.label1.LabelProp = Mono.Unix.Catalog.GetString("px");
  92. this.table1.Add(this.label1);
  93. Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
  94. w5.LeftAttach = ((uint)(2));
  95. w5.RightAttach = ((uint)(3));
  96. w5.XOptions = ((Gtk.AttachOptions)(4));
  97. w5.YOptions = ((Gtk.AttachOptions)(4));
  98. // Container child table1.Gtk.Table+TableChild
  99. this.label2 = new Gtk.Label();
  100. this.label2.Name = "label2";
  101. this.label2.LabelProp = Mono.Unix.Catalog.GetString("px");
  102. this.table1.Add(this.label2);
  103. Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
  104. w6.TopAttach = ((uint)(1));
  105. w6.BottomAttach = ((uint)(2));
  106. w6.LeftAttach = ((uint)(2));
  107. w6.RightAttach = ((uint)(3));
  108. w6.XOptions = ((Gtk.AttachOptions)(4));
  109. w6.YOptions = ((Gtk.AttachOptions)(4));
  110. // Container child table1.Gtk.Table+TableChild
  111. this.label3 = new Gtk.Label();
  112. this.label3.Name = "label3";
  113. this.label3.LabelProp = Mono.Unix.Catalog.GetString("Width");
  114. this.label3.Justify = ((Gtk.Justification)(1));
  115. this.table1.Add(this.label3);
  116. Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
  117. w7.XOptions = ((Gtk.AttachOptions)(0));
  118. w7.YOptions = ((Gtk.AttachOptions)(4));
  119. // Container child table1.Gtk.Table+TableChild
  120. this.label4 = new Gtk.Label();
  121. this.label4.Name = "label4";
  122. this.label4.LabelProp = Mono.Unix.Catalog.GetString("Height");
  123. this.label4.Justify = ((Gtk.Justification)(1));
  124. this.table1.Add(this.label4);
  125. Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
  126. w8.TopAttach = ((uint)(1));
  127. w8.BottomAttach = ((uint)(2));
  128. w8.XOptions = ((Gtk.AttachOptions)(0));
  129. w8.YOptions = ((Gtk.AttachOptions)(4));
  130. this.vbox2.Add(this.table1);
  131. Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.table1]));
  132. w9.Position = 1;
  133. w9.Expand = false;
  134. w9.Fill = false;
  135. w1.Add(this.vbox2);
  136. Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
  137. w10.Position = 0;
  138. w10.Expand = false;
  139. w10.Fill = false;
  140. // Internal child ThePimp.NewFile.ActionArea
  141. Gtk.HButtonBox w11 = this.ActionArea;
  142. w11.Name = "dialog1_ActionArea";
  143. w11.Spacing = 6;
  144. w11.BorderWidth = ((uint)(5));
  145. w11.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
  146. // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  147. this.buttonCancel = new Gtk.Button();
  148. this.buttonCancel.CanDefault = true;
  149. this.buttonCancel.CanFocus = true;
  150. this.buttonCancel.Name = "buttonCancel";
  151. this.buttonCancel.UseStock = true;
  152. this.buttonCancel.UseUnderline = true;
  153. this.buttonCancel.Label = "gtk-cancel";
  154. this.AddActionWidget(this.buttonCancel, -6);
  155. Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonCancel]));
  156. w12.Expand = false;
  157. w12.Fill = false;
  158. // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  159. this.buttonOk = new Gtk.Button();
  160. this.buttonOk.CanDefault = true;
  161. this.buttonOk.CanFocus = true;
  162. this.buttonOk.Name = "buttonOk";
  163. this.buttonOk.UseStock = true;
  164. this.buttonOk.UseUnderline = true;
  165. this.buttonOk.Label = "gtk-ok";
  166. this.AddActionWidget(this.buttonOk, -5);
  167. Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonOk]));
  168. w13.Position = 1;
  169. w13.Expand = false;
  170. w13.Fill = false;
  171. if ((this.Child != null)) {
  172. this.Child.ShowAll();
  173. }
  174. this.DefaultWidth = 400;
  175. this.DefaultHeight = 300;
  176. this.Show();
  177. }
  178. }
  179. }