Files
@ a4f9577554a9
Branch filter:
Location: ATITD-Tools/Desert-Paint-Lab/gtk-gui/DesertPaintLab.CaptureView.cs
a4f9577554a9
12.6 KiB
text/x-csharp
Added tag VERSION_T8_RC4 for changeset d792b40d3ef9
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 |
// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
public partial class CaptureView
{
private global::Gtk.HBox hbox1;
private global::Gtk.Frame selectIngredientsFrame;
private global::Gtk.Alignment GtkAlignment;
private global::Gtk.VBox vbox2;
private global::Gtk.HBox hbox2;
private global::Gtk.Label ingredient1Label;
private global::Gtk.ComboBox ingredient1ComboBox;
private global::Gtk.HBox hbox3;
private global::Gtk.Label ingredient2Label;
private global::Gtk.ComboBox ingredient2ComboBox;
private global::Gtk.HBox hbox4;
private global::Gtk.Label ingredient3Label;
private global::Gtk.ComboBox ingredient3ComboBox;
private global::Gtk.Button clearReactionButton;
private global::Gtk.Label selectIngredientsLabel;
private global::Gtk.Frame unmodifiedColorFrame;
private global::Gtk.Alignment GtkAlignment1;
private global::Gtk.VBox vbox3;
private global::DesertPaintLab.PaintSwatch unmodifiedSwatch;
private global::Gtk.Button captureButton;
private global::Gtk.Label unmodifiedLabel;
private global::Gtk.Frame reactedColorFrame;
private global::Gtk.Alignment GtkAlignment2;
private global::Gtk.VBox vbox4;
private global::DesertPaintLab.PaintSwatch reactionSwatch;
private global::Gtk.Button recordButton;
private global::Gtk.Label reactionLabel;
private global::Gtk.ProgressBar progressBar;
protected virtual void Build ()
{
global::Stetic.Gui.Initialize (this);
// Widget DesertPaintLab.CaptureView
global::Stetic.BinContainer.Attach (this);
this.Name = "DesertPaintLab.CaptureView";
// Container child DesertPaintLab.CaptureView.Gtk.Container+ContainerChild
this.hbox1 = new global::Gtk.HBox ();
this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild
this.selectIngredientsFrame = new global::Gtk.Frame ();
this.selectIngredientsFrame.Name = "selectIngredientsFrame";
this.selectIngredientsFrame.BorderWidth = ((uint)(4));
// Container child selectIngredientsFrame.Gtk.Container+ContainerChild
this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
this.GtkAlignment.Name = "GtkAlignment";
this.GtkAlignment.LeftPadding = ((uint)(6));
this.GtkAlignment.RightPadding = ((uint)(6));
// Container child GtkAlignment.Gtk.Container+ContainerChild
this.vbox2 = new global::Gtk.VBox ();
this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild
this.hbox2 = new global::Gtk.HBox ();
this.hbox2.Name = "hbox2";
this.hbox2.Spacing = 6;
// Container child hbox2.Gtk.Box+BoxChild
this.ingredient1Label = new global::Gtk.Label ();
this.ingredient1Label.Name = "ingredient1Label";
this.ingredient1Label.LabelProp = "Ingredient 1:";
this.hbox2.Add (this.ingredient1Label);
global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ingredient1Label]));
w1.Position = 0;
w1.Expand = false;
w1.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild
this.ingredient1ComboBox = global::Gtk.ComboBox.NewText ();
this.ingredient1ComboBox.Name = "ingredient1ComboBox";
this.hbox2.Add (this.ingredient1ComboBox);
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ingredient1ComboBox]));
w2.Position = 1;
this.vbox2.Add (this.hbox2);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
w3.Position = 0;
w3.Expand = false;
w3.Fill = false;
// 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.ingredient2Label = new global::Gtk.Label ();
this.ingredient2Label.Name = "ingredient2Label";
this.ingredient2Label.LabelProp = "Ingredient 2:";
this.hbox3.Add (this.ingredient2Label);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.ingredient2Label]));
w4.Position = 0;
w4.Expand = false;
w4.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild
this.ingredient2ComboBox = global::Gtk.ComboBox.NewText ();
this.ingredient2ComboBox.Name = "ingredient2ComboBox";
this.hbox3.Add (this.ingredient2ComboBox);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.ingredient2ComboBox]));
w5.Position = 1;
this.vbox2.Add (this.hbox3);
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
w6.Position = 1;
w6.Expand = false;
w6.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild
this.hbox4 = new global::Gtk.HBox ();
this.hbox4.Name = "hbox4";
this.hbox4.Spacing = 6;
// Container child hbox4.Gtk.Box+BoxChild
this.ingredient3Label = new global::Gtk.Label ();
this.ingredient3Label.Name = "ingredient3Label";
this.ingredient3Label.LabelProp = "Ingredient 3:";
this.hbox4.Add (this.ingredient3Label);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.ingredient3Label]));
w7.Position = 0;
w7.Expand = false;
w7.Fill = false;
// Container child hbox4.Gtk.Box+BoxChild
this.ingredient3ComboBox = global::Gtk.ComboBox.NewText ();
this.ingredient3ComboBox.Name = "ingredient3ComboBox";
this.hbox4.Add (this.ingredient3ComboBox);
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.ingredient3ComboBox]));
w8.Position = 1;
this.vbox2.Add (this.hbox4);
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4]));
w9.Position = 2;
w9.Expand = false;
w9.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild
this.clearReactionButton = new global::Gtk.Button ();
this.clearReactionButton.Sensitive = false;
this.clearReactionButton.CanFocus = true;
this.clearReactionButton.Name = "clearReactionButton";
this.clearReactionButton.UseUnderline = true;
this.clearReactionButton.Label = "Clear Reaction";
this.vbox2.Add (this.clearReactionButton);
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.clearReactionButton]));
w10.PackType = ((global::Gtk.PackType)(1));
w10.Position = 3;
w10.Expand = false;
w10.Fill = false;
w10.Padding = ((uint)(6));
this.GtkAlignment.Add (this.vbox2);
this.selectIngredientsFrame.Add (this.GtkAlignment);
this.selectIngredientsLabel = new global::Gtk.Label ();
this.selectIngredientsLabel.Name = "selectIngredientsLabel";
this.selectIngredientsLabel.LabelProp = "<b>Select Ingredients</b>";
this.selectIngredientsLabel.UseMarkup = true;
this.selectIngredientsFrame.LabelWidget = this.selectIngredientsLabel;
this.hbox1.Add (this.selectIngredientsFrame);
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.selectIngredientsFrame]));
w13.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild
this.unmodifiedColorFrame = new global::Gtk.Frame ();
this.unmodifiedColorFrame.Name = "unmodifiedColorFrame";
this.unmodifiedColorFrame.BorderWidth = ((uint)(4));
// Container child unmodifiedColorFrame.Gtk.Container+ContainerChild
this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
this.GtkAlignment1.Name = "GtkAlignment1";
this.GtkAlignment1.LeftPadding = ((uint)(5));
this.GtkAlignment1.TopPadding = ((uint)(5));
this.GtkAlignment1.RightPadding = ((uint)(5));
this.GtkAlignment1.BottomPadding = ((uint)(6));
// Container child GtkAlignment1.Gtk.Container+ContainerChild
this.vbox3 = new global::Gtk.VBox ();
this.vbox3.WidthRequest = 120;
this.vbox3.Name = "vbox3";
this.vbox3.Spacing = 6;
// Container child vbox3.Gtk.Box+BoxChild
this.unmodifiedSwatch = new global::DesertPaintLab.PaintSwatch ();
this.unmodifiedSwatch.WidthRequest = 120;
this.unmodifiedSwatch.HeightRequest = 120;
this.unmodifiedSwatch.Events = ((global::Gdk.EventMask)(256));
this.unmodifiedSwatch.Name = "unmodifiedSwatch";
this.vbox3.Add (this.unmodifiedSwatch);
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.unmodifiedSwatch]));
w14.Position = 0;
// Container child vbox3.Gtk.Box+BoxChild
this.captureButton = new global::Gtk.Button ();
this.captureButton.CanFocus = true;
this.captureButton.Name = "captureButton";
this.captureButton.UseUnderline = true;
this.captureButton.Label = "Capture";
this.vbox3.Add (this.captureButton);
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.captureButton]));
w15.Position = 1;
w15.Expand = false;
w15.Fill = false;
this.GtkAlignment1.Add (this.vbox3);
this.unmodifiedColorFrame.Add (this.GtkAlignment1);
this.unmodifiedLabel = new global::Gtk.Label ();
this.unmodifiedLabel.Name = "unmodifiedLabel";
this.unmodifiedLabel.LabelProp = "<b>Unmodified</b>";
this.unmodifiedLabel.UseMarkup = true;
this.unmodifiedLabel.Justify = ((global::Gtk.Justification)(2));
this.unmodifiedColorFrame.LabelWidget = this.unmodifiedLabel;
this.hbox1.Add (this.unmodifiedColorFrame);
global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.unmodifiedColorFrame]));
w18.Position = 1;
w18.Expand = false;
w18.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild
this.reactedColorFrame = new global::Gtk.Frame ();
this.reactedColorFrame.Name = "reactedColorFrame";
this.reactedColorFrame.BorderWidth = ((uint)(4));
// Container child reactedColorFrame.Gtk.Container+ContainerChild
this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
this.GtkAlignment2.Name = "GtkAlignment2";
this.GtkAlignment2.LeftPadding = ((uint)(5));
this.GtkAlignment2.TopPadding = ((uint)(5));
this.GtkAlignment2.RightPadding = ((uint)(5));
this.GtkAlignment2.BottomPadding = ((uint)(6));
// Container child GtkAlignment2.Gtk.Container+ContainerChild
this.vbox4 = new global::Gtk.VBox ();
this.vbox4.WidthRequest = 120;
this.vbox4.Name = "vbox4";
this.vbox4.Spacing = 6;
// Container child vbox4.Gtk.Box+BoxChild
this.reactionSwatch = new global::DesertPaintLab.PaintSwatch ();
this.reactionSwatch.WidthRequest = 120;
this.reactionSwatch.HeightRequest = 120;
this.reactionSwatch.Events = ((global::Gdk.EventMask)(256));
this.reactionSwatch.Name = "reactionSwatch";
this.vbox4.Add (this.reactionSwatch);
global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.reactionSwatch]));
w19.Position = 0;
this.progressBar = new global::Gtk.ProgressBar();
this.progressBar.Name = "progressBar";
this.vbox4.Add(this.progressBar);
global::Gtk.Box.BoxChild wProgress = ((global::Gtk.Box.BoxChild)(this.vbox4[this.progressBar]));
wProgress.PackType = ((global::Gtk.PackType)(1));
wProgress.Position = 1;
wProgress.Expand = false;
wProgress.Fill = false;
// Container child vbox4.Gtk.Box+BoxChild
this.recordButton = new global::Gtk.Button ();
this.recordButton.CanFocus = true;
this.recordButton.Name = "recordButton";
this.recordButton.UseUnderline = true;
this.recordButton.Label = "Record";
this.vbox4.Add (this.recordButton);
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.recordButton]));
w20.Position = 2;
w20.Expand = false;
w20.Fill = false;
this.GtkAlignment2.Add (this.vbox4);
this.reactedColorFrame.Add (this.GtkAlignment2);
this.reactionLabel = new global::Gtk.Label ();
this.reactionLabel.Name = "reactionLabel";
this.reactionLabel.LabelProp = "<b>Reacted</b>";
this.reactionLabel.UseMarkup = true;
this.reactionLabel.Justify = ((global::Gtk.Justification)(2));
this.reactedColorFrame.LabelWidget = this.reactionLabel;
this.hbox1.Add (this.reactedColorFrame);
global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.reactedColorFrame]));
w23.Position = 3;
w23.Expand = false;
w23.Fill = false;
this.Add (this.hbox1);
if ((this.Child != null)) {
this.Child.ShowAll ();
}
this.clearReactionButton.Hide ();
this.progressBar.Hide();
this.Hide ();
this.ingredient1ComboBox.Changed += new global::System.EventHandler (this.OnChangedIngredient1);
this.ingredient2ComboBox.Changed += new global::System.EventHandler (this.OnChangedIngredient2);
this.ingredient3ComboBox.Changed += new global::System.EventHandler (this.OnChangedIngredient3);
this.clearReactionButton.Clicked += new global::System.EventHandler (this.OnClearReaction);
this.captureButton.Clicked += new global::System.EventHandler (this.OnCapture);
this.recordButton.Clicked += new global::System.EventHandler (this.OnRecord);
}
}
}
|