113
|
1
|
|
2 // This file has been generated by the GUI designer. Do not modify.
|
|
3 namespace IBBoard.WarFoundry.GUI.GTK
|
|
4 {
|
|
5 public partial class FrmAbout
|
|
6 {
|
|
7 private global::Gtk.Image logoImage;
|
|
8 private global::Gtk.Label label1;
|
|
9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblWarFoundryDesc;
|
|
10 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblWarFoundryCopyright;
|
|
11 private global::Gtk.Label lblWarFoundryLink;
|
|
12 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCredits;
|
|
13 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnClose;
|
|
14
|
|
15 protected virtual void Build()
|
|
16 {
|
|
17 global::Stetic.Gui.Initialize(this);
|
|
18 // Widget IBBoard.WarFoundry.GUI.GTK.FrmAbout
|
|
19 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmAbout";
|
|
20 this.Title = global::Mono.Unix.Catalog.GetString("About WF");
|
|
21 this.Icon = global::Gdk.Pixbuf.LoadFromResource("App.ico");
|
|
22 this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
|
|
23 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
|
|
24 this.Resizable = false;
|
|
25 this.AllowGrow = false;
|
|
26 this.SkipPagerHint = true;
|
|
27 this.SkipTaskbarHint = true;
|
|
28 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.VBox
|
|
29 global::Gtk.VBox w1 = this.VBox;
|
|
30 w1.Name = "dialog1_VBox";
|
|
31 w1.BorderWidth = ((uint)(2));
|
|
32 // Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
33 this.logoImage = new global::Gtk.Image();
|
|
34 this.logoImage.Name = "logoImage";
|
|
35 this.logoImage.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("IBBoard.WarFoundry.GUI.GTK.App-lrg.png");
|
|
36 w1.Add(this.logoImage);
|
|
37 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.logoImage]));
|
|
38 w2.Position = 0;
|
|
39 w2.Expand = false;
|
|
40 w2.Fill = false;
|
|
41 // Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
42 this.label1 = new global::Gtk.Label();
|
|
43 this.label1.Name = "label1";
|
|
44 this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span font_size=\"x-large\" weight=\"bold\">WarFoundry v0.1 RC 1</span>");
|
|
45 this.label1.UseMarkup = true;
|
|
46 w1.Add(this.label1);
|
|
47 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.label1]));
|
|
48 w3.Position = 1;
|
|
49 w3.Expand = false;
|
|
50 w3.Fill = false;
|
|
51 // Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
52 this.lblWarFoundryDesc = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
|
|
53 this.lblWarFoundryDesc.Name = "lblWarFoundryDesc";
|
|
54 this.lblWarFoundryDesc.LabelProp = global::Mono.Unix.Catalog.GetString("WarFoundry is an open-source army creation tool that lets you create rosters for multiple game systems.");
|
|
55 this.lblWarFoundryDesc.Wrap = true;
|
|
56 this.lblWarFoundryDesc.Justify = ((global::Gtk.Justification)(2));
|
|
57 w1.Add(this.lblWarFoundryDesc);
|
|
58 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.lblWarFoundryDesc]));
|
|
59 w4.Position = 2;
|
|
60 w4.Expand = false;
|
|
61 w4.Fill = false;
|
|
62 // Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
63 this.lblWarFoundryCopyright = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
|
|
64 this.lblWarFoundryCopyright.Name = "lblWarFoundryCopyright";
|
|
65 this.lblWarFoundryCopyright.LabelProp = global::Mono.Unix.Catalog.GetString("© 2007-2010, IBBoard and others");
|
|
66 w1.Add(this.lblWarFoundryCopyright);
|
|
67 global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.lblWarFoundryCopyright]));
|
|
68 w5.Position = 3;
|
|
69 w5.Expand = false;
|
|
70 w5.Fill = false;
|
|
71 // Container child dialog1_VBox.Gtk.Box+BoxChild
|
|
72 this.lblWarFoundryLink = new global::Gtk.Label();
|
|
73 this.lblWarFoundryLink.Name = "lblWarFoundryLink";
|
|
74 this.lblWarFoundryLink.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"http://warfoundry.co.uk\">http://warfoundry.co.uk</a>");
|
|
75 this.lblWarFoundryLink.UseMarkup = true;
|
|
76 w1.Add(this.lblWarFoundryLink);
|
|
77 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.lblWarFoundryLink]));
|
|
78 w6.Position = 4;
|
|
79 w6.Expand = false;
|
|
80 w6.Fill = false;
|
|
81 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.ActionArea
|
|
82 global::Gtk.HButtonBox w7 = this.ActionArea;
|
|
83 w7.Name = "dialog1_ActionArea";
|
|
84 w7.Spacing = 10;
|
|
85 w7.BorderWidth = ((uint)(5));
|
|
86 w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
|
|
87 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
|
|
88 this.bttnCredits = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
|
|
89 this.bttnCredits.CanFocus = true;
|
|
90 this.bttnCredits.Name = "bttnCredits";
|
|
91 this.bttnCredits.UseStock = true;
|
|
92 this.bttnCredits.UseUnderline = true;
|
|
93 this.bttnCredits.Label = "gtk-about";
|
|
94 w7.Add(this.bttnCredits);
|
|
95 global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.bttnCredits]));
|
|
96 w8.Expand = false;
|
|
97 w8.Fill = false;
|
|
98 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
|
|
99 this.bttnClose = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
|
|
100 this.bttnClose.CanDefault = true;
|
|
101 this.bttnClose.CanFocus = true;
|
|
102 this.bttnClose.Name = "bttnClose";
|
|
103 this.bttnClose.UseStock = true;
|
|
104 this.bttnClose.UseUnderline = true;
|
|
105 this.bttnClose.Label = "gtk-close";
|
|
106 this.AddActionWidget(this.bttnClose, -7);
|
|
107 global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.bttnClose]));
|
|
108 w9.Position = 1;
|
|
109 w9.Expand = false;
|
|
110 w9.Fill = false;
|
|
111 if ((this.Child != null))
|
|
112 {
|
|
113 this.Child.ShowAll();
|
|
114 }
|
|
115 this.DefaultWidth = 330;
|
|
116 this.DefaultHeight = 300;
|
|
117 this.bttnClose.HasDefault = true;
|
|
118 this.Show();
|
|
119 this.bttnCredits.Clicked += new global::System.EventHandler(this.BttnCreditsClicked);
|
|
120 }
|
|
121 }
|
|
122 }
|