Files @ 71732f305328
Branch filter:

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

jmaltzen
Pre-allocate a bunch of map entries, given that we know there are a fixed set of colors. Use fixed arrays in places where maps/sets were excessive. Switch away from using Gtk.Application.Invoke, which leaks a bunch of memory.

// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
	public partial class ReactionStatusWindow
	{
		private global::Gtk.ScrolledWindow scroller;
		
		private global::Gtk.VBox resultbox;

		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget DesertPaintLab.ReactionStatusWindow
			this.Name = "DesertPaintLab.ReactionStatusWindow";
			this.Title = "Reaction Status";
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			// Container child DesertPaintLab.ReactionStatusWindow.Gtk.Container+ContainerChild
			this.scroller = new global::Gtk.ScrolledWindow ();
			this.scroller.CanFocus = true;
			this.scroller.Name = "scroller";
			this.scroller.ShadowType = ((global::Gtk.ShadowType)(1));
			// Container child scroller.Gtk.Container+ContainerChild
			global::Gtk.Viewport w1 = new global::Gtk.Viewport ();
			w1.ShadowType = ((global::Gtk.ShadowType)(0));
			// Container child GtkViewport.Gtk.Container+ContainerChild
			this.resultbox = new global::Gtk.VBox ();
			this.resultbox.Name = "resultbox";
			this.resultbox.Spacing = 6;
			w1.Add (this.resultbox);
			this.scroller.Add (w1);
			this.Add (this.scroller);
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 400;
			this.DefaultHeight = 300;
			this.Show ();
		}
	}
}