protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LynnaLab.ComboBoxFromConstants
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LynnaLab.ComboBoxFromConstants";
     // Container child LynnaLab.ComboBoxFromConstants.Gtk.Container+ContainerChild
     this.hbox1      = new global::Gtk.HBox();
     this.hbox1.Name = "hbox1";
     // Container child hbox1.Gtk.Box+BoxChild
     this.spinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.spinButton.CanFocus                 = true;
     this.spinButton.Name                     = "spinButton";
     this.spinButton.Adjustment.Upper         = 255D;
     this.spinButton.Adjustment.PageIncrement = 16D;
     this.spinButton.Adjustment.StepIncrement = 1D;
     this.spinButton.ClimbRate                = 1D;
     this.spinButton.Digits                   = ((uint)(2));
     this.spinButton.Numeric                  = true;
     this.hbox1.Add(this.spinButton);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.spinButton]));
     w1.Position = 0;
     w1.Expand   = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.combobox1 = global::Gtk.ComboBox.NewWithEntry();
     this.combobox1.WidthRequest = 160;
     this.combobox1.Name         = "combobox1";
     this.hbox1.Add(this.combobox1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.combobox1]));
     w2.Position = 1;
     this.Add(this.hbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.spinButton.ValueChanged += new global::System.EventHandler(this.OnSpinButtonValueChanged);
     this.combobox1.Changed       += new global::System.EventHandler(this.OnCombobox1Changed);
 }
Esempio n. 2
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LynnaLab.AreaEditor
     global::Stetic.BinContainer.Attach (this);
     this.Name = "LynnaLab.AreaEditor";
     // Container child LynnaLab.AreaEditor.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.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Area");
     this.hbox2.Add (this.label7);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label7]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.areaSpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.areaSpinButton.CanFocus = true;
     this.areaSpinButton.Name = "areaSpinButton";
     this.areaSpinButton.Adjustment.Upper = 255;
     this.areaSpinButton.Adjustment.PageIncrement = 10;
     this.areaSpinButton.Adjustment.StepIncrement = 1;
     this.areaSpinButton.ClimbRate = 1;
     this.areaSpinButton.Digits = ((uint)(2));
     this.areaSpinButton.Numeric = true;
     this.hbox2.Add (this.areaSpinButton);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.areaSpinButton]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     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.frame2 = new global::Gtk.Frame ();
     this.frame2.Name = "frame2";
     // 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.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(8)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.animationsSpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.animationsSpinButton.CanFocus = true;
     this.animationsSpinButton.Name = "animationsSpinButton";
     this.animationsSpinButton.Adjustment.Upper = 100;
     this.animationsSpinButton.Adjustment.PageIncrement = 10;
     this.animationsSpinButton.Adjustment.StepIncrement = 1;
     this.animationsSpinButton.ClimbRate = 1;
     this.animationsSpinButton.Digits = ((uint)(2));
     this.animationsSpinButton.Numeric = true;
     this.table2.Add (this.animationsSpinButton);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.animationsSpinButton]));
     w4.TopAttach = ((uint)(7));
     w4.BottomAttach = ((uint)(8));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.flags1SpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.flags1SpinButton.CanFocus = true;
     this.flags1SpinButton.Name = "flags1SpinButton";
     this.flags1SpinButton.Adjustment.Upper = 255;
     this.flags1SpinButton.Adjustment.PageIncrement = 10;
     this.flags1SpinButton.Adjustment.StepIncrement = 1;
     this.flags1SpinButton.ClimbRate = 1;
     this.flags1SpinButton.Digits = ((uint)(2));
     this.flags1SpinButton.Numeric = true;
     this.table2.Add (this.flags1SpinButton);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.flags1SpinButton]));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.flags2SpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.flags2SpinButton.CanFocus = true;
     this.flags2SpinButton.Name = "flags2SpinButton";
     this.flags2SpinButton.Adjustment.Upper = 255;
     this.flags2SpinButton.Adjustment.PageIncrement = 10;
     this.flags2SpinButton.Adjustment.StepIncrement = 1;
     this.flags2SpinButton.ClimbRate = 1;
     this.flags2SpinButton.Digits = ((uint)(2));
     this.flags2SpinButton.Numeric = true;
     this.table2.Add (this.flags2SpinButton);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.flags2SpinButton]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Main Gfx");
     this.table2.Add (this.label1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1]));
     w7.TopAttach = ((uint)(3));
     w7.BottomAttach = ((uint)(4));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Palettes");
     this.table2.Add (this.label2);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.label2]));
     w8.TopAttach = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Tileset");
     this.table2.Add (this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3]));
     w9.TopAttach = ((uint)(5));
     w9.BottomAttach = ((uint)(6));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Flags 1");
     this.table2.Add (this.label4);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Flags 2");
     this.table2.Add (this.label5);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5]));
     w11.TopAttach = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Unique Gfx");
     this.table2.Add (this.label6);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6]));
     w12.TopAttach = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Layout Group");
     this.table2.Add (this.label8);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w13.TopAttach = ((uint)(6));
     w13.BottomAttach = ((uint)(7));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Animations");
     this.table2.Add (this.label9);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w14.TopAttach = ((uint)(7));
     w14.BottomAttach = ((uint)(8));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.layoutGroupSpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.layoutGroupSpinButton.CanFocus = true;
     this.layoutGroupSpinButton.Name = "layoutGroupSpinButton";
     this.layoutGroupSpinButton.Adjustment.Upper = 100;
     this.layoutGroupSpinButton.Adjustment.PageIncrement = 10;
     this.layoutGroupSpinButton.Adjustment.StepIncrement = 1;
     this.layoutGroupSpinButton.ClimbRate = 1;
     this.layoutGroupSpinButton.Digits = ((uint)(2));
     this.layoutGroupSpinButton.Numeric = true;
     this.table2.Add (this.layoutGroupSpinButton);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.layoutGroupSpinButton]));
     w15.TopAttach = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.mainGfxComboBox = new global::LynnaLab.ComboBoxFromConstants ();
     this.mainGfxComboBox.Events = ((global::Gdk.EventMask)(256));
     this.mainGfxComboBox.Name = "mainGfxComboBox";
     this.mainGfxComboBox.Active = 0;
     this.mainGfxComboBox.ActiveValue = 0;
     this.table2.Add (this.mainGfxComboBox);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.mainGfxComboBox]));
     w16.TopAttach = ((uint)(3));
     w16.BottomAttach = ((uint)(4));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.palettesComboBox = new global::LynnaLab.ComboBoxFromConstants ();
     this.palettesComboBox.Events = ((global::Gdk.EventMask)(256));
     this.palettesComboBox.Name = "palettesComboBox";
     this.palettesComboBox.Active = 0;
     this.palettesComboBox.ActiveValue = 0;
     this.table2.Add (this.palettesComboBox);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.palettesComboBox]));
     w17.TopAttach = ((uint)(4));
     w17.BottomAttach = ((uint)(5));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.tilesetSpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.tilesetSpinButton.CanFocus = true;
     this.tilesetSpinButton.Name = "tilesetSpinButton";
     this.tilesetSpinButton.Adjustment.Upper = 100;
     this.tilesetSpinButton.Adjustment.PageIncrement = 10;
     this.tilesetSpinButton.Adjustment.StepIncrement = 1;
     this.tilesetSpinButton.ClimbRate = 1;
     this.tilesetSpinButton.Digits = ((uint)(2));
     this.tilesetSpinButton.Numeric = true;
     this.table2.Add (this.tilesetSpinButton);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.tilesetSpinButton]));
     w18.TopAttach = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.uniqueGfxComboBox = new global::LynnaLab.ComboBoxFromConstants ();
     this.uniqueGfxComboBox.Events = ((global::Gdk.EventMask)(256));
     this.uniqueGfxComboBox.Name = "uniqueGfxComboBox";
     this.uniqueGfxComboBox.Active = 0;
     this.uniqueGfxComboBox.ActiveValue = 0;
     this.table2.Add (this.uniqueGfxComboBox);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.uniqueGfxComboBox]));
     w19.TopAttach = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add (this.table2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2]));
     w20.Position = 0;
     w20.Expand = false;
     w20.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.areaviewer1 = new global::LynnaLab.AreaViewer ();
     this.areaviewer1.WidthRequest = 256;
     this.areaviewer1.HeightRequest = 256;
     this.areaviewer1.Name = "areaviewer1";
     this.vbox1.Add (this.areaviewer1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.areaviewer1]));
     w21.Position = 0;
     w21.Expand = false;
     w21.Fill = false;
     this.hbox1.Add (this.vbox1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox1]));
     w22.Position = 1;
     w22.Expand = false;
     w22.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.Name = "frame1";
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.subTileContainer = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     this.subTileContainer.Name = "subTileContainer";
     this.vbox3.Add (this.subTileContainer);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.subTileContainer]));
     w23.Position = 0;
     this.GtkAlignment1.Add (this.vbox3);
     this.frame1.Add (this.GtkAlignment1);
     this.GtkLabel2 = new global::Gtk.Label ();
     this.GtkLabel2.Name = "GtkLabel2";
     this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("Tile Properties");
     this.GtkLabel2.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel2;
     this.hbox1.Add (this.frame1);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.frame1]));
     w26.Position = 2;
     w26.Expand = false;
     w26.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.subTileGfxContainer = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.subTileGfxContainer.WidthRequest = 256;
     this.subTileGfxContainer.HeightRequest = 256;
     this.subTileGfxContainer.Name = "subTileGfxContainer";
     this.hbox1.Add (this.subTileGfxContainer);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.subTileGfxContainer]));
     w27.Position = 3;
     this.GtkAlignment.Add (this.hbox1);
     this.frame2.Add (this.GtkAlignment);
     this.GtkLabel1 = new global::Gtk.Label ();
     this.GtkLabel1.Name = "GtkLabel1";
     this.GtkLabel1.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabel1;
     this.vbox2.Add (this.frame2);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame2]));
     w30.Position = 1;
     w30.Expand = false;
     w30.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 0.01F, 1F);
     // Container child alignment1.Gtk.Container+ContainerChild
     this.okButton = new global::Gtk.Button ();
     this.okButton.CanFocus = true;
     this.okButton.Name = "okButton";
     this.okButton.UseStock = true;
     this.okButton.UseUnderline = true;
     this.okButton.Label = "gtk-ok";
     this.alignment1.Add (this.okButton);
     this.vbox2.Add (this.alignment1);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.alignment1]));
     w32.PackType = ((global::Gtk.PackType)(1));
     w32.Position = 2;
     w32.Expand = false;
     w32.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.areaSpinButton.ValueChanged += new global::System.EventHandler (this.OnAreaSpinButtonValueChanged);
     this.uniqueGfxComboBox.Changed += new global::System.EventHandler (this.OnUniqueGfxComboBoxChanged);
     this.tilesetSpinButton.ValueChanged += new global::System.EventHandler (this.OnTilesetSpinButtonValueChanged);
     this.palettesComboBox.Changed += new global::System.EventHandler (this.OnPalettesComboBoxChanged);
     this.mainGfxComboBox.Changed += new global::System.EventHandler (this.OnMainGfxComboBoxChanged);
     this.layoutGroupSpinButton.ValueChanged += new global::System.EventHandler (this.OnLayoutGroupSpinButtonValueChanged);
     this.flags2SpinButton.ValueChanged += new global::System.EventHandler (this.OnFlags2SpinButtonValueChanged);
     this.flags1SpinButton.ValueChanged += new global::System.EventHandler (this.OnFlags1SpinButtonValueChanged);
     this.animationsSpinButton.ValueChanged += new global::System.EventHandler (this.OnAnimationsSpinButtonValueChanged);
     this.okButton.Clicked += new global::System.EventHandler (this.OnOkButtonClicked);
 }
