Files
@ 41381c24d35a
Branch filter:
Location: ATITD-Tools/Desert-Paint-Lab/gtk-gui/DesertPaintLab.ReactionStatusWindow.cs - annotation
41381c24d35a
3.9 KiB
text/x-csharp
Now supports all the interface sizes with a setting to select the current interface size. The initial screen size check now displays the detected resolution as a hint. The screen size check / interface size settings can now be updated after launch through File->Preferences. Capturing a reaction now includes a progress bar, and runs in a separate thread instead of silently blocking. The reaction status window under 'Help' now has options to disable ingredients to remove them from the list. NOTE: this also disables/enables those ingredients in the recipe generator as well. The list also updates as new reactions are recorded instead of requiring that it be closed and re-opened to update.
f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a 41381c24d35a f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb f28757bb21cb |
// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
public partial class ReactionStatusWindow
{
private global::Gtk.HBox hbox1;
private global::Gtk.Frame ingredientFrame;
private global::Gtk.Alignment ingredientAlignment;
private global::Gtk.ScrolledWindow scrolledwindow2;
private global::Gtk.TreeView reagentListView;
private global::Gtk.Label GtkLabel4;
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));
this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6;
// Reagent list
// Container child vbox8.Gtk.Box+BoxChild
this.ingredientFrame = new global::Gtk.Frame();
this.ingredientFrame.Name = "frame3";
this.ingredientFrame.ShadowType = ((global::Gtk.ShadowType)(0));
// Container child ingredientFrame.Gtk.Container+ContainerChild
this.ingredientAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.ingredientAlignment.Name = "GtkAlignment1";
this.ingredientAlignment.LeftPadding = ((uint)(12));
// Container child GtkAlignment1.Gtk.Container+ContainerChild
this.scrolledwindow2 = new global::Gtk.ScrolledWindow();
this.scrolledwindow2.CanFocus = true;
this.scrolledwindow2.Name = "scrolledwindow2";
this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child scrolledwindow2.Gtk.Container+ContainerChild
this.reagentListView = new global::Gtk.TreeView();
this.reagentListView.WidthRequest = 240;
this.reagentListView.CanFocus = true;
this.reagentListView.Name = "reagentListView";
this.scrolledwindow2.Add(this.reagentListView);
this.ingredientAlignment.Add(this.scrolledwindow2);
this.ingredientFrame.Add(this.ingredientAlignment);
this.GtkLabel4 = new global::Gtk.Label();
this.GtkLabel4.Name = "GtkLabel4";
this.GtkLabel4.LabelProp = "<b>Ingredients</b>";
this.GtkLabel4.UseMarkup = true;
this.ingredientFrame.LabelWidget = this.GtkLabel4;
this.hbox1.Add(this.ingredientFrame);
global::Gtk.Box.BoxChild w0 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.ingredientFrame]));
w0.Expand = false;
w0.Fill = true;
w0.Position = 0;
// Container child DesertPaintLab.ReactionStatusWindow.Gtk.Container+ContainerChild
this.scroller = new global::Gtk.ScrolledWindow ();
this.scroller.WidthRequest = 300;
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.hbox1.Add(this.scroller);
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.scroller]));
w2.Expand = true;
w2.Fill = true;
w2.Position = 1;
this.Add(this.hbox1);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.DefaultWidth = 400;
this.DefaultHeight = 300;
this.Show ();
}
}
}
|