Files
@ 2f97b4ec280b
Branch filter:
Location: ATITD-Tools/Desert-Paint-Lab/gtk-gui/DesertPaintLab.ReagentWindow.cs - annotation
2f97b4ec280b
3.8 KiB
text/x-csharp
Use value from HSV for determining whether text should be white or black in exported wiki format recipes.
2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa 2040107278aa |
// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
public partial class ReagentWindow
{
private global::Gtk.VBox vbox2;
private global::Gtk.Frame frame3;
private global::Gtk.Alignment GtkAlignment;
private global::Gtk.Table ingredientTable;
private global::Gtk.Label GtkLabel;
private global::Gtk.HButtonBox hbuttonbox3;
private global::Gtk.Button okButton;
private global::Gtk.Button cancelButton;
protected virtual void Build ()
{
global::Stetic.Gui.Initialize (this);
// Widget DesertPaintLab.ReagentWindow
this.Name = "DesertPaintLab.ReagentWindow";
this.Title = "ReagentWindow";
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
// Container child DesertPaintLab.ReagentWindow.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.frame3 = new global::Gtk.Frame ();
this.frame3.Name = "frame3";
this.frame3.ShadowType = ((global::Gtk.ShadowType)(0));
// Container child frame3.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.ingredientTable = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false);
this.ingredientTable.Name = "ingredientTable";
this.ingredientTable.RowSpacing = ((uint)(6));
this.ingredientTable.ColumnSpacing = ((uint)(6));
this.GtkAlignment.Add (this.ingredientTable);
this.frame3.Add (this.GtkAlignment);
this.GtkLabel = new global::Gtk.Label ();
this.GtkLabel.Name = "GtkLabel";
this.GtkLabel.LabelProp = "<b>Ingredients</b>";
this.GtkLabel.UseMarkup = true;
this.frame3.LabelWidget = this.GtkLabel;
this.vbox2.Add (this.frame3);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame3]));
w3.Position = 0;
// Container child vbox2.Gtk.Box+BoxChild
this.hbuttonbox3 = new global::Gtk.HButtonBox ();
this.hbuttonbox3.Name = "hbuttonbox3";
// Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
this.okButton = new global::Gtk.Button ();
this.okButton.WidthRequest = 80;
this.okButton.CanFocus = true;
this.okButton.Name = "okButton";
this.okButton.UseUnderline = true;
this.okButton.Label = "Ok";
this.hbuttonbox3.Add (this.okButton);
global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3 [this.okButton]));
w4.Expand = false;
w4.Fill = false;
// Container child hbuttonbox3.Gtk.ButtonBox+ButtonBoxChild
this.cancelButton = new global::Gtk.Button ();
this.cancelButton.WidthRequest = 80;
this.cancelButton.CanFocus = true;
this.cancelButton.Name = "cancelButton";
this.cancelButton.UseUnderline = true;
this.cancelButton.Label = "Cancel";
this.hbuttonbox3.Add (this.cancelButton);
global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox3 [this.cancelButton]));
w5.Position = 1;
w5.Expand = false;
w5.Fill = false;
this.vbox2.Add (this.hbuttonbox3);
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbuttonbox3]));
w6.PackType = ((global::Gtk.PackType)(1));
w6.Position = 1;
w6.Expand = false;
w6.Fill = false;
this.Add (this.vbox2);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.DefaultWidth = 400;
this.DefaultHeight = 357;
this.Show ();
this.okButton.Clicked += new global::System.EventHandler (this.OnOK);
this.cancelButton.Clicked += new global::System.EventHandler (this.OnCancel);
}
}
}
|