Esempio n. 3
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LynnaLab.AreaEditor
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LynnaLab.AreaEditor";
     // Container child LynnaLab.AreaEditor.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.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Area");
     this.hbox2.Add(this.label7);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.label7]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.areaSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.areaSpinButton.CanFocus                 = true;
     this.areaSpinButton.Name                     = "areaSpinButton";
     this.areaSpinButton.Adjustment.Upper         = 255D;
     this.areaSpinButton.Adjustment.PageIncrement = 16D;
     this.areaSpinButton.Adjustment.StepIncrement = 1D;
     this.areaSpinButton.ClimbRate                = 1D;
     this.areaSpinButton.Digits                   = ((uint)(2));
     this.areaSpinButton.Numeric                  = true;
     this.hbox2.Add(this.areaSpinButton);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.areaSpinButton]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     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.frame2      = new global::Gtk.Frame();
     this.frame2.Name = "frame2";
     // 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.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(8)), ((uint)(2)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.animationsSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.animationsSpinButton.CanFocus                 = true;
     this.animationsSpinButton.Name                     = "animationsSpinButton";
     this.animationsSpinButton.Adjustment.Upper         = 100D;
     this.animationsSpinButton.Adjustment.PageIncrement = 16D;
     this.animationsSpinButton.Adjustment.StepIncrement = 1D;
     this.animationsSpinButton.ClimbRate                = 1D;
     this.animationsSpinButton.Digits                   = ((uint)(2));
     this.animationsSpinButton.Numeric                  = true;
     this.table2.Add(this.animationsSpinButton);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2[this.animationsSpinButton]));
     w4.TopAttach    = ((uint)(7));
     w4.BottomAttach = ((uint)(8));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.XOptions     = ((global::Gtk.AttachOptions)(4));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.flags1SpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.flags1SpinButton.CanFocus                 = true;
     this.flags1SpinButton.Name                     = "flags1SpinButton";
     this.flags1SpinButton.Adjustment.Upper         = 255D;
     this.flags1SpinButton.Adjustment.PageIncrement = 16D;
     this.flags1SpinButton.Adjustment.StepIncrement = 1D;
     this.flags1SpinButton.ClimbRate                = 1D;
     this.flags1SpinButton.Digits                   = ((uint)(2));
     this.flags1SpinButton.Numeric                  = true;
     this.table2.Add(this.flags1SpinButton);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.flags1SpinButton]));
     w5.LeftAttach  = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions    = ((global::Gtk.AttachOptions)(4));
     w5.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.flags2SpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.flags2SpinButton.CanFocus                 = true;
     this.flags2SpinButton.Name                     = "flags2SpinButton";
     this.flags2SpinButton.Adjustment.Upper         = 255D;
     this.flags2SpinButton.Adjustment.PageIncrement = 16D;
     this.flags2SpinButton.Adjustment.StepIncrement = 1D;
     this.flags2SpinButton.ClimbRate                = 1D;
     this.flags2SpinButton.Digits                   = ((uint)(2));
     this.flags2SpinButton.Numeric                  = true;
     this.table2.Add(this.flags2SpinButton);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.flags2SpinButton]));
     w6.TopAttach    = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(2));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Main Gfx");
     this.table2.Add(this.label1);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.label1]));
     w7.TopAttach    = ((uint)(3));
     w7.BottomAttach = ((uint)(4));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Palettes");
     this.table2.Add(this.label2);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.label2]));
     w8.TopAttach    = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Tileset");
     this.table2.Add(this.label3);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.label3]));
     w9.TopAttach    = ((uint)(5));
     w9.BottomAttach = ((uint)(6));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Flags 1");
     this.table2.Add(this.label4);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.label4]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Flags 2");
     this.table2.Add(this.label5);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.label5]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Unique Gfx");
     this.table2.Add(this.label6);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.label6]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Layout Group");
     this.table2.Add(this.label8);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2[this.label8]));
     w13.TopAttach    = ((uint)(6));
     w13.BottomAttach = ((uint)(7));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Animations");
     this.table2.Add(this.label9);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2[this.label9]));
     w14.TopAttach    = ((uint)(7));
     w14.BottomAttach = ((uint)(8));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.layoutGroupSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.layoutGroupSpinButton.CanFocus                 = true;
     this.layoutGroupSpinButton.Name                     = "layoutGroupSpinButton";
     this.layoutGroupSpinButton.Adjustment.Upper         = 100D;
     this.layoutGroupSpinButton.Adjustment.PageIncrement = 16D;
     this.layoutGroupSpinButton.Adjustment.StepIncrement = 1D;
     this.layoutGroupSpinButton.ClimbRate                = 1D;
     this.layoutGroupSpinButton.Digits                   = ((uint)(2));
     this.layoutGroupSpinButton.Numeric                  = true;
     this.table2.Add(this.layoutGroupSpinButton);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2[this.layoutGroupSpinButton]));
     w15.TopAttach    = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.LeftAttach   = ((uint)(1));
     w15.RightAttach  = ((uint)(2));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.mainGfxComboBox             = new global::LynnaLab.ComboBoxFromConstants();
     this.mainGfxComboBox.Events      = ((global::Gdk.EventMask)(256));
     this.mainGfxComboBox.Name        = "mainGfxComboBox";
     this.mainGfxComboBox.Active      = 0;
     this.mainGfxComboBox.ActiveValue = 0;
     this.table2.Add(this.mainGfxComboBox);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2[this.mainGfxComboBox]));
     w16.TopAttach    = ((uint)(3));
     w16.BottomAttach = ((uint)(4));
     w16.LeftAttach   = ((uint)(1));
     w16.RightAttach  = ((uint)(2));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.palettesComboBox             = new global::LynnaLab.ComboBoxFromConstants();
     this.palettesComboBox.Events      = ((global::Gdk.EventMask)(256));
     this.palettesComboBox.Name        = "palettesComboBox";
     this.palettesComboBox.Active      = 0;
     this.palettesComboBox.ActiveValue = 0;
     this.table2.Add(this.palettesComboBox);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2[this.palettesComboBox]));
     w17.TopAttach    = ((uint)(4));
     w17.BottomAttach = ((uint)(5));
     w17.LeftAttach   = ((uint)(1));
     w17.RightAttach  = ((uint)(2));
     w17.XOptions     = ((global::Gtk.AttachOptions)(4));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.tilesetSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.tilesetSpinButton.CanFocus                 = true;
     this.tilesetSpinButton.Name                     = "tilesetSpinButton";
     this.tilesetSpinButton.Adjustment.Upper         = 100D;
     this.tilesetSpinButton.Adjustment.PageIncrement = 16D;
     this.tilesetSpinButton.Adjustment.StepIncrement = 1D;
     this.tilesetSpinButton.ClimbRate                = 1D;
     this.tilesetSpinButton.Digits                   = ((uint)(2));
     this.tilesetSpinButton.Numeric                  = true;
     this.table2.Add(this.tilesetSpinButton);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2[this.tilesetSpinButton]));
     w18.TopAttach    = ((uint)(5));
     w18.BottomAttach = ((uint)(6));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.uniqueGfxComboBox             = new global::LynnaLab.ComboBoxFromConstants();
     this.uniqueGfxComboBox.Events      = ((global::Gdk.EventMask)(256));
     this.uniqueGfxComboBox.Name        = "uniqueGfxComboBox";
     this.uniqueGfxComboBox.Active      = 0;
     this.uniqueGfxComboBox.ActiveValue = 0;
     this.table2.Add(this.uniqueGfxComboBox);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2[this.uniqueGfxComboBox]));
     w19.TopAttach    = ((uint)(2));
     w19.BottomAttach = ((uint)(3));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.hbox1.Add(this.table2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.table2]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.areaviewer1 = new global::LynnaLab.AreaViewer();
     this.areaviewer1.WidthRequest  = 256;
     this.areaviewer1.HeightRequest = 256;
     this.areaviewer1.Name          = "areaviewer1";
     this.vbox1.Add(this.areaviewer1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.areaviewer1]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     this.hbox1.Add(this.vbox1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.frame1      = new global::Gtk.Frame();
     this.frame1.Name = "frame1";
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment1             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name        = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.subTileContainer      = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     this.subTileContainer.Name = "subTileContainer";
     this.vbox3.Add(this.subTileContainer);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.subTileContainer]));
     w23.Position = 0;
     this.GtkAlignment1.Add(this.vbox3);
     this.frame1.Add(this.GtkAlignment1);
     this.GtkLabel2           = new global::Gtk.Label();
     this.GtkLabel2.Name      = "GtkLabel2";
     this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Tile Properties");
     this.GtkLabel2.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel2;
     this.hbox1.Add(this.frame1);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.frame1]));
     w26.Position = 2;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.subTileGfxContainer = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.subTileGfxContainer.WidthRequest  = 256;
     this.subTileGfxContainer.HeightRequest = 256;
     this.subTileGfxContainer.Name          = "subTileGfxContainer";
     this.hbox1.Add(this.subTileGfxContainer);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.subTileGfxContainer]));
     w27.Position = 3;
     this.GtkAlignment.Add(this.hbox1);
     this.frame2.Add(this.GtkAlignment);
     this.GtkLabel1           = new global::Gtk.Label();
     this.GtkLabel1.Name      = "GtkLabel1";
     this.GtkLabel1.UseMarkup = true;
     this.frame2.LabelWidget  = this.GtkLabel1;
     this.vbox2.Add(this.frame2);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.frame2]));
     w30.Position = 1;
     w30.Expand   = false;
     w30.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.alignment1      = new global::Gtk.Alignment(0.5F, 0.5F, 0.01F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.okButton              = new global::Gtk.Button();
     this.okButton.CanFocus     = true;
     this.okButton.Name         = "okButton";
     this.okButton.UseStock     = true;
     this.okButton.UseUnderline = true;
     this.okButton.Label        = "gtk-ok";
     this.alignment1.Add(this.okButton);
     this.vbox2.Add(this.alignment1);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
     w32.PackType = ((global::Gtk.PackType)(1));
     w32.Position = 2;
     w32.Expand   = false;
     w32.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.areaSpinButton.ValueChanged        += new global::System.EventHandler(this.OnAreaSpinButtonValueChanged);
     this.uniqueGfxComboBox.Changed          += new global::System.EventHandler(this.OnUniqueGfxComboBoxChanged);
     this.tilesetSpinButton.ValueChanged     += new global::System.EventHandler(this.OnTilesetSpinButtonValueChanged);
     this.palettesComboBox.Changed           += new global::System.EventHandler(this.OnPalettesComboBoxChanged);
     this.mainGfxComboBox.Changed            += new global::System.EventHandler(this.OnMainGfxComboBoxChanged);
     this.layoutGroupSpinButton.ValueChanged += new global::System.EventHandler(this.OnLayoutGroupSpinButtonValueChanged);
     this.flags2SpinButton.ValueChanged      += new global::System.EventHandler(this.OnFlags2SpinButtonValueChanged);
     this.flags1SpinButton.ValueChanged      += new global::System.EventHandler(this.OnFlags1SpinButtonValueChanged);
     this.animationsSpinButton.ValueChanged  += new global::System.EventHandler(this.OnAnimationsSpinButtonValueChanged);
     this.okButton.Clicked += new global::System.EventHandler(this.OnOkButtonClicked);
 }
