Files @ 3f17947ff066
Branch filter:

Location: ATITD-Tools/Desert-Paint-Lab/gtk-gui/DesertPaintLab.RecipeGeneratorWindow.cs

jmaltzen
Add a publish script to simplify packaging

// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
	public partial class RecipeGeneratorWindow
	{
		private global::Gtk.UIManager UIManager;
		
		private global::Gtk.Action ExportAction;
		
		private global::Gtk.Action ExportToWikiAction;
		
		private global::Gtk.Action SettingsAction;
		
		private global::Gtk.Action IngredientsAction;
		
		private global::Gtk.VBox vbox2;
		
		private global::Gtk.MenuBar menubar1;
		
		private global::Gtk.HBox hbox1;
		
		private global::Gtk.VBox vbox8;
		
		private global::Gtk.Label label3;
		
		private global::Gtk.SpinButton maxIngredientsSpinButton;
		
		private global::Gtk.HSeparator hseparator3;
		
		private global::Gtk.Label label4;
		
		private global::Gtk.SpinButton maxRecipeSpinButton;
		
		private global::Gtk.HSeparator hseparator4;
		
		private global::Gtk.Label label8;
		
		private global::Gtk.SpinButton fullQuantityDepthSpinButton;
		
		private global::Gtk.Label label9;
		
		private global::Gtk.SpinButton fullQuantitySpinButton;
		
		private global::Gtk.ScrolledWindow GtkScrolledWindow1;
		
		private global::Gtk.TreeView recipeList;
		
		private global::Gtk.VBox vbox3;
		
		private global::Gtk.Frame frame2;
		
		private global::Gtk.Alignment GtkAlignment;
		
		private global::Gtk.ScrolledWindow scrolledwindow1;
		
		private global::Gtk.VBox recipeListBox;
		
		private global::Gtk.Label recipeLabel;
		
		private global::DesertPaintLab.PaintSwatch paintSwatch;
		
		private global::Gtk.HBox hbox3;
		
		private global::Gtk.HSeparator hseparator2;
		
		private global::Gtk.Button stopResumeButton;
		
		private global::Gtk.Label countLabel;
		
		private global::Gtk.Button beginButton;
		
		private global::Gtk.HSeparator hseparator1;
		
		private global::Gtk.Label statusLabel;
		
		private global::Gtk.ProgressBar progressBar;

		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget DesertPaintLab.RecipeGeneratorWindow
			this.UIManager = new global::Gtk.UIManager ();
			global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
			this.ExportAction = new global::Gtk.Action ("ExportAction", "Export", null, null);
			this.ExportAction.ShortLabel = "Export";
			w1.Add (this.ExportAction, null);
			this.ExportToWikiAction = new global::Gtk.Action ("ExportToWikiAction", "Export to Wiki", null, null);
			this.ExportToWikiAction.ShortLabel = "Export to Wiki";
			w1.Add (this.ExportToWikiAction, null);
			this.SettingsAction = new global::Gtk.Action ("SettingsAction", "Settings", null, null);
			this.SettingsAction.ShortLabel = "Tools";
			w1.Add (this.SettingsAction, null);
			this.IngredientsAction = new global::Gtk.Action ("IngredientsAction", "Ingredients", null, null);
			this.IngredientsAction.ShortLabel = "Ingredients";
			w1.Add (this.IngredientsAction, null);
			this.UIManager.InsertActionGroup (w1, 0);
			this.AddAccelGroup (this.UIManager.AccelGroup);
			this.Name = "DesertPaintLab.RecipeGeneratorWindow";
			this.Title = "Recipe Generator";
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			// Container child DesertPaintLab.RecipeGeneratorWindow.Gtk.Container+ContainerChild
			this.vbox2 = new global::Gtk.VBox ();
			this.vbox2.Name = "vbox2";
			this.vbox2.Spacing = 6;
			this.vbox2.BorderWidth = ((uint)(8));
			// Container child vbox2.Gtk.Box+BoxChild
			this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='ExportAction' action='ExportAction'><menuitem name='ExportToWikiAction' action='ExportToWikiAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='IngredientsAction' action='IngredientsAction'/></menu></menubar></ui>");
			this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
			this.menubar1.Name = "menubar1";
			this.vbox2.Add (this.menubar1);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1]));
			w2.Position = 0;
			w2.Expand = false;
			w2.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 6;
			// Container child hbox1.Gtk.Box+BoxChild
			this.vbox8 = new global::Gtk.VBox ();
			this.vbox8.Name = "vbox8";
			this.vbox8.Spacing = 6;
			// Container child vbox8.Gtk.Box+BoxChild
			this.label3 = new global::Gtk.Label ();
			this.label3.Name = "label3";
			this.label3.LabelProp = "Maximum Ingredients";
			this.vbox8.Add (this.label3);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label3]));
			w3.Position = 0;
			w3.Expand = false;
			w3.Fill = false;
			// Container child vbox8.Gtk.Box+BoxChild
			this.maxIngredientsSpinButton = new global::Gtk.SpinButton (0, 14, 1);
			this.maxIngredientsSpinButton.CanFocus = true;
			this.maxIngredientsSpinButton.Name = "maxIngredientsSpinButton";
			this.maxIngredientsSpinButton.Adjustment.PageIncrement = 10;
			this.maxIngredientsSpinButton.ClimbRate = 1;
			this.maxIngredientsSpinButton.Numeric = true;
			this.vbox8.Add (this.maxIngredientsSpinButton);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.maxIngredientsSpinButton]));
			w4.Position = 1;
			w4.Expand = false;
			w4.Fill = false;
			// Container child vbox8.Gtk.Box+BoxChild
			this.hseparator3 = new global::Gtk.HSeparator ();
			this.hseparator3.Name = "hseparator3";
			this.vbox8.Add (this.hseparator3);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hseparator3]));
			w5.Position = 2;
			w5.Expand = false;
			w5.Fill = false;
			// Container child vbox8.Gtk.Box+BoxChild
			this.label4 = new global::Gtk.Label ();
			this.label4.Name = "label4";
			this.label4.LabelProp = "Max Total Quantity";
			this.label4.UseMarkup = true;
			this.label4.Wrap = true;
			this.vbox8.Add (this.label4);
			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label4]));
			w6.Position = 3;
			w6.Expand = false;
			w6.Fill = false;
			w6.Padding = ((uint)(8));
			// Container child vbox8.Gtk.Box+BoxChild
			this.maxRecipeSpinButton = new global::Gtk.SpinButton (0, 100, 1);
			this.maxRecipeSpinButton.CanFocus = true;
			this.maxRecipeSpinButton.Name = "maxRecipeSpinButton";
			this.maxRecipeSpinButton.Adjustment.PageIncrement = 10;
			this.maxRecipeSpinButton.ClimbRate = 1;
			this.maxRecipeSpinButton.Numeric = true;
			this.vbox8.Add (this.maxRecipeSpinButton);
			global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.maxRecipeSpinButton]));
			w7.Position = 4;
			w7.Expand = false;
			w7.Fill = false;
			// Container child vbox8.Gtk.Box+BoxChild
			this.hseparator4 = new global::Gtk.HSeparator ();
			this.hseparator4.Name = "hseparator4";
			this.vbox8.Add (this.hseparator4);
			global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hseparator4]));
			w8.Position = 5;
			w8.Expand = false;
			w8.Fill = false;
			// Container child vbox8.Gtk.Box+BoxChild
			this.label8 = new global::Gtk.Label ();
			this.label8.Name = "label8";
			this.label8.LabelProp = "Full Quantity Depth";
			this.vbox8.Add (this.label8);
			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label8]));
			w9.Position = 6;
			w9.Expand = false;
			w9.Fill = false;
			// Container child vbox8.Gtk.Box+BoxChild
			this.fullQuantityDepthSpinButton = new global::Gtk.SpinButton (0, 15, 1);
			this.fullQuantityDepthSpinButton.CanFocus = true;
			this.fullQuantityDepthSpinButton.Name = "fullQuantityDepthSpinButton";
			this.fullQuantityDepthSpinButton.Adjustment.PageIncrement = 10;
			this.fullQuantityDepthSpinButton.ClimbRate = 1;
			this.fullQuantityDepthSpinButton.Numeric = true;
			this.vbox8.Add (this.fullQuantityDepthSpinButton);
			global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.fullQuantityDepthSpinButton]));
			w10.Position = 7;
			w10.Expand = false;
			w10.Fill = false;
			// Container child vbox8.Gtk.Box+BoxChild
			this.label9 = new global::Gtk.Label ();
			this.label9.Name = "label9";
			this.label9.LabelProp = "FullQuantity";
			this.vbox8.Add (this.label9);
			global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label9]));
			w11.Position = 8;
			w11.Expand = false;
			w11.Fill = false;
			// Container child vbox8.Gtk.Box+BoxChild
			this.fullQuantitySpinButton = new global::Gtk.SpinButton (0, 30, 1);
			this.fullQuantitySpinButton.CanFocus = true;
			this.fullQuantitySpinButton.Name = "fullQuantitySpinButton";
			this.fullQuantitySpinButton.Adjustment.PageIncrement = 10;
			this.fullQuantitySpinButton.ClimbRate = 1;
			this.fullQuantitySpinButton.Numeric = true;
			this.vbox8.Add (this.fullQuantitySpinButton);
			global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.fullQuantitySpinButton]));
			w12.Position = 9;
			w12.Expand = false;
			w12.Fill = false;
			this.hbox1.Add (this.vbox8);
			global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox8]));
			w13.Position = 0;
			w13.Expand = false;
			w13.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
			this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
			this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
			this.recipeList = new global::Gtk.TreeView ();
			this.recipeList.WidthRequest = 300;
			this.recipeList.CanFocus = true;
			this.recipeList.Name = "recipeList";
			this.GtkScrolledWindow1.Add (this.recipeList);
			this.hbox1.Add (this.GtkScrolledWindow1);
			global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow1]));
			w15.Position = 1;
			// Container child hbox1.Gtk.Box+BoxChild
			this.vbox3 = new global::Gtk.VBox ();
			this.vbox3.Name = "vbox3";
			this.vbox3.Spacing = 6;
			// Container child vbox3.Gtk.Box+BoxChild
			this.frame2 = new global::Gtk.Frame ();
			this.frame2.WidthRequest = 200;
			this.frame2.HeightRequest = 200;
			this.frame2.Name = "frame2";
			this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
			// Container child frame2.Gtk.Container+ContainerChild
			this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
			this.GtkAlignment.Name = "GtkAlignment";
			this.GtkAlignment.LeftPadding = ((uint)(12));
			// Container child GtkAlignment.Gtk.Container+ContainerChild
			this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
			this.scrolledwindow1.CanFocus = true;
			this.scrolledwindow1.Name = "scrolledwindow1";
			this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child scrolledwindow1.Gtk.Container+ContainerChild
			global::Gtk.Viewport w16 = new global::Gtk.Viewport ();
			w16.ShadowType = ((global::Gtk.ShadowType)(0));
			// Container child GtkViewport.Gtk.Container+ContainerChild
			this.recipeListBox = new global::Gtk.VBox ();
			this.recipeListBox.Name = "recipeListBox";
			this.recipeListBox.Homogeneous = true;
			this.recipeListBox.Spacing = 6;
			this.recipeListBox.BorderWidth = ((uint)(1));
			w16.Add (this.recipeListBox);
			this.scrolledwindow1.Add (w16);
			this.GtkAlignment.Add (this.scrolledwindow1);
			this.frame2.Add (this.GtkAlignment);
			this.recipeLabel = new global::Gtk.Label ();
			this.recipeLabel.Name = "recipeLabel";
			this.recipeLabel.LabelProp = "<b>Recipe</b>";
			this.recipeLabel.UseMarkup = true;
			this.frame2.LabelWidget = this.recipeLabel;
			this.vbox3.Add (this.frame2);
			global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.frame2]));
			w21.Position = 0;
			// Container child vbox3.Gtk.Box+BoxChild
			this.paintSwatch = new global::DesertPaintLab.PaintSwatch ();
			this.paintSwatch.HeightRequest = 200;
			this.paintSwatch.Events = ((global::Gdk.EventMask)(256));
			this.paintSwatch.Name = "paintSwatch";
			this.vbox3.Add (this.paintSwatch);
			global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.paintSwatch]));
			w22.Position = 1;
			this.hbox1.Add (this.vbox3);
			global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
			w23.Position = 2;
			w23.Expand = false;
			w23.Fill = false;
			this.vbox2.Add (this.hbox1);
			global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
			w24.Position = 1;
			// Container child vbox2.Gtk.Box+BoxChild
			this.hbox3 = new global::Gtk.HBox ();
			this.hbox3.Name = "hbox3";
			this.hbox3.Spacing = 6;
			// Container child hbox3.Gtk.Box+BoxChild
			this.hseparator2 = new global::Gtk.HSeparator ();
			this.hseparator2.Name = "hseparator2";
			this.hbox3.Add (this.hseparator2);
			global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hseparator2]));
			w25.Position = 0;
			// Container child hbox3.Gtk.Box+BoxChild
			this.stopResumeButton = new global::Gtk.Button ();
			this.stopResumeButton.Sensitive = false;
			this.stopResumeButton.CanFocus = true;
			this.stopResumeButton.Name = "stopResumeButton";
			this.stopResumeButton.UseUnderline = true;
			this.stopResumeButton.Label = "Stop";
			this.hbox3.Add (this.stopResumeButton);
			global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.stopResumeButton]));
			w26.Position = 1;
			w26.Expand = false;
			w26.Fill = false;
			w26.Padding = ((uint)(20));
			// Container child hbox3.Gtk.Box+BoxChild
			this.countLabel = new global::Gtk.Label ();
			this.countLabel.Name = "countLabel";
			this.countLabel.LabelProp = "0/192";
			this.hbox3.Add (this.countLabel);
			global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.countLabel]));
			w27.Position = 2;
			w27.Expand = false;
			w27.Fill = false;
			w27.Padding = ((uint)(40));
			// Container child hbox3.Gtk.Box+BoxChild
			this.beginButton = new global::Gtk.Button ();
			this.beginButton.CanFocus = true;
			this.beginButton.Name = "beginButton";
			this.beginButton.UseUnderline = true;
			this.beginButton.Label = "Begin";
			this.hbox3.Add (this.beginButton);
			global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.beginButton]));
			w28.Position = 3;
			w28.Expand = false;
			w28.Fill = false;
			w28.Padding = ((uint)(20));
			// Container child hbox3.Gtk.Box+BoxChild
			this.hseparator1 = new global::Gtk.HSeparator ();
			this.hseparator1.Name = "hseparator1";
			this.hbox3.Add (this.hseparator1);
			global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hseparator1]));
			w29.Position = 4;
			this.vbox2.Add (this.hbox3);
			global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
			w30.Position = 2;
			w30.Expand = false;
			w30.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.statusLabel = new global::Gtk.Label ();
			this.statusLabel.Name = "statusLabel";
			this.vbox2.Add (this.statusLabel);
			global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusLabel]));
			w31.PackType = ((global::Gtk.PackType)(1));
			w31.Position = 3;
			w31.Expand = false;
			w31.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.progressBar = new global::Gtk.ProgressBar ();
			this.progressBar.Name = "progressBar";
			this.vbox2.Add (this.progressBar);
			global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressBar]));
			w32.PackType = ((global::Gtk.PackType)(1));
			w32.Position = 4;
			w32.Expand = false;
			w32.Fill = false;
			this.Add (this.vbox2);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 887;
			this.DefaultHeight = 570;
			this.Show ();
			this.ExportToWikiAction.Activated += new global::System.EventHandler (this.OnExportToWiki);
			this.IngredientsAction.Activated += new global::System.EventHandler (this.OnShowIngredients);
			this.maxIngredientsSpinButton.ValueChanged += new global::System.EventHandler (this.OnMaxIngredientsChanged);
			this.maxRecipeSpinButton.ValueChanged += new global::System.EventHandler (this.OnMaxRecipeChanged);
			this.fullQuantityDepthSpinButton.ValueChanged += new global::System.EventHandler (this.OnFullQuantityDepthChanged);
			this.fullQuantitySpinButton.Input += new global::Gtk.InputHandler (this.OnFullQuantityChanged);
			this.stopResumeButton.Clicked += new global::System.EventHandler (this.OnStopResume);
			this.beginButton.Clicked += new global::System.EventHandler (this.OnBegin);
		}
	}
}