Files
@ 80691eddf2ac
Branch filter:
Location: ATITD-Tools/Desert-Paint-Lab/gtk-gui/DesertPaintLab.RecipeGeneratorWindow.cs
80691eddf2ac
16.1 KiB
text/x-csharp
Merge README
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
public partial class RecipeGeneratorWindow
{
private global::Gtk.UIManager UIManager;
private global::Gtk.Action ExportAction;
private global::Gtk.Action ExportToWikiAction;
private global::Gtk.Action SettingsAction;
private global::Gtk.Action IngredientsAction;
private global::Gtk.VBox vbox2;
private global::Gtk.MenuBar menubar1;
private global::Gtk.HBox hbox1;
private global::Gtk.VBox vbox8;
private global::Gtk.Label label3;
private global::Gtk.SpinButton maxIngredientsSpinButton;
private global::Gtk.HSeparator hseparator3;
private global::Gtk.Label label4;
private global::Gtk.SpinButton maxRecipeSpinButton;
private global::Gtk.HSeparator hseparator4;
private global::Gtk.Label label8;
private global::Gtk.SpinButton fullQuantityDepthSpinButton;
private global::Gtk.Label label9;
private global::Gtk.SpinButton fullQuantitySpinButton;
private global::Gtk.ScrolledWindow GtkScrolledWindow1;
private global::Gtk.TreeView recipeList;
private global::Gtk.VBox vbox3;
private global::Gtk.Frame frame2;
private global::Gtk.Alignment GtkAlignment;
private global::Gtk.ScrolledWindow scrolledwindow1;
private global::Gtk.VBox recipeListBox;
private global::Gtk.Label recipeLabel;
private global::DesertPaintLab.PaintSwatch paintSwatch;
private global::Gtk.HBox hbox3;
private global::Gtk.HSeparator hseparator2;
private global::Gtk.Button stopResumeButton;
private global::Gtk.Label countLabel;
private global::Gtk.Button beginButton;
private global::Gtk.HSeparator hseparator1;
private global::Gtk.Label statusLabel;
private global::Gtk.ProgressBar progressBar;
protected virtual void Build ()
{
global::Stetic.Gui.Initialize (this);
// Widget DesertPaintLab.RecipeGeneratorWindow
this.UIManager = new global::Gtk.UIManager ();
global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
this.ExportAction = new global::Gtk.Action ("ExportAction", "Export", null, null);
this.ExportAction.ShortLabel = "Export";
w1.Add (this.ExportAction, null);
this.ExportToWikiAction = new global::Gtk.Action ("ExportToWikiAction", "Export to Wiki", null, null);
this.ExportToWikiAction.ShortLabel = "Export to Wiki";
w1.Add (this.ExportToWikiAction, null);
this.SettingsAction = new global::Gtk.Action ("SettingsAction", "Settings", null, null);
this.SettingsAction.ShortLabel = "Tools";
w1.Add (this.SettingsAction, null);
this.IngredientsAction = new global::Gtk.Action ("IngredientsAction", "Ingredients", null, null);
this.IngredientsAction.ShortLabel = "Ingredients";
w1.Add (this.IngredientsAction, null);
this.UIManager.InsertActionGroup (w1, 0);
this.AddAccelGroup (this.UIManager.AccelGroup);
this.Name = "DesertPaintLab.RecipeGeneratorWindow";
this.Title = "Recipe Generator";
this.WindowPosition = ((global::Gtk.WindowPosition)(4));
// Container child DesertPaintLab.RecipeGeneratorWindow.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.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='ExportAction' action='ExportAction'><menuitem name='ExportToWikiAction' action='ExportToWikiAction'/></menu><menu name='SettingsAction' action='SettingsAction'><menuitem name='IngredientsAction' action='IngredientsAction'/></menu></menubar></ui>");
this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
this.menubar1.Name = "menubar1";
this.vbox2.Add (this.menubar1);
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1]));
w2.Position = 0;
w2.Expand = false;
w2.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox ();
this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild
this.vbox8 = new global::Gtk.VBox ();
this.vbox8.Name = "vbox8";
this.vbox8.Spacing = 6;
// Container child vbox8.Gtk.Box+BoxChild
this.label3 = new global::Gtk.Label ();
this.label3.Name = "label3";
this.label3.LabelProp = "Maximum Ingredients";
this.vbox8.Add (this.label3);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label3]));
w3.Position = 0;
w3.Expand = false;
w3.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.maxIngredientsSpinButton = new global::Gtk.SpinButton (0, 14, 1);
this.maxIngredientsSpinButton.CanFocus = true;
this.maxIngredientsSpinButton.Name = "maxIngredientsSpinButton";
this.maxIngredientsSpinButton.Adjustment.PageIncrement = 10;
this.maxIngredientsSpinButton.ClimbRate = 1;
this.maxIngredientsSpinButton.Numeric = true;
this.vbox8.Add (this.maxIngredientsSpinButton);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.maxIngredientsSpinButton]));
w4.Position = 1;
w4.Expand = false;
w4.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.hseparator3 = new global::Gtk.HSeparator ();
this.hseparator3.Name = "hseparator3";
this.vbox8.Add (this.hseparator3);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hseparator3]));
w5.Position = 2;
w5.Expand = false;
w5.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.label4 = new global::Gtk.Label ();
this.label4.Name = "label4";
this.label4.LabelProp = "Max Total Quantity";
this.label4.UseMarkup = true;
this.label4.Wrap = true;
this.vbox8.Add (this.label4);
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label4]));
w6.Position = 3;
w6.Expand = false;
w6.Fill = false;
w6.Padding = ((uint)(8));
// Container child vbox8.Gtk.Box+BoxChild
this.maxRecipeSpinButton = new global::Gtk.SpinButton (0, 100, 1);
this.maxRecipeSpinButton.CanFocus = true;
this.maxRecipeSpinButton.Name = "maxRecipeSpinButton";
this.maxRecipeSpinButton.Adjustment.PageIncrement = 10;
this.maxRecipeSpinButton.ClimbRate = 1;
this.maxRecipeSpinButton.Numeric = true;
this.vbox8.Add (this.maxRecipeSpinButton);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.maxRecipeSpinButton]));
w7.Position = 4;
w7.Expand = false;
w7.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.hseparator4 = new global::Gtk.HSeparator ();
this.hseparator4.Name = "hseparator4";
this.vbox8.Add (this.hseparator4);
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hseparator4]));
w8.Position = 5;
w8.Expand = false;
w8.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.label8 = new global::Gtk.Label ();
this.label8.Name = "label8";
this.label8.LabelProp = "Full Quantity Depth";
this.vbox8.Add (this.label8);
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label8]));
w9.Position = 6;
w9.Expand = false;
w9.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.fullQuantityDepthSpinButton = new global::Gtk.SpinButton (0, 15, 1);
this.fullQuantityDepthSpinButton.CanFocus = true;
this.fullQuantityDepthSpinButton.Name = "fullQuantityDepthSpinButton";
this.fullQuantityDepthSpinButton.Adjustment.PageIncrement = 10;
this.fullQuantityDepthSpinButton.ClimbRate = 1;
this.fullQuantityDepthSpinButton.Numeric = true;
this.vbox8.Add (this.fullQuantityDepthSpinButton);
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.fullQuantityDepthSpinButton]));
w10.Position = 7;
w10.Expand = false;
w10.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.label9 = new global::Gtk.Label ();
this.label9.Name = "label9";
this.label9.LabelProp = "FullQuantity";
this.vbox8.Add (this.label9);
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label9]));
w11.Position = 8;
w11.Expand = false;
w11.Fill = false;
// Container child vbox8.Gtk.Box+BoxChild
this.fullQuantitySpinButton = new global::Gtk.SpinButton (0, 30, 1);
this.fullQuantitySpinButton.CanFocus = true;
this.fullQuantitySpinButton.Name = "fullQuantitySpinButton";
this.fullQuantitySpinButton.Adjustment.PageIncrement = 10;
this.fullQuantitySpinButton.ClimbRate = 1;
this.fullQuantitySpinButton.Numeric = true;
this.vbox8.Add (this.fullQuantitySpinButton);
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.fullQuantitySpinButton]));
w12.Position = 9;
w12.Expand = false;
w12.Fill = false;
this.hbox1.Add (this.vbox8);
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox8]));
w13.Position = 0;
w13.Expand = false;
w13.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild
this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
this.recipeList = new global::Gtk.TreeView ();
this.recipeList.WidthRequest = 300;
this.recipeList.CanFocus = true;
this.recipeList.Name = "recipeList";
this.GtkScrolledWindow1.Add (this.recipeList);
this.hbox1.Add (this.GtkScrolledWindow1);
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow1]));
w15.Position = 1;
// Container child hbox1.Gtk.Box+BoxChild
this.vbox3 = new global::Gtk.VBox ();
this.vbox3.Name = "vbox3";
this.vbox3.Spacing = 6;
// Container child vbox3.Gtk.Box+BoxChild
this.frame2 = new global::Gtk.Frame ();
this.frame2.WidthRequest = 200;
this.frame2.HeightRequest = 200;
this.frame2.Name = "frame2";
this.frame2.ShadowType = ((global::Gtk.ShadowType)(0));
// Container child frame2.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.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
this.scrolledwindow1.CanFocus = true;
this.scrolledwindow1.Name = "scrolledwindow1";
this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child scrolledwindow1.Gtk.Container+ContainerChild
global::Gtk.Viewport w16 = new global::Gtk.Viewport ();
w16.ShadowType = ((global::Gtk.ShadowType)(0));
// Container child GtkViewport.Gtk.Container+ContainerChild
this.recipeListBox = new global::Gtk.VBox ();
this.recipeListBox.Name = "recipeListBox";
this.recipeListBox.Homogeneous = true;
this.recipeListBox.Spacing = 6;
this.recipeListBox.BorderWidth = ((uint)(1));
w16.Add (this.recipeListBox);
this.scrolledwindow1.Add (w16);
this.GtkAlignment.Add (this.scrolledwindow1);
this.frame2.Add (this.GtkAlignment);
this.recipeLabel = new global::Gtk.Label ();
this.recipeLabel.Name = "recipeLabel";
this.recipeLabel.LabelProp = "<b>Recipe</b>";
this.recipeLabel.UseMarkup = true;
this.frame2.LabelWidget = this.recipeLabel;
this.vbox3.Add (this.frame2);
global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.frame2]));
w21.Position = 0;
// Container child vbox3.Gtk.Box+BoxChild
this.paintSwatch = new global::DesertPaintLab.PaintSwatch ();
this.paintSwatch.HeightRequest = 200;
this.paintSwatch.Events = ((global::Gdk.EventMask)(256));
this.paintSwatch.Name = "paintSwatch";
this.vbox3.Add (this.paintSwatch);
global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.paintSwatch]));
w22.Position = 1;
this.hbox1.Add (this.vbox3);
global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
w23.Position = 2;
w23.Expand = false;
w23.Fill = false;
this.vbox2.Add (this.hbox1);
global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
w24.Position = 1;
// 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.hseparator2 = new global::Gtk.HSeparator ();
this.hseparator2.Name = "hseparator2";
this.hbox3.Add (this.hseparator2);
global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hseparator2]));
w25.Position = 0;
// Container child hbox3.Gtk.Box+BoxChild
this.stopResumeButton = new global::Gtk.Button ();
this.stopResumeButton.Sensitive = false;
this.stopResumeButton.CanFocus = true;
this.stopResumeButton.Name = "stopResumeButton";
this.stopResumeButton.UseUnderline = true;
this.stopResumeButton.Label = "Stop";
this.hbox3.Add (this.stopResumeButton);
global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.stopResumeButton]));
w26.Position = 1;
w26.Expand = false;
w26.Fill = false;
w26.Padding = ((uint)(20));
// Container child hbox3.Gtk.Box+BoxChild
this.countLabel = new global::Gtk.Label ();
this.countLabel.Name = "countLabel";
this.countLabel.LabelProp = "0/192";
this.hbox3.Add (this.countLabel);
global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.countLabel]));
w27.Position = 2;
w27.Expand = false;
w27.Fill = false;
w27.Padding = ((uint)(40));
// Container child hbox3.Gtk.Box+BoxChild
this.beginButton = new global::Gtk.Button ();
this.beginButton.CanFocus = true;
this.beginButton.Name = "beginButton";
this.beginButton.UseUnderline = true;
this.beginButton.Label = "Begin";
this.hbox3.Add (this.beginButton);
global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.beginButton]));
w28.Position = 3;
w28.Expand = false;
w28.Fill = false;
w28.Padding = ((uint)(20));
// Container child hbox3.Gtk.Box+BoxChild
this.hseparator1 = new global::Gtk.HSeparator ();
this.hseparator1.Name = "hseparator1";
this.hbox3.Add (this.hseparator1);
global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hseparator1]));
w29.Position = 4;
this.vbox2.Add (this.hbox3);
global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
w30.Position = 2;
w30.Expand = false;
w30.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild
this.statusLabel = new global::Gtk.Label ();
this.statusLabel.Name = "statusLabel";
this.vbox2.Add (this.statusLabel);
global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.statusLabel]));
w31.PackType = ((global::Gtk.PackType)(1));
w31.Position = 3;
w31.Expand = false;
w31.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild
this.progressBar = new global::Gtk.ProgressBar ();
this.progressBar.Name = "progressBar";
this.vbox2.Add (this.progressBar);
global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.progressBar]));
w32.PackType = ((global::Gtk.PackType)(1));
w32.Position = 4;
w32.Expand = false;
w32.Fill = false;
this.Add (this.vbox2);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.DefaultWidth = 887;
this.DefaultHeight = 570;
this.Show ();
this.ExportToWikiAction.Activated += new global::System.EventHandler (this.OnExportToWiki);
this.IngredientsAction.Activated += new global::System.EventHandler (this.OnShowIngredients);
this.maxIngredientsSpinButton.ValueChanged += new global::System.EventHandler (this.OnMaxIngredientsChanged);
this.maxRecipeSpinButton.ValueChanged += new global::System.EventHandler (this.OnMaxRecipeChanged);
this.fullQuantityDepthSpinButton.ValueChanged += new global::System.EventHandler (this.OnFullQuantityDepthChanged);
this.fullQuantitySpinButton.Input += new global::Gtk.InputHandler (this.OnFullQuantityChanged);
this.stopResumeButton.Clicked += new global::System.EventHandler (this.OnStopResume);
this.beginButton.Clicked += new global::System.EventHandler (this.OnBegin);
}
}
}
|