Esempio n. 4
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, "<Alt>f");
     this.OpenAction            = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("_Open"), null, null);
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open");
     w1.Add(this.OpenAction, "<Primary>o");
     this.QuitAction            = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, null);
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.QuitAction, "<Primary>q");
     this.SaveAction            = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("_Save"), null, null);
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Save");
     w1.Add(this.SaveAction, "<Primary>s");
     this.ViewAction            = new global::Gtk.Action("ViewAction", global::Mono.Unix.Catalog.GetString("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_View");
     w1.Add(this.ViewAction, "<Alt>f");
     this.AnimationsAction            = new global::Gtk.ToggleAction("AnimationsAction", global::Mono.Unix.Catalog.GetString("_Animations"), null, null);
     this.AnimationsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Animations");
     w1.Add(this.AnimationsAction, "<Primary>a");
     this.RedrawMinimapsAction            = new global::Gtk.Action("RedrawMinimapsAction", global::Mono.Unix.Catalog.GetString("Redraw Minimaps"), null, null);
     this.RedrawMinimapsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Redraw Minimaps");
     w1.Add(this.RedrawMinimapsAction, null);
     this.EditAction            = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("_Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Edit");
     w1.Add(this.EditAction, "<Alt>e");
     this.WarpsAction            = new global::Gtk.Action("WarpsAction", global::Mono.Unix.Catalog.GetString("_Warps"), null, null);
     this.WarpsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Warps");
     w1.Add(this.WarpsAction, "<Primary>w");
     this.PluginsAction            = new global::Gtk.Action("PluginsAction", global::Mono.Unix.Catalog.GetString("Plugins"), null, null);
     this.PluginsAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Plugins");
     w1.Add(this.PluginsAction, null);
     this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open");
     w1.Add(this.openAction, null);
     this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save");
     w1.Add(this.saveAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("Lynna Lab");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='WarpsAction' action='WarpsAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='AnimationsAction' action='AnimationsAction'/></menu><menu name='PluginsAction' action='PluginsAction'/></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'openAction\' action=\'openAction\'/><to" +
                                    "olitem name=\'saveAction\' action=\'saveAction\'/></toolbar></ui>");
     this.toolbar1           = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
     this.toolbar1.Name      = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add(this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar1]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3         = new global::Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox5         = new global::Gtk.VBox();
     this.vbox5.Name    = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.table4               = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
     this.table4.Name          = "table4";
     this.table4.RowSpacing    = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Room");
     this.table4.Add(this.label3);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4[this.label3]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.roomSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.roomSpinButton.CanFocus                 = true;
     this.roomSpinButton.Name                     = "roomSpinButton";
     this.roomSpinButton.Adjustment.Upper         = 1535D;
     this.roomSpinButton.Adjustment.PageIncrement = 16D;
     this.roomSpinButton.Digits                   = ((uint)(3));
     this.table4.Add(this.roomSpinButton);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table4[this.roomSpinButton]));
     w5.LeftAttach  = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions    = ((global::Gtk.AttachOptions)(4));
     w5.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox5.Add(this.table4);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.table4]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame1      = new global::Gtk.Frame();
     this.frame1.Name = "frame1";
     // Container child frame1.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.table3               = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.areaEditorButton              = new global::Gtk.Button();
     this.areaEditorButton.CanFocus     = true;
     this.areaEditorButton.Name         = "areaEditorButton";
     this.areaEditorButton.UseUnderline = true;
     this.areaEditorButton.Label        = global::Mono.Unix.Catalog.GetString("Edit");
     this.table3.Add(this.areaEditorButton);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3[this.areaEditorButton]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach   = ((uint)(2));
     w7.RightAttach  = ((uint)(3));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.areaSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.areaSpinButton.CanFocus                 = true;
     this.areaSpinButton.Name                     = "areaSpinButton";
     this.areaSpinButton.Adjustment.Upper         = 255D;
     this.areaSpinButton.Adjustment.PageIncrement = 16D;
     this.areaSpinButton.Digits                   = ((uint)(2));
     this.table3.Add(this.areaSpinButton);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3[this.areaSpinButton]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Music");
     this.table3.Add(this.label4);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3[this.label4]));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Area");
     this.table3.Add(this.label8);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3[this.label8]));
     w10.TopAttach    = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.musicComboBox             = new global::LynnaLab.ComboBoxFromConstants();
     this.musicComboBox.Events      = ((global::Gdk.EventMask)(256));
     this.musicComboBox.Name        = "musicComboBox";
     this.musicComboBox.Active      = 0;
     this.musicComboBox.ActiveValue = 0;
     this.table3.Add(this.musicComboBox);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3[this.musicComboBox]));
     w11.LeftAttach  = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions    = ((global::Gtk.AttachOptions)(4));
     w11.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.GtkAlignment.Add(this.table3);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel6           = new global::Gtk.Label();
     this.GtkLabel6.Name      = "GtkLabel6";
     this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("Room Properties");
     this.GtkLabel6.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel6;
     this.vbox5.Add(this.frame1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.frame1]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame2 = new global::Gtk.Frame();
     this.frame2.WidthRequest = 390;
     this.frame2.Name         = "frame2";
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment1             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name        = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.vbox6         = new global::Gtk.VBox();
     this.vbox6.Name    = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.viewObjectsCheckBox               = new global::Gtk.CheckButton();
     this.viewObjectsCheckBox.CanFocus      = true;
     this.viewObjectsCheckBox.Name          = "viewObjectsCheckBox";
     this.viewObjectsCheckBox.Label         = global::Mono.Unix.Catalog.GetString("View Objects");
     this.viewObjectsCheckBox.DrawIndicator = true;
     this.viewObjectsCheckBox.UseUnderline  = true;
     this.viewObjectsCheckBox.FocusOnClick  = false;
     this.vbox6.Add(this.viewObjectsCheckBox);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.viewObjectsCheckBox]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.objectgroupeditor1               = new global::LynnaLab.ObjectGroupEditor();
     this.objectgroupeditor1.Events        = ((global::Gdk.EventMask)(256));
     this.objectgroupeditor1.Name          = "objectgroupeditor1";
     this.objectgroupeditor1.SelectedIndex = 0;
     this.vbox6.Add(this.objectgroupeditor1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.objectgroupeditor1]));
     w16.Position = 1;
     this.GtkAlignment1.Add(this.vbox6);
     this.frame2.Add(this.GtkAlignment1);
     this.GtkLabel10           = new global::Gtk.Label();
     this.GtkLabel10.Name      = "GtkLabel10";
     this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString("Objects");
     this.GtkLabel10.UseMarkup = true;
     this.frame2.LabelWidget   = this.GtkLabel10;
     this.vbox5.Add(this.frame2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.frame2]));
     w19.PackType = ((global::Gtk.PackType)(1));
     w19.Position = 2;
     this.hbox1.Add(this.vbox5);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox5]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // 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.areaviewer1 = new global::LynnaLab.AreaViewer();
     this.areaviewer1.WidthRequest  = 256;
     this.areaviewer1.HeightRequest = 256;
     this.areaviewer1.Name          = "areaviewer1";
     this.vbox3.Add(this.areaviewer1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.areaviewer1]));
     w21.Position = 0;
     w21.Expand   = false;
     w21.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.roomeditor1 = new global::LynnaLab.RoomEditor();
     this.roomeditor1.WidthRequest  = 272;
     this.roomeditor1.HeightRequest = 272;
     this.roomeditor1.Name          = "roomeditor1";
     this.roomeditor1.ViewObjects   = false;
     this.vbox3.Add(this.roomeditor1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.roomeditor1]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     this.hbox1.Add(this.vbox3);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
     w23.Position = 1;
     w23.Expand   = false;
     w23.Fill     = false;
     this.hbox3.Add(this.hbox1);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.hbox1]));
     w24.Position = 0;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.notebook2             = new global::Gtk.Notebook();
     this.notebook2.CanFocus    = true;
     this.notebook2.Name        = "notebook2";
     this.notebook2.CurrentPage = 0;
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.table2               = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("World Index");
     this.table2.Add(this.label7);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2[this.label7]));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.worldSpinButton          = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.worldSpinButton.CanFocus = true;
     this.worldSpinButton.Name     = "worldSpinButton";
     this.table2.Add(this.worldSpinButton);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2[this.worldSpinButton]));
     w26.LeftAttach  = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions    = ((global::Gtk.AttachOptions)(4));
     w26.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add(this.table2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.table2]));
     w27.Position = 0;
     w27.Expand   = false;
     w27.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.darkenDungeonRoomsCheckbox               = new global::Gtk.CheckButton();
     this.darkenDungeonRoomsCheckbox.CanFocus      = true;
     this.darkenDungeonRoomsCheckbox.Name          = "darkenDungeonRoomsCheckbox";
     this.darkenDungeonRoomsCheckbox.Label         = global::Mono.Unix.Catalog.GetString("Darken used dungeon rooms");
     this.darkenDungeonRoomsCheckbox.Active        = true;
     this.darkenDungeonRoomsCheckbox.DrawIndicator = true;
     this.darkenDungeonRoomsCheckbox.UseUnderline  = true;
     this.vbox4.Add(this.darkenDungeonRoomsCheckbox);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.darkenDungeonRoomsCheckbox]));
     w28.Position = 1;
     w28.Expand   = false;
     w28.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.worldMinimap = new global::LynnaLab.HighlightingMinimap();
     this.worldMinimap.WidthRequest  = 300;
     this.worldMinimap.HeightRequest = 210;
     this.worldMinimap.Name          = "worldMinimap";
     this.worldMinimap.Floor         = 0;
     this.vbox4.Add(this.worldMinimap);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.worldMinimap]));
     w29.Position = 2;
     w29.Expand   = false;
     w29.Fill     = false;
     this.notebook2.Add(this.vbox4);
     // Notebook tab
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Worlds");
     this.notebook2.SetTabLabel(this.vbox4, this.label5);
     this.label5.ShowAll();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.vbox7         = new global::Gtk.VBox();
     this.vbox7.Name    = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.dungeonSpinButton          = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.dungeonSpinButton.CanFocus = true;
     this.dungeonSpinButton.Name     = "dungeonSpinButton";
     this.table1.Add(this.dungeonSpinButton);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1[this.dungeonSpinButton]));
     w31.LeftAttach  = ((uint)(1));
     w31.RightAttach = ((uint)(2));
     w31.XOptions    = ((global::Gtk.AttachOptions)(4));
     w31.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.floorSpinButton          = new global::Gtk.SpinButton(0D, 100D, 1D);
     this.floorSpinButton.CanFocus = true;
     this.floorSpinButton.Name     = "floorSpinButton";
     this.table1.Add(this.floorSpinButton);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.floorSpinButton]));
     w32.TopAttach    = ((uint)(1));
     w32.BottomAttach = ((uint)(2));
     w32.LeftAttach   = ((uint)(1));
     w32.RightAttach  = ((uint)(2));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Floor");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
     w33.TopAttach    = ((uint)(1));
     w33.BottomAttach = ((uint)(2));
     w33.XOptions     = ((global::Gtk.AttachOptions)(4));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Dungeon Index");
     this.table1.Add(this.label6);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1[this.label6]));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox7.Add(this.table1);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.table1]));
     w35.Position = 0;
     w35.Expand   = false;
     w35.Fill     = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.dungeonMinimap = new global::LynnaLab.Minimap();
     this.dungeonMinimap.WidthRequest  = 240;
     this.dungeonMinimap.HeightRequest = 176;
     this.dungeonMinimap.Name          = "dungeonMinimap";
     this.dungeonMinimap.Floor         = 0;
     this.vbox7.Add(this.dungeonMinimap);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox7[this.dungeonMinimap]));
     w36.Position = 1;
     w36.Expand   = false;
     w36.Fill     = false;
     this.notebook2.Add(this.vbox7);
     global::Gtk.Notebook.NotebookChild w37 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2[this.vbox7]));
     w37.Position = 1;
     // Notebook tab
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Dungeons");
     this.notebook2.SetTabLabel(this.vbox7, this.label9);
     this.label9.ShowAll();
     this.hbox3.Add(this.notebook2);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.notebook2]));
     w38.Position = 1;
     w38.Expand   = false;
     w38.Fill     = false;
     this.vbox1.Add(this.hbox3);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox3]));
     w39.Position = 2;
     w39.Expand   = false;
     w39.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1         = new global::Gtk.Statusbar();
     this.statusbar1.Name    = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add(this.statusbar1);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
     w40.PackType = ((global::Gtk.PackType)(1));
     w40.Position = 3;
     w40.Expand   = false;
     w40.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1030;
     this.DefaultHeight = 640;
     this.Show();
     this.DeleteEvent                        += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.OpenAction.Activated               += new global::System.EventHandler(this.OnOpenActionActivated);
     this.QuitAction.Activated               += new global::System.EventHandler(this.OnQuitActionActivated);
     this.SaveAction.Activated               += new global::System.EventHandler(this.OnSaveActionActivated);
     this.AnimationsAction.Activated         += new global::System.EventHandler(this.OnAnimationsActionActivated);
     this.WarpsAction.Activated              += new global::System.EventHandler(this.OnWarpsActionActivated);
     this.openAction.Activated               += new global::System.EventHandler(this.OnOpenActionActivated);
     this.saveAction.Activated               += new global::System.EventHandler(this.OnSaveActionActivated);
     this.roomSpinButton.ValueChanged        += new global::System.EventHandler(this.OnRoomSpinButtonValueChanged);
     this.musicComboBox.Changed              += new global::System.EventHandler(this.OnMusicComboBoxChanged);
     this.areaSpinButton.ValueChanged        += new global::System.EventHandler(this.OnAreaSpinButtonValueChanged);
     this.areaEditorButton.Clicked           += new global::System.EventHandler(this.OnAreaEditorButtonClicked);
     this.viewObjectsCheckBox.Toggled        += new global::System.EventHandler(this.OnViewObjectsCheckBoxToggled);
     this.notebook2.SwitchPage               += new global::Gtk.SwitchPageHandler(this.OnNotebook2SwitchPage);
     this.worldSpinButton.ValueChanged       += new global::System.EventHandler(this.OnWorldSpinButtonValueChanged);
     this.darkenDungeonRoomsCheckbox.Toggled += new global::System.EventHandler(this.OnDarkenDungeonRoomsCheckboxToggled);
     this.floorSpinButton.ValueChanged       += new global::System.EventHandler(this.OnFloorSpinButtonValueChanged);
     this.dungeonSpinButton.ValueChanged     += new global::System.EventHandler(this.OnDungeonSpinButtonValueChanged);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget LynnaLab.WarpEditor
     global::Stetic.BinContainer.Attach(this);
     this.Name = "LynnaLab.WarpEditor";
     // Container child LynnaLab.WarpEditor.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // 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.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Room");
     this.hbox3.Add(this.label3);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.roomSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.roomSpinButton.CanFocus                 = true;
     this.roomSpinButton.Name                     = "roomSpinButton";
     this.roomSpinButton.Adjustment.Upper         = 100;
     this.roomSpinButton.Adjustment.PageIncrement = 10;
     this.roomSpinButton.Adjustment.StepIncrement = 1;
     this.roomSpinButton.ClimbRate                = 1;
     this.roomSpinButton.Digits                   = ((uint)(3));
     this.roomSpinButton.Numeric                  = true;
     this.hbox3.Add(this.roomSpinButton);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.roomSpinButton]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     this.vbox2.Add(this.hbox3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1      = new global::Gtk.Frame();
     this.frame1.Name = "frame1";
     // Container child frame1.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.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1      = new global::Gtk.Label();
     this.label1.Name = "label1";
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.indexSpinButton          = new global::Gtk.SpinButton(0, 100, 1);
     this.indexSpinButton.CanFocus = true;
     this.indexSpinButton.Name     = "indexSpinButton";
     this.indexSpinButton.Adjustment.PageIncrement = 10;
     this.indexSpinButton.ClimbRate = 1;
     this.indexSpinButton.Numeric   = true;
     this.hbox1.Add(this.indexSpinButton);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.indexSpinButton]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox4         = new global::Gtk.VBox();
     this.vbox4.Name    = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.addWarpButton              = new global::Gtk.Button();
     this.addWarpButton.CanFocus     = true;
     this.addWarpButton.Name         = "addWarpButton";
     this.addWarpButton.UseUnderline = true;
     this.addWarpButton.Label        = global::Mono.Unix.Catalog.GetString("Add Standard Warp");
     this.vbox4.Add(this.addWarpButton);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.addWarpButton]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.addSpecificWarpButton              = new global::Gtk.Button();
     this.addSpecificWarpButton.CanFocus     = true;
     this.addSpecificWarpButton.Name         = "addSpecificWarpButton";
     this.addSpecificWarpButton.UseUnderline = true;
     this.addSpecificWarpButton.Label        = global::Mono.Unix.Catalog.GetString("Add Specific-pos Warp");
     this.vbox4.Add(this.addSpecificWarpButton);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.addSpecificWarpButton]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     this.hbox1.Add(this.vbox4);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4]));
     w8.Position = 3;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.removeWarpButton              = new global::Gtk.Button();
     this.removeWarpButton.CanFocus     = true;
     this.removeWarpButton.Name         = "removeWarpButton";
     this.removeWarpButton.UseStock     = true;
     this.removeWarpButton.UseUnderline = true;
     this.removeWarpButton.Label        = "gtk-remove";
     this.hbox1.Add(this.removeWarpButton);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.removeWarpButton]));
     w9.Position = 4;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.valueEditorContainer      = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     this.valueEditorContainer.Name = "valueEditorContainer";
     this.vbox1.Add(this.valueEditorContainer);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.valueEditorContainer]));
     w11.Position = 1;
     this.GtkAlignment.Add(this.vbox1);
     this.frame1.Add(this.GtkAlignment);
     this.frameLabel           = new global::Gtk.Label();
     this.frameLabel.Name      = "frameLabel";
     this.frameLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Map");
     this.frameLabel.UseMarkup = true;
     this.frame1.LabelWidget   = this.frameLabel;
     this.vbox2.Add(this.frame1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1]));
     w14.Position = 1;
     w14.Expand   = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame2      = new global::Gtk.Frame();
     this.frame2.Name = "frame2";
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox3         = new global::Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Group");
     this.hbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w15.Position = 0;
     w15.Expand   = false;
     w15.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.destGroupSpinButton           = new global::Gtk.SpinButton(0, 100, 1);
     this.destGroupSpinButton.Sensitive = false;
     this.destGroupSpinButton.CanFocus  = true;
     this.destGroupSpinButton.Name      = "destGroupSpinButton";
     this.destGroupSpinButton.Adjustment.PageIncrement = 10;
     this.destGroupSpinButton.ClimbRate = 1;
     this.destGroupSpinButton.Numeric   = true;
     this.hbox2.Add(this.destGroupSpinButton);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.destGroupSpinButton]));
     w16.Position = 1;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.destIndexLabel           = new global::Gtk.Label();
     this.destIndexLabel.Name      = "destIndexLabel";
     this.destIndexLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Index");
     this.hbox2.Add(this.destIndexLabel);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.destIndexLabel]));
     w17.Position = 2;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.destIndexSpinButton                          = new global::LynnaLab.SpinButtonHexadecimal();
     this.destIndexSpinButton.Sensitive                = false;
     this.destIndexSpinButton.CanFocus                 = true;
     this.destIndexSpinButton.Name                     = "destIndexSpinButton";
     this.destIndexSpinButton.Adjustment.Upper         = 100;
     this.destIndexSpinButton.Adjustment.PageIncrement = 10;
     this.destIndexSpinButton.Adjustment.StepIncrement = 1;
     this.destIndexSpinButton.ClimbRate                = 1;
     this.destIndexSpinButton.Digits                   = ((uint)(2));
     this.destIndexSpinButton.Numeric                  = true;
     this.hbox2.Add(this.destIndexSpinButton);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.destIndexSpinButton]));
     w18.Position = 3;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.destInfoLabel      = new global::Gtk.Label();
     this.destInfoLabel.Name = "destInfoLabel";
     this.hbox2.Add(this.destInfoLabel);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.destInfoLabel]));
     w19.Position = 4;
     w19.Expand   = false;
     w19.Fill     = false;
     this.vbox3.Add(this.hbox2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2]));
     w20.Position = 0;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.destEditorContainer      = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
     this.destEditorContainer.Name = "destEditorContainer";
     this.vbox3.Add(this.destEditorContainer);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.destEditorContainer]));
     w21.Position = 1;
     this.GtkAlignment2.Add(this.vbox3);
     this.frame2.Add(this.GtkAlignment2);
     this.GtkLabel3           = new global::Gtk.Label();
     this.GtkLabel3.Name      = "GtkLabel3";
     this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("Warp Destination");
     this.GtkLabel3.UseMarkup = true;
     this.frame2.LabelWidget  = this.GtkLabel3;
     this.vbox2.Add(this.frame2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame2]));
     w24.Position = 2;
     w24.Expand   = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.alignment1      = new global::Gtk.Alignment(0.5F, 0.5F, 0.06F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.okButton              = new global::Gtk.Button();
     this.okButton.CanFocus     = true;
     this.okButton.Name         = "okButton";
     this.okButton.UseStock     = true;
     this.okButton.UseUnderline = true;
     this.okButton.Label        = "gtk-ok";
     this.alignment1.Add(this.okButton);
     this.vbox2.Add(this.alignment1);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.alignment1]));
     w26.Position = 3;
     w26.Expand   = false;
     w26.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.addWarpButton.Clicked         += new global::System.EventHandler(this.OnAddWarpButtonClicked);
     this.addSpecificWarpButton.Clicked += new global::System.EventHandler(this.OnAddSpecificWarpButtonClicked);
     this.removeWarpButton.Clicked      += new global::System.EventHandler(this.OnRemoveWarpButtonClicked);
     this.okButton.Clicked += new global::System.EventHandler(this.OnOkButtonClicked);
 }
