Files @ d7ce199a7c3a
Branch filter:

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

Jason Maltzen
Removed tag T9_V4

// This file has been generated by the GUI designer. Do not modify.
namespace DesertPaintLab
{
	public partial class ScreenCheckDialog
	{
		private global::Gtk.VBox vbox2;
		
		private global::Gtk.HBox hbox1;
		
		private global::Gtk.Label label1;

        private global::Gtk.Label detectedResolutionLabel;

        private global::Gtk.Entry screenWidthEntry;
		
		private global::Gtk.Entry screenHeightEntry;
		
		private global::Gtk.HBox hbox2;
		
		private global::Gtk.Label label2;
		
		private global::Gtk.Entry gamePixelWidthEntry;

        private global::Gtk.HBox hbox3;

        private global::Gtk.Label interfaceSizeLlabel;

        private global::Gtk.ComboBox interfaceSizeComboBox;

        private global::Gtk.Button buttonOk;

		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget DesertPaintLab.ScreenCheckDialog
			this.Name = "DesertPaintLab.ScreenCheckDialog";
			this.Title = "Screen Check";
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			this.Modal = true;
			this.BorderWidth = ((uint)(9));
			// Internal child DesertPaintLab.ScreenCheckDialog.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.Name = "dialog1_VBox";
			// Container child dialog1_VBox.Gtk.Box+BoxChild
			this.vbox2 = new global::Gtk.VBox ();
			this.vbox2.Name = "vbox2";
			this.vbox2.Spacing = 20;
			this.vbox2.BorderWidth = ((uint)(20));

