annotate gtk-gui/IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs @ 28:9440eef124b0

Closes #69: Add "export" UI * Add base menu for exports (will be populated automatically once exports are plugins) * Add menu item for "Basic HTML"
author IBBoard <dev@ibboard.co.uk>
date Tue, 01 Sep 2009 19:10:13 +0000
parents 58961ff391d4
children 0bd9c85d3c5d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
1 // ------------------------------------------------------------------------------
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
2 // <autogenerated>
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
3 // This code was generated by a tool.
7
58961ff391d4 Closes #30 - Convert to .csproj
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
4 //
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
5 //
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
6 // Changes to this file may cause incorrect behavior and will be lost if
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
7 // the code is regenerated.
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
8 // </autogenerated>
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
9 // ------------------------------------------------------------------------------
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
10
6
cfc7683e73f9 Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
11 namespace IBBoard.WarFoundry.GTK.Widgets {
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
12
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
13
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
14 public partial class UnitDisplayWidget {
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
15
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
16 private Gtk.VBox vbox1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
17
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
18 private Gtk.HBox hbox1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
19
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
20 private Gtk.Entry unitName;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
21
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
22 private Gtk.SpinButton unitSize;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
23
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
24 private Gtk.ScrolledWindow GtkScrolledWindow;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
25
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
26 private Gtk.NodeView unitStats;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
27
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
28 private Gtk.HSeparator hseparator1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
29
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
30 private Gtk.Table table1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
31
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
32 private Gtk.ScrolledWindow GtkScrolledWindow1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
33
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
34 private Gtk.NodeView optionalEquipment;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
35
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
36 private Gtk.ScrolledWindow GtkScrolledWindow2;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
37
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
38 private Gtk.NodeView requiredEquipment;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
39
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
40 private Gtk.Label optionalEquipmentLabel;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
41
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
42 private Gtk.Label requiredEquipmentLabel;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
43
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
44 private Gtk.VBox vbox2;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
45
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
46 private Gtk.Button bttnReplaceRequired;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
47
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
48 private Gtk.Button bttnEditRequired;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
49
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
50 private Gtk.VBox vbox3;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
51
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
52 private Gtk.Button bttnAddOptional;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
53
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
54 private Gtk.Button bttnEditOptional;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
55
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
56 private Gtk.Button bttnRemove;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
57
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
58 private Gtk.HBox hbox2;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
59
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
60 protected virtual void Build() {
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
61 Stetic.Gui.Initialize(this);
6
cfc7683e73f9 Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
62 // Widget IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
63 Stetic.BinContainer.Attach(this);
6
cfc7683e73f9 Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
64 this.Name = "IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget";
cfc7683e73f9 Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages
IBBoard <dev@ibboard.co.uk>
parents: 5
diff changeset
65 // Container child IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.Gtk.Container+ContainerChild
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
66 this.vbox1 = new Gtk.VBox();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
67 this.vbox1.Name = "vbox1";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
68 this.vbox1.Spacing = 6;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
69 // Container child vbox1.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
70 this.hbox1 = new Gtk.HBox();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
71 this.hbox1.Name = "hbox1";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
72 this.hbox1.Spacing = 6;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
73 // Container child hbox1.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
74 this.unitName = new Gtk.Entry();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
75 this.unitName.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
76 this.unitName.Name = "unitName";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
77 this.unitName.IsEditable = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
78 this.unitName.InvisibleChar = '•';
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
79 this.hbox1.Add(this.unitName);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
80 Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.unitName]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
81 w1.Position = 0;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
82 // Container child hbox1.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
83 this.unitSize = new Gtk.SpinButton(0, 100, 1);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
84 this.unitSize.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
85 this.unitSize.Name = "unitSize";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
86 this.unitSize.Adjustment.PageIncrement = 10;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
87 this.unitSize.ClimbRate = 1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
88 this.unitSize.Numeric = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
89 this.hbox1.Add(this.unitSize);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
90 Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.unitSize]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
91 w2.Position = 1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
92 w2.Expand = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
93 w2.Fill = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
94 this.vbox1.Add(this.hbox1);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
95 Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
96 w3.Position = 0;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
97 w3.Expand = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
98 w3.Fill = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
99 // Container child vbox1.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
100 this.GtkScrolledWindow = new Gtk.ScrolledWindow();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
101 this.GtkScrolledWindow.Name = "GtkScrolledWindow";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
102 this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
103 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
104 this.unitStats = new Gtk.NodeView();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
105 this.unitStats.HeightRequest = 75;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
106 this.unitStats.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
107 this.unitStats.Name = "unitStats";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
108 this.GtkScrolledWindow.Add(this.unitStats);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
109 this.vbox1.Add(this.GtkScrolledWindow);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
110 Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
111 w5.Position = 1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
112 // Container child vbox1.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
113 this.hseparator1 = new Gtk.HSeparator();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
114 this.hseparator1.Name = "hseparator1";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
115 this.vbox1.Add(this.hseparator1);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
116 Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox1[this.hseparator1]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
117 w6.Position = 2;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
118 w6.Expand = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
119 w6.Fill = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
120 // Container child vbox1.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
121 this.table1 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
122 this.table1.Name = "table1";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
123 this.table1.RowSpacing = ((uint)(6));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
124 this.table1.ColumnSpacing = ((uint)(6));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
125 // Container child table1.Gtk.Table+TableChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
126 this.GtkScrolledWindow1 = new Gtk.ScrolledWindow();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
127 this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
128 this.GtkScrolledWindow1.ShadowType = ((Gtk.ShadowType)(1));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
129 // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
130 this.optionalEquipment = new Gtk.NodeView();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
131 this.optionalEquipment.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
132 this.optionalEquipment.Name = "optionalEquipment";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
133 this.GtkScrolledWindow1.Add(this.optionalEquipment);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
134 this.table1.Add(this.GtkScrolledWindow1);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
135 Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow1]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
136 w8.TopAttach = ((uint)(1));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
137 w8.BottomAttach = ((uint)(2));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
138 w8.LeftAttach = ((uint)(1));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
139 w8.RightAttach = ((uint)(2));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
140 w8.YOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
141 // Container child table1.Gtk.Table+TableChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
142 this.GtkScrolledWindow2 = new Gtk.ScrolledWindow();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
143 this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
144 this.GtkScrolledWindow2.ShadowType = ((Gtk.ShadowType)(1));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
145 // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
146 this.requiredEquipment = new Gtk.NodeView();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
147 this.requiredEquipment.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
148 this.requiredEquipment.Name = "requiredEquipment";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
149 this.GtkScrolledWindow2.Add(this.requiredEquipment);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
150 this.table1.Add(this.GtkScrolledWindow2);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
151 Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow2]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
152 w10.LeftAttach = ((uint)(1));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
153 w10.RightAttach = ((uint)(2));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
154 w10.YOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
155 // Container child table1.Gtk.Table+TableChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
156 this.optionalEquipmentLabel = new Gtk.Label();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
157 this.optionalEquipmentLabel.Name = "optionalEquipmentLabel";
7
58961ff391d4 Closes #30 - Convert to .csproj
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
158 this.optionalEquipmentLabel.LabelProp = Mono.Unix.Catalog.GetString("Optional Equipment:");
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
159 this.table1.Add(this.optionalEquipmentLabel);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
160 Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.optionalEquipmentLabel]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
161 w11.TopAttach = ((uint)(1));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
162 w11.BottomAttach = ((uint)(2));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
163 w11.XOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
164 w11.YOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
165 // Container child table1.Gtk.Table+TableChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
166 this.requiredEquipmentLabel = new Gtk.Label();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
167 this.requiredEquipmentLabel.Name = "requiredEquipmentLabel";
7
58961ff391d4 Closes #30 - Convert to .csproj
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
168 this.requiredEquipmentLabel.LabelProp = Mono.Unix.Catalog.GetString("Required Equipment:");
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
169 this.table1.Add(this.requiredEquipmentLabel);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
170 Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.requiredEquipmentLabel]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
171 w12.XOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
172 w12.YOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
173 // Container child table1.Gtk.Table+TableChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
174 this.vbox2 = new Gtk.VBox();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
175 this.vbox2.Name = "vbox2";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
176 this.vbox2.Spacing = 6;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
177 // Container child vbox2.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
178 this.bttnReplaceRequired = new Gtk.Button();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
179 this.bttnReplaceRequired.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
180 this.bttnReplaceRequired.Name = "bttnReplaceRequired";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
181 this.bttnReplaceRequired.UseUnderline = true;
7
58961ff391d4 Closes #30 - Convert to .csproj
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
182 this.bttnReplaceRequired.Label = Mono.Unix.Catalog.GetString("Replace");
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
183 this.vbox2.Add(this.bttnReplaceRequired);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
184 Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.bttnReplaceRequired]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
185 w13.Position = 0;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
186 w13.Expand = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
187 w13.Fill = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
188 // Container child vbox2.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
189 this.bttnEditRequired = new Gtk.Button();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
190 this.bttnEditRequired.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
191 this.bttnEditRequired.Name = "bttnEditRequired";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
192 this.bttnEditRequired.UseUnderline = true;
7
58961ff391d4 Closes #30 - Convert to .csproj
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
193 this.bttnEditRequired.Label = Mono.Unix.Catalog.GetString("Edit");
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
194 this.vbox2.Add(this.bttnEditRequired);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
195 Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox2[this.bttnEditRequired]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
196 w14.Position = 1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
197 w14.Expand = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
198 w14.Fill = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
199 this.table1.Add(this.vbox2);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
200 Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table1[this.vbox2]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
201 w15.LeftAttach = ((uint)(2));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
202 w15.RightAttach = ((uint)(3));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
203 w15.XOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
204 w15.YOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
205 // Container child table1.Gtk.Table+TableChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
206 this.vbox3 = new Gtk.VBox();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
207 this.vbox3.Name = "vbox3";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
208 this.vbox3.Spacing = 6;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
209 // Container child vbox3.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
210 this.bttnAddOptional = new Gtk.Button();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
211 this.bttnAddOptional.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
212 this.bttnAddOptional.Name = "bttnAddOptional";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
213 this.bttnAddOptional.UseUnderline = true;
7
58961ff391d4 Closes #30 - Convert to .csproj
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
214 this.bttnAddOptional.Label = Mono.Unix.Catalog.GetString("Add");
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
215 this.vbox3.Add(this.bttnAddOptional);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
216 Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox3[this.bttnAddOptional]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
217 w16.Position = 0;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
218 w16.Expand = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
219 w16.Fill = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
220 // Container child vbox3.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
221 this.bttnEditOptional = new Gtk.Button();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
222 this.bttnEditOptional.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
223 this.bttnEditOptional.Name = "bttnEditOptional";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
224 this.bttnEditOptional.UseUnderline = true;
7
58961ff391d4 Closes #30 - Convert to .csproj
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
225 this.bttnEditOptional.Label = Mono.Unix.Catalog.GetString("Edit");
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
226 this.vbox3.Add(this.bttnEditOptional);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
227 Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox3[this.bttnEditOptional]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
228 w17.Position = 1;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
229 w17.Expand = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
230 w17.Fill = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
231 // Container child vbox3.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
232 this.bttnRemove = new Gtk.Button();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
233 this.bttnRemove.CanFocus = true;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
234 this.bttnRemove.Name = "bttnRemove";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
235 this.bttnRemove.UseUnderline = true;
7
58961ff391d4 Closes #30 - Convert to .csproj
IBBoard <dev@ibboard.co.uk>
parents: 6
diff changeset
236 this.bttnRemove.Label = Mono.Unix.Catalog.GetString("Remove");
5
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
237 this.vbox3.Add(this.bttnRemove);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
238 Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox3[this.bttnRemove]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
239 w18.Position = 2;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
240 w18.Expand = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
241 w18.Fill = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
242 this.table1.Add(this.vbox3);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
243 Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table1[this.vbox3]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
244 w19.TopAttach = ((uint)(1));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
245 w19.BottomAttach = ((uint)(2));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
246 w19.LeftAttach = ((uint)(2));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
247 w19.RightAttach = ((uint)(3));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
248 w19.XOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
249 w19.YOptions = ((Gtk.AttachOptions)(4));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
250 this.vbox1.Add(this.table1);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
251 Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox1[this.table1]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
252 w20.Position = 3;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
253 w20.Expand = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
254 w20.Fill = false;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
255 // Container child vbox1.Gtk.Box+BoxChild
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
256 this.hbox2 = new Gtk.HBox();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
257 this.hbox2.Name = "hbox2";
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
258 this.hbox2.Spacing = 6;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
259 this.vbox1.Add(this.hbox2);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
260 Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox2]));
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
261 w21.Position = 4;
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
262 this.Add(this.vbox1);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
263 if ((this.Child != null)) {
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
264 this.Child.ShowAll();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
265 }
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
266 this.Show();
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
267 this.unitName.FocusOutEvent += new Gtk.FocusOutEventHandler(this.OnUnitNameFocusOut);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
268 this.unitName.KeyPressEvent += new Gtk.KeyPressEventHandler(this.OnUnitNameKeyPress);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
269 this.unitSize.FocusOutEvent += new Gtk.FocusOutEventHandler(this.OnUnitSizeFocusOut);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
270 this.unitSize.KeyPressEvent += new Gtk.KeyPressEventHandler(this.OnUnitSizeKeyPress);
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
271 }
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
272 }
65279b85446f Re #1 - LGPL license all code
IBBoard <dev@ibboard.co.uk>
parents:
diff changeset
273 }