Esempio n. 6
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File");
     w1.Add (this.FileAction, "<Alt>f");
     this.OpenAction = new global::Gtk.Action ("OpenAction", global::Mono.Unix.Catalog.GetString ("_Open"), null, null);
     this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Open");
     w1.Add (this.OpenAction, "<Primary>o");
     this.QuitAction = new global::Gtk.Action ("QuitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, null);
     this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit");
     w1.Add (this.QuitAction, "<Primary>q");
     this.SaveAction = new global::Gtk.Action ("SaveAction", global::Mono.Unix.Catalog.GetString ("_Save"), null, null);
     this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Save");
     w1.Add (this.SaveAction, "<Primary>s");
     this.ViewAction = new global::Gtk.Action ("ViewAction", global::Mono.Unix.Catalog.GetString ("_View"), null, null);
     this.ViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_View");
     w1.Add (this.ViewAction, "<Alt>f");
     this.AnimationsAction = new global::Gtk.ToggleAction ("AnimationsAction", global::Mono.Unix.Catalog.GetString ("_Animations"), null, null);
     this.AnimationsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Animations");
     w1.Add (this.AnimationsAction, "<Primary>a");
     this.RedrawMinimapsAction = new global::Gtk.Action ("RedrawMinimapsAction", global::Mono.Unix.Catalog.GetString ("Redraw Minimaps"), null, null);
     this.RedrawMinimapsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redraw Minimaps");
     w1.Add (this.RedrawMinimapsAction, null);
     this.EditAction = new global::Gtk.Action ("EditAction", global::Mono.Unix.Catalog.GetString ("_Edit"), null, null);
     this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Edit");
     w1.Add (this.EditAction, "<Alt>e");
     this.WarpsAction = new global::Gtk.Action ("WarpsAction", global::Mono.Unix.Catalog.GetString ("_Warps"), null, null);
     this.WarpsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Warps");
     w1.Add (this.WarpsAction, "<Primary>w");
     this.PluginsAction = new global::Gtk.Action ("PluginsAction", global::Mono.Unix.Catalog.GetString ("Plugins"), null, null);
     this.PluginsAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Plugins");
     w1.Add (this.PluginsAction, null);
     this.openAction = new global::Gtk.Action ("openAction", null, null, "gtk-open");
     w1.Add (this.openAction, null);
     this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save");
     w1.Add (this.saveAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("Lynna Lab");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='OpenAction' action='OpenAction'/><menuitem name='SaveAction' action='SaveAction'/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='WarpsAction' action='WarpsAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='AnimationsAction' action='AnimationsAction'/></menu><menu name='PluginsAction' action='PluginsAction'/></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/></toolbar></ui>");
     this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
     this.toolbar1.Name = "toolbar1";
     this.toolbar1.ShowArrow = false;
     this.vbox1.Add (this.toolbar1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox3 = new global::Gtk.HBox ();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox5 = new global::Gtk.VBox ();
     this.vbox5.Name = "vbox5";
     this.vbox5.Spacing = 6;
     // Container child vbox5.Gtk.Box+BoxChild
     this.table4 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false);
     this.table4.Name = "table4";
     this.table4.RowSpacing = ((uint)(6));
     this.table4.ColumnSpacing = ((uint)(6));
     // Container child table4.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Room");
     this.table4.Add (this.label3);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table4 [this.label3]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table4.Gtk.Table+TableChild
     this.roomSpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.roomSpinButton.CanFocus = true;
     this.roomSpinButton.Name = "roomSpinButton";
     this.roomSpinButton.Adjustment.Upper = 1535;
     this.roomSpinButton.Adjustment.PageIncrement = 10;
     this.roomSpinButton.Adjustment.StepIncrement = 1;
     this.roomSpinButton.ClimbRate = 1;
     this.roomSpinButton.Digits = ((uint)(3));
     this.roomSpinButton.Numeric = true;
     this.table4.Add (this.roomSpinButton);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table4 [this.roomSpinButton]));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox5.Add (this.table4);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table4]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.Name = "frame1";
     // Container child frame1.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.table3 = new global::Gtk.Table (((uint)(2)), ((uint)(3)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.areaEditorButton = new global::Gtk.Button ();
     this.areaEditorButton.CanFocus = true;
     this.areaEditorButton.Name = "areaEditorButton";
     this.areaEditorButton.UseUnderline = true;
     this.areaEditorButton.Label = global::Mono.Unix.Catalog.GetString ("Edit");
     this.table3.Add (this.areaEditorButton);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table3 [this.areaEditorButton]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.LeftAttach = ((uint)(2));
     w7.RightAttach = ((uint)(3));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.areaSpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.areaSpinButton.CanFocus = true;
     this.areaSpinButton.Name = "areaSpinButton";
     this.areaSpinButton.Adjustment.Upper = 255;
     this.areaSpinButton.Adjustment.PageIncrement = 10;
     this.areaSpinButton.Adjustment.StepIncrement = 1;
     this.areaSpinButton.ClimbRate = 1;
     this.areaSpinButton.Digits = ((uint)(2));
     this.areaSpinButton.Numeric = true;
     this.table3.Add (this.areaSpinButton);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table3 [this.areaSpinButton]));
     w8.TopAttach = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Music");
     this.table3.Add (this.label4);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table3 [this.label4]));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Area");
     this.table3.Add (this.label8);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table3 [this.label8]));
     w10.TopAttach = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.musicComboBox = new global::LynnaLab.ComboBoxFromConstants ();
     this.musicComboBox.Events = ((global::Gdk.EventMask)(256));
     this.musicComboBox.Name = "musicComboBox";
     this.musicComboBox.Active = 0;
     this.musicComboBox.ActiveValue = 0;
     this.table3.Add (this.musicComboBox);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table3 [this.musicComboBox]));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     this.GtkAlignment.Add (this.table3);
     this.frame1.Add (this.GtkAlignment);
     this.GtkLabel6 = new global::Gtk.Label ();
     this.GtkLabel6.Name = "GtkLabel6";
     this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString ("Room Properties");
     this.GtkLabel6.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel6;
     this.vbox5.Add (this.frame1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame1]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     // Container child vbox5.Gtk.Box+BoxChild
     this.frame2 = new global::Gtk.Frame ();
     this.frame2.Name = "frame2";
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.vbox6 = new global::Gtk.VBox ();
     this.vbox6.Name = "vbox6";
     this.vbox6.Spacing = 6;
     // Container child vbox6.Gtk.Box+BoxChild
     this.viewObjectsCheckBox = new global::Gtk.CheckButton ();
     this.viewObjectsCheckBox.CanFocus = true;
     this.viewObjectsCheckBox.Name = "viewObjectsCheckBox";
     this.viewObjectsCheckBox.Label = global::Mono.Unix.Catalog.GetString ("View Objects");
     this.viewObjectsCheckBox.DrawIndicator = true;
     this.viewObjectsCheckBox.UseUnderline = true;
     this.viewObjectsCheckBox.FocusOnClick = false;
     this.vbox6.Add (this.viewObjectsCheckBox);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.viewObjectsCheckBox]));
     w15.Position = 0;
     w15.Expand = false;
     w15.Fill = false;
     // Container child vbox6.Gtk.Box+BoxChild
     this.objectgroupeditor1 = new global::LynnaLab.ObjectGroupEditor ();
     this.objectgroupeditor1.Events = ((global::Gdk.EventMask)(256));
     this.objectgroupeditor1.Name = "objectgroupeditor1";
     this.objectgroupeditor1.SelectedIndex = 0;
     this.vbox6.Add (this.objectgroupeditor1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.objectgroupeditor1]));
     w16.Position = 1;
     this.GtkAlignment1.Add (this.vbox6);
     this.frame2.Add (this.GtkAlignment1);
     this.GtkLabel10 = new global::Gtk.Label ();
     this.GtkLabel10.Name = "GtkLabel10";
     this.GtkLabel10.LabelProp = global::Mono.Unix.Catalog.GetString ("Objects");
     this.GtkLabel10.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabel10;
     this.vbox5.Add (this.frame2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame2]));
     w19.PackType = ((global::Gtk.PackType)(1));
     w19.Position = 2;
     this.hbox1.Add (this.vbox5);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox5]));
     w20.Position = 0;
     w20.Expand = false;
     w20.Fill = false;
     // 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.areaviewer1 = new global::LynnaLab.AreaViewer ();
     this.areaviewer1.WidthRequest = 256;
     this.areaviewer1.HeightRequest = 256;
     this.areaviewer1.Name = "areaviewer1";
     this.vbox3.Add (this.areaviewer1);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.areaviewer1]));
     w21.Position = 0;
     w21.Expand = false;
     w21.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.roomeditor1 = new global::LynnaLab.RoomEditor ();
     this.roomeditor1.WidthRequest = 240;
     this.roomeditor1.HeightRequest = 224;
     this.roomeditor1.Name = "roomeditor1";
     this.roomeditor1.ViewObjects = false;
     this.vbox3.Add (this.roomeditor1);
     global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.roomeditor1]));
     w22.Position = 1;
     w22.Expand = false;
     w22.Fill = false;
     this.hbox1.Add (this.vbox3);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
     w23.Position = 1;
     w23.Expand = false;
     w23.Fill = false;
     this.hbox3.Add (this.hbox1);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.hbox1]));
     w24.Position = 0;
     w24.Expand = false;
     w24.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.notebook2 = new global::Gtk.Notebook ();
     this.notebook2.CanFocus = true;
     this.notebook2.Name = "notebook2";
     this.notebook2.CurrentPage = 0;
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.Table (((uint)(1)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("World Index");
     this.table2.Add (this.label7);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7]));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.worldSpinButton = new global::Gtk.SpinButton (0, 100, 1);
     this.worldSpinButton.CanFocus = true;
     this.worldSpinButton.Name = "worldSpinButton";
     this.worldSpinButton.Adjustment.PageIncrement = 10;
     this.worldSpinButton.ClimbRate = 1;
     this.worldSpinButton.Numeric = true;
     this.table2.Add (this.worldSpinButton);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table2 [this.worldSpinButton]));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox4.Add (this.table2);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.table2]));
     w27.Position = 0;
     w27.Expand = false;
     w27.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.darkenDungeonRoomsCheckbox = new global::Gtk.CheckButton ();
     this.darkenDungeonRoomsCheckbox.CanFocus = true;
     this.darkenDungeonRoomsCheckbox.Name = "darkenDungeonRoomsCheckbox";
     this.darkenDungeonRoomsCheckbox.Label = global::Mono.Unix.Catalog.GetString ("Darken used dungeon rooms");
     this.darkenDungeonRoomsCheckbox.Active = true;
     this.darkenDungeonRoomsCheckbox.DrawIndicator = true;
     this.darkenDungeonRoomsCheckbox.UseUnderline = true;
     this.vbox4.Add (this.darkenDungeonRoomsCheckbox);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.darkenDungeonRoomsCheckbox]));
     w28.Position = 1;
     w28.Expand = false;
     w28.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.worldMinimap = new global::LynnaLab.HighlightingMinimap ();
     this.worldMinimap.Name = "worldMinimap";
     this.worldMinimap.Floor = 0;
     this.vbox4.Add (this.worldMinimap);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.worldMinimap]));
     w29.Position = 2;
     w29.Expand = false;
     w29.Fill = false;
     this.notebook2.Add (this.vbox4);
     // Notebook tab
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Worlds");
     this.notebook2.SetTabLabel (this.vbox4, this.label5);
     this.label5.ShowAll ();
     // Container child notebook2.Gtk.Notebook+NotebookChild
     this.vbox7 = new global::Gtk.VBox ();
     this.vbox7.Name = "vbox7";
     this.vbox7.Spacing = 6;
     // Container child vbox7.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.dungeonSpinButton = new global::Gtk.SpinButton (0, 100, 1);
     this.dungeonSpinButton.CanFocus = true;
     this.dungeonSpinButton.Name = "dungeonSpinButton";
     this.dungeonSpinButton.Adjustment.PageIncrement = 10;
     this.dungeonSpinButton.ClimbRate = 1;
     this.dungeonSpinButton.Numeric = true;
     this.table1.Add (this.dungeonSpinButton);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.dungeonSpinButton]));
     w31.LeftAttach = ((uint)(1));
     w31.RightAttach = ((uint)(2));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.floorSpinButton = new global::Gtk.SpinButton (0, 100, 1);
     this.floorSpinButton.CanFocus = true;
     this.floorSpinButton.Name = "floorSpinButton";
     this.floorSpinButton.Adjustment.PageIncrement = 10;
     this.floorSpinButton.ClimbRate = 1;
     this.floorSpinButton.Numeric = true;
     this.table1.Add (this.floorSpinButton);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.floorSpinButton]));
     w32.TopAttach = ((uint)(1));
     w32.BottomAttach = ((uint)(2));
     w32.LeftAttach = ((uint)(1));
     w32.RightAttach = ((uint)(2));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Floor");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w33.TopAttach = ((uint)(1));
     w33.BottomAttach = ((uint)(2));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Dungeon Index");
     this.table1.Add (this.label6);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox7.Add (this.table1);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.table1]));
     w35.Position = 0;
     w35.Expand = false;
     w35.Fill = false;
     // Container child vbox7.Gtk.Box+BoxChild
     this.dungeonMinimap = new global::LynnaLab.Minimap ();
     this.dungeonMinimap.WidthRequest = 240;
     this.dungeonMinimap.HeightRequest = 176;
     this.dungeonMinimap.Name = "dungeonMinimap";
     this.dungeonMinimap.Floor = 0;
     this.vbox7.Add (this.dungeonMinimap);
     global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox7 [this.dungeonMinimap]));
     w36.Position = 1;
     w36.Expand = false;
     w36.Fill = false;
     this.notebook2.Add (this.vbox7);
     global::Gtk.Notebook.NotebookChild w37 = ((global::Gtk.Notebook.NotebookChild)(this.notebook2 [this.vbox7]));
     w37.Position = 1;
     // Notebook tab
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Dungeons");
     this.notebook2.SetTabLabel (this.vbox7, this.label9);
     this.label9.ShowAll ();
     this.hbox3.Add (this.notebook2);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.notebook2]));
     w38.Position = 1;
     w38.Expand = false;
     w38.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.alignment2 = new global::Gtk.Alignment (0.5F, 0F, 1F, 0.53F);
     this.alignment2.Name = "alignment2";
     this.hbox3.Add (this.alignment2);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.alignment2]));
     w39.Position = 2;
     this.vbox1.Add (this.hbox3);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3]));
     w40.Position = 2;
     w40.Expand = false;
     w40.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.statusbar1 = new global::Gtk.Statusbar ();
     this.statusbar1.Name = "statusbar1";
     this.statusbar1.Spacing = 6;
     this.vbox1.Add (this.statusbar1);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1]));
     w41.PackType = ((global::Gtk.PackType)(1));
     w41.Position = 3;
     w41.Expand = false;
     w41.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 974;
     this.DefaultHeight = 627;
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.OpenAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
     this.QuitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated);
     this.SaveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.AnimationsAction.Activated += new global::System.EventHandler (this.OnAnimationsActionActivated);
     this.WarpsAction.Activated += new global::System.EventHandler (this.OnWarpsActionActivated);
     this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated);
     this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated);
     this.roomSpinButton.ValueChanged += new global::System.EventHandler (this.OnRoomSpinButtonValueChanged);
     this.musicComboBox.Changed += new global::System.EventHandler (this.OnMusicComboBoxChanged);
     this.areaSpinButton.ValueChanged += new global::System.EventHandler (this.OnAreaSpinButtonValueChanged);
     this.areaEditorButton.Clicked += new global::System.EventHandler (this.OnAreaEditorButtonClicked);
     this.viewObjectsCheckBox.Toggled += new global::System.EventHandler (this.OnViewObjectsCheckBoxToggled);
     this.notebook2.SwitchPage += new global::Gtk.SwitchPageHandler (this.OnNotebook2SwitchPage);
     this.worldSpinButton.ValueChanged += new global::System.EventHandler (this.OnWorldSpinButtonValueChanged);
     this.darkenDungeonRoomsCheckbox.Toggled += new global::System.EventHandler (this.OnDarkenDungeonRoomsCheckboxToggled);
     this.floorSpinButton.ValueChanged += new global::System.EventHandler (this.OnFloorSpinButtonValueChanged);
     this.dungeonSpinButton.ValueChanged += new global::System.EventHandler (this.OnDungeonSpinButtonValueChanged);
 }
