Files @ be9989c2c66e
Branch filter:

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

Jason Maltzen
Reduce the amount of debug output. Fix a crash when a potential window candidate is detected on the top row of the screen (which isn't possible). Break out of screen region tests early when the frame isn't detected to reduce how long a scan takes.

// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
	public partial class PaintSwatch
	{
		private global::Gtk.VBox vbox1;
		
		private global::Gtk.Label colorNameLabel;
		
		private global::Gtk.DrawingArea colorBox;
		
		private global::Gtk.Label rgbLabel;

		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget DesertPaintLab.PaintSwatch
			global::Stetic.BinContainer.Attach (this);
			this.Name = "DesertPaintLab.PaintSwatch";
			// Container child DesertPaintLab.PaintSwatch.Gtk.Container+ContainerChild
			this.vbox1 = new global::Gtk.VBox ();
			this.vbox1.Name = "vbox1";
			this.vbox1.Spacing = 6;
			// Container child vbox1.Gtk.Box+BoxChild
			this.colorNameLabel = new global::Gtk.Label ();
			this.colorNameLabel.Name = "colorNameLabel";
			this.colorNameLabel.LabelProp = "Unknown";
			this.vbox1.Add (this.colorNameLabel);
			global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.colorNameLabel]));
			w1.Position = 0;
			w1.Expand = false;
			w1.Fill = false;
			// Container child vbox1.Gtk.Box+BoxChild
			this.colorBox = new global::Gtk.DrawingArea ();
			this.colorBox.Name = "colorBox";
			this.vbox1.Add (this.colorBox);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.colorBox]));
			w2.Position = 1;
			// Container child vbox1.Gtk.Box+BoxChild
			this.rgbLabel = new global::Gtk.Label ();
			this.rgbLabel.Name = "rgbLabel";
			this.rgbLabel.LabelProp = "???, ???, ???";
			this.vbox1.Add (this.rgbLabel);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.rgbLabel]));
			w3.Position = 2;
			w3.Expand = false;
			w3.Fill = false;
			this.Add (this.vbox1);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.Hide ();
		}
	}
}