Files @ e53fa6e66029
Branch filter:

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

Jason Maltzen
Add a button for marking a reaction as 'no reaction'

// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
	public partial class CaptureView
	{
		private global::Gtk.HBox hbox1;
		
		private global::Gtk.Frame selectIngredientsFrame;
		
		private global::Gtk.Alignment GtkAlignment;
		
		private global::Gtk.VBox vbox2;
		
		private global::Gtk.HBox hbox2;
		
		private global::Gtk.Label ingredient1Label;
		
		private global::Gtk.ComboBox ingredient1ComboBox;
		
		private global::Gtk.HBox hbox3;
		
		private global::Gtk.Label ingredient2Label;
		
		private global::Gtk.ComboBox ingredient2ComboBox;
		
		private global::Gtk.HBox hbox4;
		
		private global::Gtk.Label ingredient3Label;
		
		private global::Gtk.ComboBox ingredient3ComboBox;
		
		private global::Gtk.Button clearReactionButton;
		
		private global::Gtk.Label selectIngredientsLabel;
		
		private global::Gtk.Frame unmodifiedColorFrame;
		
		private global::Gtk.Alignment GtkAlignment1;
		
		private global::Gtk.VBox vbox3;
		
		private global::DesertPaintLab.PaintSwatch unmodifiedSwatch;
		
		private global::Gtk.Button captureButton;

        private global::Gtk.Button captureFromFileButton;

        private global::Gtk.Label unmodifiedLabel;
		
		private global::Gtk.Frame reactedColorFrame;
		
		private global::Gtk.Alignment GtkAlignment2;
		
		private global::Gtk.VBox vbox4;
		
		private global::DesertPaintLab.PaintSwatch reactionSwatch;
		
		private global::Gtk.Button recordButton;

        private global::Gtk.Button recordNoReactionButton;
		
		private global::Gtk.Label reactionLabel;

        private global::Gtk.ProgressBar progressBar;

        protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget DesertPaintLab.CaptureView
			global::Stetic.BinContainer.Attach (this);
			this.Name = "DesertPaintLab.CaptureView";
			// Container child DesertPaintLab.CaptureView.Gtk.Container+ContainerChild
			this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 6;
			// Container child hbox1.Gtk.Box+BoxChild
			this.selectIngredientsFrame = new global::Gtk.Frame ();
			this.selectIngredientsFrame.Name = "selectIngredientsFrame";
			this.selectIngredientsFrame.BorderWidth = ((uint)(4));
			// Container child selectIngredientsFrame.Gtk.Container+ContainerChild
			this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
			this.GtkAlignment.Name = "GtkAlignment";
			this.GtkAlignment.LeftPadding = ((uint)(6));
			this.GtkAlignment.RightPadding = ((uint)(6));
			// Container child GtkAlignment.Gtk.Container+ContainerChild
			this.vbox2 = new global::Gtk.VBox ();
			this.vbox2.Name = "vbox2";
			this.vbox2.Spacing = 6;
			// Container child vbox2.Gtk.Box+BoxChild
			this.hbox2 = new global::Gtk.HBox ();
			this.hbox2.Name = "hbox2";
			this.hbox2.Spacing = 6;
			// Container child hbox2.Gtk.Box+BoxChild
			this.ingredient1Label = new global::Gtk.Label ();
			this.ingredient1Label.Name = "ingredient1Label";
			this.ingredient1Label.LabelProp = "Ingredient 1:";
			this.hbox2.Add (this.ingredient1Label);
			global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ingredient1Label]));
			w1.Position = 0;
			w1.Expand = false;
			w1.Fill = false;
			// Container child hbox2.Gtk.Box+BoxChild
			this.ingredient1ComboBox = global::Gtk.ComboBox.NewText ();
			this.ingredient1ComboBox.Name = "ingredient1ComboBox";
			this.hbox2.Add (this.ingredient1ComboBox);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ingredient1ComboBox]));
			w2.Position = 1;
			this.vbox2.Add (this.hbox2);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
			w3.Position = 0;
			w3.Expand = false;
			w3.Fill = false;
			// 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.ingredient2Label = new global::Gtk.Label ();
			this.ingredient2Label.Name = "ingredient2Label";
			this.ingredient2Label.LabelProp = "Ingredient 2:";
			this.hbox3.Add (this.ingredient2Label);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.ingredient2Label]));
			w4.Position = 0;
			w4.Expand = false;
			w4.Fill = false;
			// Container child hbox3.Gtk.Box+BoxChild
			this.ingredient2ComboBox = global::Gtk.ComboBox.NewText ();
			this.ingredient2ComboBox.Name = "ingredient2ComboBox";
			this.hbox3.Add (this.ingredient2ComboBox);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.ingredient2ComboBox]));
			w5.Position = 1;
			this.vbox2.Add (this.hbox3);
			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
			w6.Position = 1;
			w6.Expand = false;
			w6.Fill = false;
			// Container child vbox2.Gtk.Box+BoxChild
			this.hbox4 = new global::Gtk.HBox ();
			this.hbox4.Name = "hbox4";
			this.hbox4.Spacing = 6;
			// Container child hbox4.Gtk.Box+BoxChild
			this.ingredient3Label = new global::Gtk.Label ();
			this.ingredient3Label.Name = "ingredient3Label";
			this.ingredient3Label.LabelProp = "Ingredient 3:";
			this.hbox4.Add (this.ingredient3Label);
			global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.ingredient3Label]));
			w7.Position = 0;
			w7.Expand = false;
			w7.Fill = false;
			// Container child hbox4.Gtk.Box+BoxChild
			this.ingredient3ComboBox = global::Gtk.ComboBox.NewText ();
			this.ingredient3ComboBox.Name = "ingredient3ComboBox";
			this.hbox4.Add (this.ingredient3ComboBox);
			global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.ingredient3ComboBox]));
			w8.Position = 1;
			this.vbox2.Add (this.hbox4);
			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4]));
			w9.Position = 2;
			w9.Expand = false;
			w9.Fill = false;
            // Container child vbox2.Gtk.Box+BoxChild
            this.clearReactionButton = new global::Gtk.Button ();
			this.clearReactionButton.Sensitive = false;
			this.clearReactionButton.CanFocus = true;
			this.clearReactionButton.Name = "clearReactionButton";
			this.clearReactionButton.UseUnderline = true;
			this.clearReactionButton.Label = "Clear Reaction";
			this.vbox2.Add (this.clearReactionButton);
			global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.clearReactionButton]));
			w10.PackType = ((global::Gtk.PackType)(1));
			w10.Position = 3;
			w10.Expand = false;
			w10.Fill = false;
			w10.Padding = ((uint)(6));
            this.recordNoReactionButton = new global::Gtk.Button();
            this.recordNoReactionButton.CanFocus = true;
            this.recordNoReactionButton.Name = "recordNoReactionButton";
            this.recordNoReactionButton.UseUnderline = true;
            this.recordNoReactionButton.Label = "No Reaction";
            this.vbox2.Add(this.recordNoReactionButton);
            global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.recordNoReactionButton]));
            w21.PackType = ((global::Gtk.PackType)(1));
            w21.Position = 4;
            w21.Expand = false;
            w21.Fill = false;
            w21.Padding = ((uint)(6));
            this.GtkAlignment.Add (this.vbox2);
			this.selectIngredientsFrame.Add (this.GtkAlignment);
			this.selectIngredientsLabel = new global::Gtk.Label ();
			this.selectIngredientsLabel.Name = "selectIngredientsLabel";
			this.selectIngredientsLabel.LabelProp = "<b>Select Ingredients</b>";
			this.selectIngredientsLabel.UseMarkup = true;
			this.selectIngredientsFrame.LabelWidget = this.selectIngredientsLabel;
			this.hbox1.Add (this.selectIngredientsFrame);
			global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.selectIngredientsFrame]));
			w13.Position = 0;
			// Container child hbox1.Gtk.Box+BoxChild
			this.unmodifiedColorFrame = new global::Gtk.Frame ();
			this.unmodifiedColorFrame.Name = "unmodifiedColorFrame";
			this.unmodifiedColorFrame.BorderWidth = ((uint)(4));
			// Container child unmodifiedColorFrame.Gtk.Container+ContainerChild
			this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
			this.GtkAlignment1.Name = "GtkAlignment1";
			this.GtkAlignment1.LeftPadding = ((uint)(5));
			this.GtkAlignment1.TopPadding = ((uint)(5));
			this.GtkAlignment1.RightPadding = ((uint)(5));
			this.GtkAlignment1.BottomPadding = ((uint)(6));
			// Container child GtkAlignment1.Gtk.Container+ContainerChild
			this.vbox3 = new global::Gtk.VBox ();
			this.vbox3.WidthRequest = 120;
			this.vbox3.Name = "vbox3";
			this.vbox3.Spacing = 6;
			// Container child vbox3.Gtk.Box+BoxChild
			this.unmodifiedSwatch = new global::DesertPaintLab.PaintSwatch ();
			this.unmodifiedSwatch.WidthRequest = 120;
			this.unmodifiedSwatch.HeightRequest = 120;
			this.unmodifiedSwatch.Events = ((global::Gdk.EventMask)(256));
			this.unmodifiedSwatch.Name = "unmodifiedSwatch";
			this.vbox3.Add (this.unmodifiedSwatch);
			global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.unmodifiedSwatch]));
			w14.Position = 0;
			// Container child vbox3.Gtk.Box+BoxChild
			this.captureButton = new global::Gtk.Button ();
			this.captureButton.CanFocus = true;
			this.captureButton.Name = "captureButton";
			this.captureButton.UseUnderline = true;
			this.captureButton.Label = "Capture";
			this.vbox3.Add (this.captureButton);
            // Container child vbox3.Gtk.Box+BoxChild
            global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.captureButton]));
            w15.Position = 1;
            w15.Expand = false;
            w15.Fill = false;
            this.captureFromFileButton = new global::Gtk.Button();
            this.captureFromFileButton.CanFocus = true;
            this.captureFromFileButton.Name = "captureButton";
            this.captureFromFileButton.UseUnderline = true;
            this.captureFromFileButton.Label = "Capture from File";
            this.vbox3.Add(this.captureFromFileButton);
            // Container child vbox3.Gtk.Box+BoxChild
            global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.captureFromFileButton]));
            w16.Position = 2;
            w16.Expand = false;
            w16.Fill = false;
            this.GtkAlignment1.Add (this.vbox3);
			this.unmodifiedColorFrame.Add (this.GtkAlignment1);
			this.unmodifiedLabel = new global::Gtk.Label ();
			this.unmodifiedLabel.Name = "unmodifiedLabel";
			this.unmodifiedLabel.LabelProp = "<b>Unmodified</b>";
			this.unmodifiedLabel.UseMarkup = true;
			this.unmodifiedLabel.Justify = ((global::Gtk.Justification)(2));
			this.unmodifiedColorFrame.LabelWidget = this.unmodifiedLabel;
			this.hbox1.Add (this.unmodifiedColorFrame);
			global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.unmodifiedColorFrame]));
			w18.Position = 1;
			w18.Expand = false;
			w18.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.reactedColorFrame = new global::Gtk.Frame ();
			this.reactedColorFrame.Name = "reactedColorFrame";
			this.reactedColorFrame.BorderWidth = ((uint)(4));
			// Container child reactedColorFrame.Gtk.Container+ContainerChild
			this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
			this.GtkAlignment2.Name = "GtkAlignment2";
			this.GtkAlignment2.LeftPadding = ((uint)(5));
			this.GtkAlignment2.TopPadding = ((uint)(5));
			this.GtkAlignment2.RightPadding = ((uint)(5));
			this.GtkAlignment2.BottomPadding = ((uint)(6));
			// Container child GtkAlignment2.Gtk.Container+ContainerChild
			this.vbox4 = new global::Gtk.VBox ();
			this.vbox4.WidthRequest = 120;
			this.vbox4.Name = "vbox4";
			this.vbox4.Spacing = 6;
			// Container child vbox4.Gtk.Box+BoxChild
			this.reactionSwatch = new global::DesertPaintLab.PaintSwatch ();
			this.reactionSwatch.WidthRequest = 120;
			this.reactionSwatch.HeightRequest = 120;
			this.reactionSwatch.Events = ((global::Gdk.EventMask)(256));
			this.reactionSwatch.Name = "reactionSwatch";
			this.vbox4.Add (this.reactionSwatch);
			global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.reactionSwatch]));
			w19.Position = 0;

            this.progressBar = new global::Gtk.ProgressBar();
            this.progressBar.Name = "progressBar";
            this.vbox4.Add(this.progressBar);
            global::Gtk.Box.BoxChild wProgress = ((global::Gtk.Box.BoxChild)(this.vbox4[this.progressBar]));
            wProgress.PackType = ((global::Gtk.PackType)(1));
            wProgress.Position = 1;
            wProgress.Expand = false;
            wProgress.Fill = false;

            // Container child vbox4.Gtk.Box+BoxChild
            this.recordButton = new global::Gtk.Button ();
			this.recordButton.CanFocus = true;
			this.recordButton.Name = "recordButton";
			this.recordButton.UseUnderline = true;
			this.recordButton.Label = "Record";
			this.vbox4.Add (this.recordButton);
			global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.recordButton]));
			w20.Position = 2;
			w20.Expand = false;
			w20.Fill = false;
            this.GtkAlignment2.Add (this.vbox4);
			this.reactedColorFrame.Add (this.GtkAlignment2);
			this.reactionLabel = new global::Gtk.Label ();
			this.reactionLabel.Name = "reactionLabel";
			this.reactionLabel.LabelProp = "<b>Reacted</b>";
			this.reactionLabel.UseMarkup = true;
			this.reactionLabel.Justify = ((global::Gtk.Justification)(2));
			this.reactedColorFrame.LabelWidget = this.reactionLabel;
			this.hbox1.Add (this.reactedColorFrame);
			global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.reactedColorFrame]));
			w23.Position = 3;
			w23.Expand = false;
			w23.Fill = false;
			this.Add (this.hbox1);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.clearReactionButton.Hide ();
            this.progressBar.Hide();
            this.Hide ();
			this.ingredient1ComboBox.Changed += new global::System.EventHandler (this.OnChangedIngredient1);
			this.ingredient2ComboBox.Changed += new global::System.EventHandler (this.OnChangedIngredient2);
			this.ingredient3ComboBox.Changed += new global::System.EventHandler (this.OnChangedIngredient3);
			this.clearReactionButton.Clicked += new global::System.EventHandler (this.OnClearReaction);
			this.captureButton.Clicked += new global::System.EventHandler (this.OnCapture);
            this.captureFromFileButton.Clicked += new global::System.EventHandler(this.OnCaptureFromFile);
            this.recordButton.Clicked += new global::System.EventHandler (this.OnRecord);
            this.recordNoReactionButton.Clicked += new global::System.EventHandler(this.OnRecordNoReaction);
        }
    }
}