Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

269 řádky
12 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.Frame frame1;
  14. private Gtk.Alignment GtkAlignment3;
  15. private Gtk.VBox vbox3;
  16. private Gtk.Table table1;
  17. private Gtk.Entry entry1;
  18. private Gtk.Entry entry2;
  19. private Gtk.Label label1;
  20. private Gtk.Label label2;
  21. private Gtk.Label label3;
  22. private Gtk.Label label4;
  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.WindowPosition = ((Gtk.WindowPosition)(4));
  39. this.HasSeparator = false;
  40. // Internal child ThePimp.NewFile.VBox
  41. Gtk.VBox w1 = this.VBox;
  42. w1.Name = "dialog1_VBox";
  43. w1.BorderWidth = ((uint)(2));
  44. // Container child dialog1_VBox.Gtk.Box+BoxChild
  45. this.vbox2 = new Gtk.VBox();
  46. this.vbox2.Name = "vbox2";
  47. this.vbox2.Spacing = 6;
  48. // Container child vbox2.Gtk.Box+BoxChild
  49. this.frame1 = new Gtk.Frame();
  50. this.frame1.Name = "frame1";
  51. this.frame1.ShadowType = ((Gtk.ShadowType)(0));
  52. // Container child frame1.Gtk.Container+ContainerChild
  53. this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F);
  54. this.GtkAlignment3.Name = "GtkAlignment3";
  55. this.GtkAlignment3.LeftPadding = ((uint)(12));
  56. // Container child GtkAlignment3.Gtk.Container+ContainerChild
  57. this.vbox3 = new Gtk.VBox();
  58. this.vbox3.Name = "vbox3";
  59. this.vbox3.Spacing = 6;
  60. this.vbox3.BorderWidth = ((uint)(5));
  61. // Container child vbox3.Gtk.Box+BoxChild
  62. this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
  63. this.table1.Name = "table1";
  64. this.table1.RowSpacing = ((uint)(6));
  65. this.table1.ColumnSpacing = ((uint)(6));
  66. // Container child table1.Gtk.Table+TableChild
  67. this.entry1 = new Gtk.Entry();
  68. this.entry1.CanFocus = true;
  69. this.entry1.Name = "entry1";
  70. this.entry1.Text = Mono.Unix.Catalog.GetString("1024");
  71. this.entry1.IsEditable = true;
  72. this.entry1.WidthChars = 6;
  73. this.entry1.InvisibleChar = '●';
  74. this.entry1.Xalign = 1F;
  75. this.table1.Add(this.entry1);
  76. Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.entry1]));
  77. w2.LeftAttach = ((uint)(1));
  78. w2.RightAttach = ((uint)(2));
  79. w2.XOptions = ((Gtk.AttachOptions)(4));
  80. w2.YOptions = ((Gtk.AttachOptions)(4));
  81. // Container child table1.Gtk.Table+TableChild
  82. this.entry2 = new Gtk.Entry();
  83. this.entry2.CanFocus = true;
  84. this.entry2.Name = "entry2";
  85. this.entry2.Text = Mono.Unix.Catalog.GetString("768");
  86. this.entry2.IsEditable = true;
  87. this.entry2.WidthChars = 6;
  88. this.entry2.InvisibleChar = '●';
  89. this.entry2.Xalign = 1F;
  90. this.table1.Add(this.entry2);
  91. Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.entry2]));
  92. w3.TopAttach = ((uint)(1));
  93. w3.BottomAttach = ((uint)(2));
  94. w3.LeftAttach = ((uint)(1));
  95. w3.RightAttach = ((uint)(2));
  96. w3.XOptions = ((Gtk.AttachOptions)(4));
  97. w3.YOptions = ((Gtk.AttachOptions)(4));
  98. // Container child table1.Gtk.Table+TableChild
  99. this.label1 = new Gtk.Label();
  100. this.label1.Name = "label1";
  101. this.label1.LabelProp = Mono.Unix.Catalog.GetString("px");
  102. this.table1.Add(this.label1);
  103. Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.label1]));
  104. w4.LeftAttach = ((uint)(2));
  105. w4.RightAttach = ((uint)(3));
  106. w4.XOptions = ((Gtk.AttachOptions)(4));
  107. w4.YOptions = ((Gtk.AttachOptions)(4));
  108. // Container child table1.Gtk.Table+TableChild
  109. this.label2 = new Gtk.Label();
  110. this.label2.Name = "label2";
  111. this.label2.LabelProp = Mono.Unix.Catalog.GetString("px");
  112. this.table1.Add(this.label2);
  113. Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
  114. w5.TopAttach = ((uint)(1));
  115. w5.BottomAttach = ((uint)(2));
  116. w5.LeftAttach = ((uint)(2));
  117. w5.RightAttach = ((uint)(3));
  118. w5.XOptions = ((Gtk.AttachOptions)(4));
  119. w5.YOptions = ((Gtk.AttachOptions)(4));
  120. // Container child table1.Gtk.Table+TableChild
  121. this.label3 = new Gtk.Label();
  122. this.label3.Name = "label3";
  123. this.label3.LabelProp = Mono.Unix.Catalog.GetString("Width");
  124. this.label3.Justify = ((Gtk.Justification)(1));
  125. this.table1.Add(this.label3);
  126. Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
  127. w6.XOptions = ((Gtk.AttachOptions)(0));
  128. w6.YOptions = ((Gtk.AttachOptions)(4));
  129. // Container child table1.Gtk.Table+TableChild
  130. this.label4 = new Gtk.Label();
  131. this.label4.Name = "label4";
  132. this.label4.LabelProp = Mono.Unix.Catalog.GetString("Height");
  133. this.label4.Justify = ((Gtk.Justification)(1));
  134. this.table1.Add(this.label4);
  135. Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
  136. w7.TopAttach = ((uint)(1));
  137. w7.BottomAttach = ((uint)(2));
  138. w7.XOptions = ((Gtk.AttachOptions)(0));
  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 = 202;
  241. this.Show();
  242. }
  243. }
  244. }