annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmAbout.cs @ 143:aca4623b7bdf

Re #344: Show unit requirement failures * Hide warning widget by default
author IBBoard <dev@ibboard.co.uk>
date Wed, 19 Oct 2011 20:35:31 +0100
parents cfd2d9f490bc
children 135491fd1830
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 // This file has been generated by the GUI designer. Do not modify.
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 namespace IBBoard.WarFoundry.GUI.GTK
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
4 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 public partial class FrmAbout
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 {
93
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
7 private global::Gtk.Image logoImage;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 private global::Gtk.Label label1;
93
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
9 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblWarFoundryDesc;
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
10 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblWarFoundryCopyright;
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
11 private global::Gtk.Label lblWarFoundryLink;
94
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
12 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCredits;
93
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
13 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnClose;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15 protected virtual void Build()
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17 global::Stetic.Gui.Initialize(this);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 // Widget IBBoard.WarFoundry.GUI.GTK.FrmAbout
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmAbout";
80
9c9af2ce8c43 Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 77
diff changeset
20 this.Title = global::Mono.Unix.Catalog.GetString("About WF");
94
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
21 this.Icon = global::Gdk.Pixbuf.LoadFromResource("App.ico");
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23 this.WindowPosition = ((global::Gtk.WindowPosition)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 this.Resizable = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25 this.AllowGrow = false;
94
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
26 this.SkipPagerHint = true;
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
27 this.SkipTaskbarHint = true;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.VBox
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29 global::Gtk.VBox w1 = this.VBox;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 w1.Name = "dialog1_VBox";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31 w1.BorderWidth = ((uint)(2));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 // Container child dialog1_VBox.Gtk.Box+BoxChild
93
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
33 this.logoImage = new global::Gtk.Image();
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
34 this.logoImage.Name = "logoImage";
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
35 this.logoImage.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("IBBoard.WarFoundry.GUI.GTK.App-lrg.png");
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
36 w1.Add(this.logoImage);
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
37 global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.logoImage]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 w2.Position = 0;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39 w2.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 w2.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41 // Container child dialog1_VBox.Gtk.Box+BoxChild
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 this.label1 = new global::Gtk.Label();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43 this.label1.Name = "label1";
101
cfd2d9f490bc * Set new version number in About dialog
IBBoard <dev@ibboard.co.uk>
parents: 94
diff changeset
44 this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span font_size=\"x-large\" weight=\"bold\">WarFoundry v0.1 RC 1</span>");
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45 this.label1.UseMarkup = true;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 w1.Add(this.label1);
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47 global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.label1]));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 w3.Position = 1;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49 w3.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 w3.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51 // Container child dialog1_VBox.Gtk.Box+BoxChild
93
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
52 this.lblWarFoundryDesc = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
53 this.lblWarFoundryDesc.Name = "lblWarFoundryDesc";
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
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.");
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
55 this.lblWarFoundryDesc.Wrap = true;
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
56 this.lblWarFoundryDesc.Justify = ((global::Gtk.Justification)(2));
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
57 w1.Add(this.lblWarFoundryDesc);
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
58 global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.lblWarFoundryDesc]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59 w4.Position = 2;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 w4.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 w4.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
62 // Container child dialog1_VBox.Gtk.Box+BoxChild
93
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
63 this.lblWarFoundryCopyright = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel();
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
64 this.lblWarFoundryCopyright.Name = "lblWarFoundryCopyright";
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
65 this.lblWarFoundryCopyright.LabelProp = global::Mono.Unix.Catalog.GetString("© 2007-2010, IBBoard and others");
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
66 w1.Add(this.lblWarFoundryCopyright);
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
67 global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.lblWarFoundryCopyright]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 w5.Position = 3;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 w5.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 w5.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 // Container child dialog1_VBox.Gtk.Box+BoxChild
93
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
72 this.lblWarFoundryLink = new global::Gtk.Label();
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
73 this.lblWarFoundryLink.Name = "lblWarFoundryLink";
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
74 this.lblWarFoundryLink.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"http://warfoundry.co.uk\">http://warfoundry.co.uk</a>");
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
75 this.lblWarFoundryLink.UseMarkup = true;
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
76 w1.Add(this.lblWarFoundryLink);
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
77 global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.lblWarFoundryLink]));
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 w6.Position = 4;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 w6.Expand = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 w6.Fill = false;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.ActionArea
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 global::Gtk.HButtonBox w7 = this.ActionArea;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 w7.Name = "dialog1_ActionArea";
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 w7.Spacing = 10;
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 w7.BorderWidth = ((uint)(5));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
94
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
88 this.bttnCredits = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
89 this.bttnCredits.CanFocus = true;
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
90 this.bttnCredits.Name = "bttnCredits";
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
91 this.bttnCredits.UseStock = true;
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
92 this.bttnCredits.UseUnderline = true;
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
93 this.bttnCredits.Label = "gtk-about";
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
94 w7.Add(this.bttnCredits);
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
95 global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.bttnCredits]));
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
96 w8.Expand = false;
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
97 w8.Fill = false;
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
98 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
93
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
99 this.bttnClose = new global::IBBoard.GtkSharp.Translatable.TranslatableButton();
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
100 this.bttnClose.CanDefault = true;
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
101 this.bttnClose.CanFocus = true;
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
102 this.bttnClose.Name = "bttnClose";
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
103 this.bttnClose.UseStock = true;
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
104 this.bttnClose.UseUnderline = true;
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
105 this.bttnClose.Label = "gtk-close";
e40d892a2298 Fixes #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents: 80
diff changeset
106 this.AddActionWidget(this.bttnClose, -7);
94
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
107 global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.bttnClose]));
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
108 w9.Position = 1;
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
109 w9.Expand = false;
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
110 w9.Fill = false;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 if ((this.Child != null))
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 {
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 this.Child.ShowAll();
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 }
94
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
115 this.DefaultWidth = 330;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 this.DefaultHeight = 300;
94
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
117 this.bttnClose.HasDefault = true;
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 this.Show();
94
26e4525b49cf Fixes #334: Add credits to "About" page
IBBoard <dev@ibboard.co.uk>
parents: 93
diff changeset
119 this.bttnCredits.Clicked += new global::System.EventHandler(this.BttnCreditsClicked);
77
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 }
68804784bf6f Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 }