Files
@ a4f9577554a9
Branch filter:
Location: ATITD-Tools/Desert-Paint-Lab/gtk-gui/DesertPaintLab.ScreenCheckDialog.cs
a4f9577554a9
8.2 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 |
// 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 ();
}
}
}
|