Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

ThePimp.NewFile.cs 12 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  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.Frame frame1;
  14. private Gtk.Alignment GtkAlignment3;
  15. private Gtk.VBox vbox3;
  16. private Gtk.Table table1;
  17. private Gtk.Label label1;
  18. private Gtk.Label label2;
  19. private Gtk.Label label3;
  20. private Gtk.Label label4;
  21. private Gtk.SpinButton spinbutton1;
  22. private Gtk.SpinButton spinbutton2;
  23. private Gtk.Label GtkLabel3;
  24. private Gtk.Frame frame2;
  25. private Gtk.Alignment GtkAlignment;
  26. private Gtk.Table table2;
  27. private Gtk.ComboBox combobox1;
  28. private Gtk.Label label5;
  29. private Gtk.Label GtkLabel;
  30. private Gtk.Button buttonCancel;
  31. private Gtk.Button buttonOk;
  32. protected virtual void Build() {
  33. Stetic.Gui.Initialize(this);
  34. // Widget ThePimp.NewFile
  35. this.Name = "ThePimp.NewFile";
  36. this.Title = Mono.Unix.Catalog.GetString("New Image");
  37. this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16);
  38. this.TypeHint = ((Gdk.WindowTypeHint)(1));
  39. this.WindowPosition = ((Gtk.WindowPosition)(4));
  40. this.Modal = true;
  41. this.HasSeparator = false;
  42. // Internal child ThePimp.NewFile.VBox
  43. Gtk.VBox w1 = this.VBox;
  44. w1.Name = "dialog1_VBox";
  45. w1.BorderWidth = ((uint)(2));
  46. // Container child dialog1_VBox.Gtk.Box+BoxChild
  47. this.vbox2 = new Gtk.VBox();
  48. this.vbox2.Name = "vbox2";
  49. this.vbox2.Spacing = 6;
  50. // Container child vbox2.Gtk.Box+BoxChild
  51. this.frame1 = new Gtk.Frame();
  52. this.frame1.Name = "frame1";
  53. this.frame1.ShadowType = ((Gtk.ShadowType)(0));
  54. // Container child frame1.Gtk.Container+ContainerChild
  55. this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F);
  56. this.GtkAlignment3.Name = "GtkAlignment3";
  57. this.GtkAlignment3.LeftPadding = ((uint)(12));
  58. // Container child GtkAlignment3.Gtk.Container+ContainerChild
  59. this.vbox3 = new Gtk.VBox();
  60. this.vbox3.Name = "vbox3";
  61. this.vbox3.Spacing = 6;
  62. this.vbox3.BorderWidth = ((uint)(5));
  63. // Container child vbox3.Gtk.Box+BoxChild
  64. this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
  65. this.table1.Name = "table1";
  66. this.table1.RowSpacing = ((uint)(6));
  67. this.table1.ColumnSpacing = ((uint)(6));
  68. // Container child table1.Gtk.Table+TableChild
  69. this.label1 = new Gtk.Label();
  70. this.label1.Name = "label1";
  71. this.label1.LabelProp = Mono.Unix.Catalog.GetString("px");
  72. this.table1.Add(this.label1);
  73. Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
  74. w2.LeftAttach = ((uint)(2));
  75. w2.RightAttach = ((uint)(3));
  76. w2.XOptions = ((Gtk.AttachOptions)(4));
  77. w2.YOptions = ((Gtk.AttachOptions)(4));
  78. // Container child table1.Gtk.Table+TableChild
  79. this.label2 = new Gtk.Label();
  80. this.label2.Name = "label2";
  81. this.label2.LabelProp = Mono.Unix.Catalog.GetString("px");
  82. this.table1.Add(this.label2);
  83. Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
  84. w3.TopAttach = ((uint)(1));
  85. w3.BottomAttach = ((uint)(2));
  86. w3.LeftAttach = ((uint)(2));
  87. w3.RightAttach = ((uint)(3));
  88. w3.XOptions = ((Gtk.AttachOptions)(4));
  89. w3.YOptions = ((Gtk.AttachOptions)(4));
  90. // Container child table1.Gtk.Table+TableChild
  91. this.label3 = new Gtk.Label();
  92. this.label3.Name = "label3";
  93. this.label3.LabelProp = Mono.Unix.Catalog.GetString("Width");
  94. this.label3.Justify = ((Gtk.Justification)(1));
  95. this.table1.Add(this.label3);
  96. Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
  97. w4.XOptions = ((Gtk.AttachOptions)(0));
  98. w4.YOptions = ((Gtk.AttachOptions)(4));
  99. // Container child table1.Gtk.Table+TableChild
  100. this.label4 = new Gtk.Label();
  101. this.label4.Name = "label4";
  102. this.label4.LabelProp = Mono.Unix.Catalog.GetString("Height");
  103. this.label4.Justify = ((Gtk.Justification)(1));
  104. this.table1.Add(this.label4);
  105. Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
  106. w5.TopAttach = ((uint)(1));
  107. w5.BottomAttach = ((uint)(2));
  108. w5.XOptions = ((Gtk.AttachOptions)(0));
  109. w5.YOptions = ((Gtk.AttachOptions)(4));
  110. // Container child table1.Gtk.Table+TableChild
  111. this.spinbutton1 = new Gtk.SpinButton(1, 1000000, 1);
  112. this.spinbutton1.CanFocus = true;
  113. this.spinbutton1.Name = "spinbutton1";
  114. this.spinbutton1.Adjustment.PageIncrement = 10;
  115. this.spinbutton1.ClimbRate = 1;
  116. this.spinbutton1.Numeric = true;
  117. this.spinbutton1.Value = 1600;
  118. this.table1.Add(this.spinbutton1);
  119. Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton1]));
  120. w6.LeftAttach = ((uint)(1));
  121. w6.RightAttach = ((uint)(2));
  122. w6.XOptions = ((Gtk.AttachOptions)(4));
  123. w6.YOptions = ((Gtk.AttachOptions)(4));
  124. // Container child table1.Gtk.Table+TableChild
  125. this.spinbutton2 = new Gtk.SpinButton(1, 1000000, 1);
  126. this.spinbutton2.CanFocus = true;
  127. this.spinbutton2.Name = "spinbutton2";
  128. this.spinbutton2.Adjustment.PageIncrement = 10;
  129. this.spinbutton2.ClimbRate = 1;
  130. this.spinbutton2.Numeric = true;
  131. this.spinbutton2.Value = 1200;
  132. this.table1.Add(this.spinbutton2);
  133. Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.spinbutton2]));
  134. w7.TopAttach = ((uint)(1));
  135. w7.BottomAttach = ((uint)(2));
  136. w7.LeftAttach = ((uint)(1));
  137. w7.RightAttach = ((uint)(2));
  138. w7.XOptions = ((Gtk.AttachOptions)(4));
  139. w7.YOptions = ((Gtk.AttachOptions)(4));
  140. this.vbox3.Add(this.table1);
  141. Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.vbox3[this.table1]));
  142. w8.Position = 0;
  143. w8.Expand = false;
  144. w8.Fill = false;
  145. this.GtkAlignment3.Add(this.vbox3);
  146. this.frame1.Add(this.GtkAlignment3);
  147. this.GtkLabel3 = new Gtk.Label();
  148. this.GtkLabel3.Name = "GtkLabel3";
  149. this.GtkLabel3.LabelProp = Mono.Unix.Catalog.GetString("<b>Image Size</b>");
  150. this.GtkLabel3.UseMarkup = true;
  151. this.frame1.LabelWidget = this.GtkLabel3;
  152. this.vbox2.Add(this.frame1);
  153. Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
  154. w11.Position = 0;
  155. w11.Expand = false;
  156. w11.Fill = false;
  157. // Container child vbox2.Gtk.Box+BoxChild
  158. this.frame2 = new Gtk.Frame();
  159. this.frame2.Name = "frame2";
  160. this.frame2.ShadowType = ((Gtk.ShadowType)(0));
  161. // Container child frame2.Gtk.Container+ContainerChild
  162. this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
  163. this.GtkAlignment.Name = "GtkAlignment";
  164. this.GtkAlignment.LeftPadding = ((uint)(12));
  165. // Container child GtkAlignment.Gtk.Container+ContainerChild
  166. this.table2 = new Gtk.Table(((uint)(1)), ((uint)(2)), false);
  167. this.table2.Name = "table2";
  168. this.table2.RowSpacing = ((uint)(6));
  169. this.table2.ColumnSpacing = ((uint)(6));
  170. // Container child table2.Gtk.Table+TableChild
  171. this.combobox1 = Gtk.ComboBox.NewText();
  172. this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Random Noise"));
  173. this.combobox1.AppendText(Mono.Unix.Catalog.GetString("Bayer Dithering Pattern"));
  174. this.combobox1.Name = "combobox1";
  175. this.combobox1.Active = 0;
  176. this.table2.Add(this.combobox1);
  177. Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table2[this.combobox1]));
  178. w12.LeftAttach = ((uint)(1));
  179. w12.RightAttach = ((uint)(2));
  180. w12.XOptions = ((Gtk.AttachOptions)(4));
  181. w12.YOptions = ((Gtk.AttachOptions)(4));
  182. // Container child table2.Gtk.Table+TableChild
  183. this.label5 = new Gtk.Label();
  184. this.label5.Name = "label5";
  185. this.label5.LabelProp = Mono.Unix.Catalog.GetString("Fill with");
  186. this.table2.Add(this.label5);
  187. Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table2[this.label5]));
  188. w13.XOptions = ((Gtk.AttachOptions)(4));
  189. w13.YOptions = ((Gtk.AttachOptions)(4));
  190. this.GtkAlignment.Add(this.table2);
  191. this.frame2.Add(this.GtkAlignment);
  192. this.GtkLabel = new Gtk.Label();
  193. this.GtkLabel.Name = "GtkLabel";
  194. this.GtkLabel.LabelProp = Mono.Unix.Catalog.GetString("<b>Advanced</b>");
  195. this.GtkLabel.UseMarkup = true;
  196. this.frame2.LabelWidget = this.GtkLabel;
  197. this.vbox2.Add(this.frame2);
  198. Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2]));
  199. w16.Position = 1;
  200. w16.Expand = false;
  201. w16.Fill = false;
  202. w1.Add(this.vbox2);
  203. Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
  204. w17.Position = 0;
  205. // Internal child ThePimp.NewFile.ActionArea
  206. Gtk.HButtonBox w18 = this.ActionArea;
  207. w18.Name = "dialog1_ActionArea";
  208. w18.Spacing = 6;
  209. w18.BorderWidth = ((uint)(5));
  210. w18.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
  211. // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  212. this.buttonCancel = new Gtk.Button();
  213. this.buttonCancel.CanDefault = true;
  214. this.buttonCancel.CanFocus = true;
  215. this.buttonCancel.Name = "buttonCancel";
  216. this.buttonCancel.UseStock = true;
  217. this.buttonCancel.UseUnderline = true;
  218. this.buttonCancel.Label = "gtk-cancel";
  219. this.AddActionWidget(this.buttonCancel, -6);
  220. Gtk.ButtonBox.ButtonBoxChild w19 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonCancel]));
  221. w19.Expand = false;
  222. w19.Fill = false;
  223. // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  224. this.buttonOk = new Gtk.Button();
  225. this.buttonOk.CanDefault = true;
  226. this.buttonOk.CanFocus = true;
  227. this.buttonOk.Name = "buttonOk";
  228. this.buttonOk.UseStock = true;
  229. this.buttonOk.UseUnderline = true;
  230. this.buttonOk.Label = "gtk-ok";
  231. this.AddActionWidget(this.buttonOk, -5);
  232. Gtk.ButtonBox.ButtonBoxChild w20 = ((Gtk.ButtonBox.ButtonBoxChild)(w18[this.buttonOk]));
  233. w20.Position = 1;
  234. w20.Expand = false;
  235. w20.Fill = false;
  236. if ((this.Child != null)) {
  237. this.Child.ShowAll();
  238. }
  239. this.DefaultWidth = 240;
  240. this.DefaultHeight = 221;
  241. this.Show();
  242. }
  243. }
  244. }