Esempio n. 7
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LynnaLab.WarpEditor
     global::Stetic.BinContainer.Attach (this);
     this.Name = "LynnaLab.WarpEditor";
     // Container child LynnaLab.WarpEditor.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // 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.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Room");
     this.hbox3.Add (this.label3);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label3]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.roomSpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.roomSpinButton.CanFocus = true;
     this.roomSpinButton.Name = "roomSpinButton";
     this.roomSpinButton.Adjustment.Upper = 100;
     this.roomSpinButton.Adjustment.PageIncrement = 10;
     this.roomSpinButton.Adjustment.StepIncrement = 1;
     this.roomSpinButton.ClimbRate = 1;
     this.roomSpinButton.Digits = ((uint)(3));
     this.roomSpinButton.Numeric = true;
     this.hbox3.Add (this.roomSpinButton);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.roomSpinButton]));
     w2.Position = 1;
     w2.Expand = false;
     w2.Fill = false;
     this.vbox2.Add (this.hbox3);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox3]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.Name = "frame1";
     // Container child frame1.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.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.hbox1.Add (this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.indexSpinButton = new global::Gtk.SpinButton (0, 100, 1);
     this.indexSpinButton.CanFocus = true;
     this.indexSpinButton.Name = "indexSpinButton";
     this.indexSpinButton.Adjustment.PageIncrement = 10;
     this.indexSpinButton.ClimbRate = 1;
     this.indexSpinButton.Numeric = true;
     this.hbox1.Add (this.indexSpinButton);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.indexSpinButton]));
     w5.Position = 2;
     w5.Expand = false;
     w5.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.vbox4 = new global::Gtk.VBox ();
     this.vbox4.Name = "vbox4";
     this.vbox4.Spacing = 6;
     // Container child vbox4.Gtk.Box+BoxChild
     this.addWarpButton = new global::Gtk.Button ();
     this.addWarpButton.CanFocus = true;
     this.addWarpButton.Name = "addWarpButton";
     this.addWarpButton.UseUnderline = true;
     this.addWarpButton.Label = global::Mono.Unix.Catalog.GetString ("Add Standard Warp");
     this.vbox4.Add (this.addWarpButton);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.addWarpButton]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child vbox4.Gtk.Box+BoxChild
     this.addSpecificWarpButton = new global::Gtk.Button ();
     this.addSpecificWarpButton.CanFocus = true;
     this.addSpecificWarpButton.Name = "addSpecificWarpButton";
     this.addSpecificWarpButton.UseUnderline = true;
     this.addSpecificWarpButton.Label = global::Mono.Unix.Catalog.GetString ("Add Specific-pos Warp");
     this.vbox4.Add (this.addSpecificWarpButton);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.addSpecificWarpButton]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     this.hbox1.Add (this.vbox4);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4]));
     w8.Position = 3;
     w8.Expand = false;
     w8.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.removeWarpButton = new global::Gtk.Button ();
     this.removeWarpButton.CanFocus = true;
     this.removeWarpButton.Name = "removeWarpButton";
     this.removeWarpButton.UseStock = true;
     this.removeWarpButton.UseUnderline = true;
     this.removeWarpButton.Label = "gtk-remove";
     this.hbox1.Add (this.removeWarpButton);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.removeWarpButton]));
     w9.Position = 4;
     w9.Expand = false;
     w9.Fill = false;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.valueEditorContainer = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
     this.valueEditorContainer.Name = "valueEditorContainer";
     this.vbox1.Add (this.valueEditorContainer);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.valueEditorContainer]));
     w11.Position = 1;
     this.GtkAlignment.Add (this.vbox1);
     this.frame1.Add (this.GtkAlignment);
     this.frameLabel = new global::Gtk.Label ();
     this.frameLabel.Name = "frameLabel";
     this.frameLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Map");
     this.frameLabel.UseMarkup = true;
     this.frame1.LabelWidget = this.frameLabel;
     this.vbox2.Add (this.frame1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame1]));
     w14.Position = 1;
     w14.Expand = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame2 = new global::Gtk.Frame ();
     this.frame2.Name = "frame2";
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Group");
     this.hbox2.Add (this.label2);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w15.Position = 0;
     w15.Expand = false;
     w15.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.destGroupSpinButton = new global::Gtk.SpinButton (0, 100, 1);
     this.destGroupSpinButton.Sensitive = false;
     this.destGroupSpinButton.CanFocus = true;
     this.destGroupSpinButton.Name = "destGroupSpinButton";
     this.destGroupSpinButton.Adjustment.PageIncrement = 10;
     this.destGroupSpinButton.ClimbRate = 1;
     this.destGroupSpinButton.Numeric = true;
     this.hbox2.Add (this.destGroupSpinButton);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.destGroupSpinButton]));
     w16.Position = 1;
     w16.Expand = false;
     w16.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.destIndexLabel = new global::Gtk.Label ();
     this.destIndexLabel.Name = "destIndexLabel";
     this.destIndexLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Index");
     this.hbox2.Add (this.destIndexLabel);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.destIndexLabel]));
     w17.Position = 2;
     w17.Expand = false;
     w17.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.destIndexSpinButton = new global::LynnaLab.SpinButtonHexadecimal ();
     this.destIndexSpinButton.Sensitive = false;
     this.destIndexSpinButton.CanFocus = true;
     this.destIndexSpinButton.Name = "destIndexSpinButton";
     this.destIndexSpinButton.Adjustment.Upper = 100;
     this.destIndexSpinButton.Adjustment.PageIncrement = 10;
     this.destIndexSpinButton.Adjustment.StepIncrement = 1;
     this.destIndexSpinButton.ClimbRate = 1;
     this.destIndexSpinButton.Digits = ((uint)(2));
     this.destIndexSpinButton.Numeric = true;
     this.hbox2.Add (this.destIndexSpinButton);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.destIndexSpinButton]));
     w18.Position = 3;
     w18.Expand = false;
     w18.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.destInfoLabel = new global::Gtk.Label ();
     this.destInfoLabel.Name = "destInfoLabel";
     this.hbox2.Add (this.destInfoLabel);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.destInfoLabel]));
     w19.Position = 4;
     w19.Expand = false;
     w19.Fill = false;
     this.vbox3.Add (this.hbox2);
     global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2]));
     w20.Position = 0;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.destEditorContainer = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
     this.destEditorContainer.Name = "destEditorContainer";
     this.vbox3.Add (this.destEditorContainer);
     global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.destEditorContainer]));
     w21.Position = 1;
     this.GtkAlignment2.Add (this.vbox3);
     this.frame2.Add (this.GtkAlignment2);
     this.GtkLabel3 = new global::Gtk.Label ();
     this.GtkLabel3.Name = "GtkLabel3";
     this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("Warp Destination");
     this.GtkLabel3.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabel3;
     this.vbox2.Add (this.frame2);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frame2]));
     w24.Position = 2;
     w24.Expand = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 0.06F, 1F);
     this.alignment1.Name = "alignment1";
     // Container child alignment1.Gtk.Container+ContainerChild
     this.okButton = new global::Gtk.Button ();
     this.okButton.CanFocus = true;
     this.okButton.Name = "okButton";
     this.okButton.UseStock = true;
     this.okButton.UseUnderline = true;
     this.okButton.Label = "gtk-ok";
     this.alignment1.Add (this.okButton);
     this.vbox2.Add (this.alignment1);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.alignment1]));
     w26.Position = 3;
     w26.Expand = false;
     w26.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.addWarpButton.Clicked += new global::System.EventHandler (this.OnAddWarpButtonClicked);
     this.addSpecificWarpButton.Clicked += new global::System.EventHandler (this.OnAddSpecificWarpButtonClicked);
     this.removeWarpButton.Clicked += new global::System.EventHandler (this.OnRemoveWarpButtonClicked);
     this.okButton.Clicked += new global::System.EventHandler (this.OnOkButtonClicked);
 }