view gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.cs @ 167:9808adf2d566 default tip

Re #419: Remove assumptions of a file-based install * Update GTK# GUI to use Streams version of XSLT export
author IBBoard <dev@ibboard.co.uk>
date Wed, 28 Nov 2012 20:25:53 +0000
parents 2d1dd73a3289
children
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 FrmNewArmy
	{
		private global::Gtk.Table table1;
		private global::Gtk.ScrolledWindow GtkScrolledWindow;
		private global::Gtk.TreeView lstRaces;
		private global::Gtk.HBox hbox2;
		private global::Gtk.SpinButton sbPointsValue;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblArmyName;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblArmySize;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblGameSystem;
		private global::Gtk.ComboBoxEntry systemCombo;
		private global::Gtk.Entry txtArmyName;
		private global::Gtk.VBox vbox2;
		private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblRaceList;
		private global::Gtk.Label lblGetMore;
		private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel;
		private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCreate;
		
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget IBBoard.WarFoundry.GUI.GTK.FrmNewArmy
			this.Events = ((global::Gdk.EventMask)(256));
			this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmNewArmy";
			this.Title = global::Mono.Unix.Catalog.GetString ("Create new army");
			this.Icon = global::Stetic.IconLoader.LoadIcon (
				this,
				"gtk-new",
				global::Gtk.IconSize.Menu
			);
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			this.SkipPagerHint = true;
			this.SkipTaskbarHint = true;
			// Internal child IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.CanFocus = true;
			w1.Events = ((global::Gdk.EventMask)(256));
			w1.Name = "dialog_VBox";
			w1.BorderWidth = ((uint)(2));
			// Container child dialog_VBox.Gtk.Box+BoxChild
			this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(2)), false);
			this.table1.Name = "table1";
			this.table1.RowSpacing = ((uint)(6));
			this.table1.ColumnSpacing = ((uint)(6));
			// Container child table1.Gtk.Table+TableChild
			this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow.Name = "GtkScrolledWindow";
			this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow.Gtk.Container+ContainerChild
			this.lstRaces = new global::Gtk.TreeView ();
			this.lstRaces.HeightRequest = 150;
			this.lstRaces.CanFocus = true;
			this.lstRaces.Name = "lstRaces";
			this.lstRaces.HeadersVisible = false;
			this.lstRaces.RulesHint = true;
			this.GtkScrolledWindow.Add (this.lstRaces);
			this.table1.Add (this.GtkScrolledWindow);
			global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow]));
			w3.TopAttach = ((uint)(1));
			w3.BottomAttach = ((uint)(2));
			w3.LeftAttach = ((uint)(1));
			w3.RightAttach = ((uint)(2));
			w3.XOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.hbox2 = new global::Gtk.HBox ();
			this.hbox2.Name = "hbox2";
			// Container child hbox2.Gtk.Box+BoxChild
			this.sbPointsValue = new global::Gtk.SpinButton (0, 2000000000, 100);
			this.sbPointsValue.WidthRequest = 150;
			this.sbPointsValue.CanFocus = true;
			this.sbPointsValue.Name = "sbPointsValue";
			this.sbPointsValue.Adjustment.PageIncrement = 1000;
			this.sbPointsValue.ClimbRate = 100;
			this.sbPointsValue.Numeric = true;
			this.sbPointsValue.Value = 1000;
			this.hbox2.Add (this.sbPointsValue);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.sbPointsValue]));
			w4.Position = 0;
			w4.Expand = false;
			w4.Fill = false;
			this.table1.Add (this.hbox2);
			global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbox2]));
			w5.TopAttach = ((uint)(3));
			w5.BottomAttach = ((uint)(4));
			w5.LeftAttach = ((uint)(1));
			w5.RightAttach = ((uint)(2));
			w5.XOptions = ((global::Gtk.AttachOptions)(4));
			w5.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.lblArmyName = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblArmyName.Name = "lblArmyName";
			this.lblArmyName.LabelProp = global::Mono.Unix.Catalog.GetString ("army name");
			this.table1.Add (this.lblArmyName);
			global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblArmyName]));
			w6.TopAttach = ((uint)(2));
			w6.BottomAttach = ((uint)(3));
			w6.XOptions = ((global::Gtk.AttachOptions)(4));
			w6.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.lblArmySize = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblArmySize.Name = "lblArmySize";
			this.lblArmySize.LabelProp = global::Mono.Unix.Catalog.GetString ("points value");
			this.table1.Add (this.lblArmySize);
			global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblArmySize]));
			w7.TopAttach = ((uint)(3));
			w7.BottomAttach = ((uint)(4));
			w7.XOptions = ((global::Gtk.AttachOptions)(4));
			w7.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.lblGameSystem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblGameSystem.Name = "lblGameSystem";
			this.lblGameSystem.LabelProp = global::Mono.Unix.Catalog.GetString ("game system");
			this.table1.Add (this.lblGameSystem);
			global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblGameSystem]));
			w8.XOptions = ((global::Gtk.AttachOptions)(4));
			w8.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.systemCombo = global::Gtk.ComboBoxEntry.NewText ();
			this.systemCombo.Name = "systemCombo";
			this.table1.Add (this.systemCombo);
			global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.systemCombo]));
			w9.LeftAttach = ((uint)(1));
			w9.RightAttach = ((uint)(2));
			w9.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.txtArmyName = new global::Gtk.Entry ();
			this.txtArmyName.CanFocus = true;
			this.txtArmyName.Name = "txtArmyName";
			this.txtArmyName.IsEditable = true;
			this.txtArmyName.InvisibleChar = '#';
			this.table1.Add (this.txtArmyName);
			global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.txtArmyName]));
			w10.TopAttach = ((uint)(2));
			w10.BottomAttach = ((uint)(3));
			w10.LeftAttach = ((uint)(1));
			w10.RightAttach = ((uint)(2));
			w10.XOptions = ((global::Gtk.AttachOptions)(4));
			w10.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child table1.Gtk.Table+TableChild
			this.vbox2 = new global::Gtk.VBox ();
			this.vbox2.Name = "vbox2";
			this.vbox2.Spacing = 6;
			// Container child vbox2.Gtk.Box+BoxChild
			this.lblRaceList = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel ();
			this.lblRaceList.Name = "lblRaceList";
			this.lblRaceList.LabelProp = global::Mono.Unix.Catalog.GetString ("race");
			this.vbox2.Add (this.lblRaceList);
			global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblRaceList]));
			w11.Position = 0;
			w11.Expand = false;
			w11.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.lblGetMore = new global::Gtk.Label ();
			this.lblGetMore.Name = "lblGetMore";
			this.lblGetMore.Ypad = 10;
			this.lblGetMore.LabelProp = global::Mono.Unix.Catalog.GetString ("<a href=\"http://warfoundry.co.uk/Downloads/datafiles/\">get more</a>");
			this.lblGetMore.UseMarkup = true;
			this.vbox2.Add (this.lblGetMore);
			global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblGetMore]));
			w12.Position = 1;
			w12.Expand = false;
			w12.Fill = false;
			this.table1.Add (this.vbox2);
			global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2]));
			w13.TopAttach = ((uint)(1));
			w13.BottomAttach = ((uint)(2));
			w13.XOptions = ((global::Gtk.AttachOptions)(4));
			w1.Add (this.table1);
			global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
			w14.Position = 0;
			w14.Padding = ((uint)(6));
			// Internal child IBBoard.WarFoundry.GUI.GTK.FrmNewArmy.ActionArea
			global::Gtk.HButtonBox w15 = this.ActionArea;
			w15.CanFocus = true;
			w15.Events = ((global::Gdk.EventMask)(256));
			w15.Name = "WarFoundrySharp.FrmNewArmy_ActionArea";
			w15.Spacing = 6;
			w15.BorderWidth = ((uint)(5));
			w15.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
			this.bttnCancel.CanFocus = true;
			this.bttnCancel.Name = "bttnCancel";
			this.bttnCancel.UseStock = true;
			this.bttnCancel.UseUnderline = true;
			this.bttnCancel.Label = "gtk-cancel";
			this.AddActionWidget (this.bttnCancel, -6);
			global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.bttnCancel]));
			w16.Expand = false;
			w16.Fill = false;
			// Container child WarFoundrySharp.FrmNewArmy_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.bttnCreate = new global::IBBoard.GtkSharp.Translatable.TranslatableButton ();
			this.bttnCreate.Sensitive = false;
			this.bttnCreate.CanDefault = true;
			this.bttnCreate.CanFocus = true;
			this.bttnCreate.Name = "bttnCreate";
			this.bttnCreate.UseStock = true;
			this.bttnCreate.UseUnderline = true;
			this.bttnCreate.Label = "gtk-ok";
			this.AddActionWidget (this.bttnCreate, -5);
			global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w15 [this.bttnCreate]));
			w17.Position = 1;
			w17.Expand = false;
			w17.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 370;
			this.DefaultHeight = 348;
			this.Show ();
			this.txtArmyName.Changed += new global::System.EventHandler (this.OnTextChanged);
			this.systemCombo.Changed += new global::System.EventHandler (this.OnSystemComboChanged);
			this.sbPointsValue.ChangeValue += new global::Gtk.ChangeValueHandler (this.OnSpinChangeValue);
			this.sbPointsValue.ValueChanged += new global::System.EventHandler (this.OnSpinValueChanged);
			this.sbPointsValue.Changed += new global::System.EventHandler (this.OnSpinValueChanged);
			this.bttnCancel.Clicked += new global::System.EventHandler (this.OnCancelClicked);
			this.bttnCreate.Clicked += new global::System.EventHandler (this.OnCreateClicked);
		}
	}
}