            // Container child vbox2.Gtk.Box+BoxChild
            this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 20;
			this.hbox1.BorderWidth = ((uint)(10));
			// Container child hbox1.Gtk.Box+BoxChild
			this.label1 = new global::Gtk.Label ();
			this.label1.Name = "label1";
			this.label1.LabelProp = "Screen Resolution";
			this.hbox1.Add (this.label1);
            global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label1]));
            w2.Position = 0;
            w2.Expand = false;
            w2.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.screenWidthEntry = new global::Gtk.Entry ();
			this.screenWidthEntry.WidthRequest = 50;
			this.screenWidthEntry.CanFocus = true;
			this.screenWidthEntry.Name = "screenWidthEntry";
			this.screenWidthEntry.IsEditable = true;
			this.screenWidthEntry.InvisibleChar = '●';
			this.hbox1.Add (this.screenWidthEntry);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.screenWidthEntry]));
			w3.Position = 1;
			// Container child hbox1.Gtk.Box+BoxChild
			this.screenHeightEntry = new global::Gtk.Entry ();
			this.screenHeightEntry.WidthRequest = 50;
			this.screenHeightEntry.CanFocus = true;
			this.screenHeightEntry.Name = "screenHeightEntry";
			this.screenHeightEntry.IsEditable = true;
			this.screenHeightEntry.InvisibleChar = '●';
			this.hbox1.Add (this.screenHeightEntry);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.screenHeightEntry]));
			w4.Position = 2;
			this.vbox2.Add (this.hbox1);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
			w5.Position = 0;
			w5.Expand = false;
			w5.Fill = false;

            // Container child vbox2.Gtk.Box+BoxChild
            this.detectedResolutionLabel = new global::Gtk.Label();
            this.detectedResolutionLabel.Name = "detectedResolutionLabel";
            this.detectedResolutionLabel.LabelProp = "Detected Screen Resolution: ??";
            this.vbox2.Add(this.detectedResolutionLabel);
            global::Gtk.Box.BoxChild wDR = ((global::Gtk.Box.BoxChild)(this.vbox2[this.detectedResolutionLabel]));
            wDR.Position =  1;
            wDR.Expand = false;
            wDR.Fill = false;

            // Container child vbox2.Gtk.Box+BoxChild
            this.hbox2 = new global::Gtk.HBox ();
			this.hbox2.Name = "hbox2";
			this.hbox2.Spacing = 20;
			this.hbox2.BorderWidth = ((uint)(10));
			// Container child hbox2.Gtk.Box+BoxChild
			this.label2 = new global::Gtk.Label ();
			this.label2.Name = "label2";
			this.label2.LabelProp = "Game Pixel Width in Screen Pixels";
			this.hbox2.Add (this.label2);
			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
			w6.Position = 0;
			w6.Expand = false;
			w6.Fill = false;
			// Container child hbox2.Gtk.Box+BoxChild
			this.gamePixelWidthEntry = new global::Gtk.Entry ();
			this.gamePixelWidthEntry.WidthRequest = 50;
			this.gamePixelWidthEntry.CanFocus = true;
			this.gamePixelWidthEntry.Name = "gamePixelWidthEntry";
			this.gamePixelWidthEntry.IsEditable = true;
			this.gamePixelWidthEntry.InvisibleChar = '●';
			this.hbox2.Add (this.gamePixelWidthEntry);
			global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.gamePixelWidthEntry]));
			w7.Position = 1;
			w7.Expand = false;
			w7.Fill = false;
			this.vbox2.Add (this.hbox2);
			global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox2]));
			w8.Position = 2;
			w8.Expand = false;
			w8.Fill = false;

            // Container child vbox2.Gtk.Box+BoxChild
            this.hbox3 = new global::Gtk.HBox();
            this.hbox3.Name = "hbox3";
            this.hbox3.Spacing = 20;
            this.hbox3.BorderWidth = ((uint)(10));
            // Container child hbox3.Gtk.Box+BoxChild
            this.interfaceSizeLlabel = new global::Gtk.Label();
            this.interfaceSizeLlabel.Name = "interfaceSizeLabel";
            this.interfaceSizeLlabel.LabelProp = "Interface Size";
            this.hbox3.Add(this.interfaceSizeLlabel);
            global::Gtk.Box.BoxChild interfaceSizeContainer = ((global::Gtk.Box.BoxChild)(this.hbox3[this.interfaceSizeLlabel]));
            interfaceSizeContainer.Position = 0;
            interfaceSizeContainer.Expand = false;
            interfaceSizeContainer.Fill = false;
            // Container child hbox2.Gtk.Box+BoxChild
            this.interfaceSizeComboBox = global::Gtk.ComboBox.NewText();
            this.interfaceSizeComboBox.Name = "interfaceSizeComboBox";
            this.hbox3.Add(this.interfaceSizeComboBox);
            global::Gtk.Box.BoxChild wInterfaceSize = ((global::Gtk.Box.BoxChild)(this.hbox2[this.interfaceSizeComboBox]));
            wInterfaceSize.Position = 1;
            this.vbox2.Add(this.hbox3);
            global::Gtk.Box.BoxChild wInterfaceSizeBox = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
            wInterfaceSizeBox.Position = 0;
            wInterfaceSizeBox.Expand = false;
            wInterfaceSizeBox.Fill = false;

            // Fill interface size box
            interfaceSizeComboBox.Clear();

            Gtk.CellRendererText cell = new Gtk.CellRendererText();
            interfaceSizeComboBox.PackStart(cell, false);
            interfaceSizeComboBox.AddAttribute(cell, "text", 0);
            Gtk.ListStore store = new Gtk.ListStore(typeof(string));
            interfaceSizeComboBox.Model = store;
            store.AppendValues("Tiny");
            store.AppendValues("Small");
            store.AppendValues("Medium");
            store.AppendValues("Large");
            store.AppendValues("Huge");
            Gtk.TreeIter iter;
            interfaceSizeComboBox.Model.IterNthChild(out iter, 1);
            interfaceSizeComboBox.SetActiveIter(iter);

            w1.Add (this.vbox2);
			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2]));
			w9.Position = 3;
			// Internal child DesertPaintLab.ScreenCheckDialog.ActionArea
			global::Gtk.HButtonBox w10 = this.ActionArea;
			w10.Name = "dialog1_ActionArea";
			w10.Spacing = 10;
			w10.BorderWidth = ((uint)(5));
			w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.buttonOk = new global::Gtk.Button ();
			this.buttonOk.CanDefault = true;
			this.buttonOk.CanFocus = true;
			this.buttonOk.Name = "buttonOk";
			this.buttonOk.UseStock = true;
			this.buttonOk.UseUnderline = true;
			this.buttonOk.Label = "gtk-ok";
			this.AddActionWidget (this.buttonOk, -5);
			global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.buttonOk]));
			w11.Expand = false;
			w11.Fill = false;

            if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 378;
			this.DefaultHeight = 245;
			this.Show ();
		}
	}
}