Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
view 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 |
line wrap: on
line source
// This file has been generated by the GUI designer. Do not modify. namespace IBBoard.WarFoundry.GUI.GTK { public partial class FrmAbout { private global::Gtk.Image logoImage; private global::Gtk.Label label1; private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblWarFoundryDesc; private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblWarFoundryCopyright; private global::Gtk.Label lblWarFoundryLink; private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCredits; private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnClose; protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget IBBoard.WarFoundry.GUI.GTK.FrmAbout this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmAbout"; this.Title = global::Mono.Unix.Catalog.GetString("About WF"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("App.ico"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.logoImage = new global::Gtk.Image(); this.logoImage.Name = "logoImage"; this.logoImage.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("IBBoard.WarFoundry.GUI.GTK.App-lrg.png"); w1.Add(this.logoImage); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.logoImage])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span font_size=\"x-large\" weight=\"bold\">WarFoundry v0.1 RC 1</span>"); this.label1.UseMarkup = true; w1.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1[this.label1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.lblWarFoundryDesc = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); this.lblWarFoundryDesc.Name = "lblWarFoundryDesc"; 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."); this.lblWarFoundryDesc.Wrap = true; this.lblWarFoundryDesc.Justify = ((global::Gtk.Justification)(2)); w1.Add(this.lblWarFoundryDesc); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.lblWarFoundryDesc])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.lblWarFoundryCopyright = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); this.lblWarFoundryCopyright.Name = "lblWarFoundryCopyright"; this.lblWarFoundryCopyright.LabelProp = global::Mono.Unix.Catalog.GetString("© 2007-2010, IBBoard and others"); w1.Add(this.lblWarFoundryCopyright); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.lblWarFoundryCopyright])); w5.Position = 3; w5.Expand = false; w5.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.lblWarFoundryLink = new global::Gtk.Label(); this.lblWarFoundryLink.Name = "lblWarFoundryLink"; this.lblWarFoundryLink.LabelProp = global::Mono.Unix.Catalog.GetString("<a href=\"http://warfoundry.co.uk\">http://warfoundry.co.uk</a>"); this.lblWarFoundryLink.UseMarkup = true; w1.Add(this.lblWarFoundryLink); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1[this.lblWarFoundryLink])); w6.Position = 4; w6.Expand = false; w6.Fill = false; // Internal child IBBoard.WarFoundry.GUI.GTK.FrmAbout.ActionArea global::Gtk.HButtonBox w7 = this.ActionArea; w7.Name = "dialog1_ActionArea"; w7.Spacing = 10; w7.BorderWidth = ((uint)(5)); w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.bttnCredits = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); this.bttnCredits.CanFocus = true; this.bttnCredits.Name = "bttnCredits"; this.bttnCredits.UseStock = true; this.bttnCredits.UseUnderline = true; this.bttnCredits.Label = "gtk-about"; w7.Add(this.bttnCredits); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.bttnCredits])); w8.Expand = false; w8.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.bttnClose = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); this.bttnClose.CanDefault = true; this.bttnClose.CanFocus = true; this.bttnClose.Name = "bttnClose"; this.bttnClose.UseStock = true; this.bttnClose.UseUnderline = true; this.bttnClose.Label = "gtk-close"; this.AddActionWidget(this.bttnClose, -7); global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.bttnClose])); w9.Position = 1; w9.Expand = false; w9.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 330; this.DefaultHeight = 300; this.bttnClose.HasDefault = true; this.Show(); this.bttnCredits.Clicked += new global::System.EventHandler(this.BttnCreditsClicked); } } }