Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
annotate gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.cs @ 124:a647afc19fe9
Re #361: Add XML export UI to GTK#
* Add sensitivity changing on OK button
* Need to make buttons do things, and allow creating new files with file chooser
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 28 Sep 2011 21:01:54 +0100 |
parents | 6d2c8ad0d8f1 |
children | 135491fd1830 |
rev | line source |
---|---|
68
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 // This file has been generated by the GUI designer. Do not modify. |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 namespace IBBoard.WarFoundry.GUI.GTK |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 { |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 public partial class FrmReplaceEquipment |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 { |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 private global::Gtk.Table table1; |
77
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
8 private global::Gtk.ScrolledWindow GtkScrolledWindow; |
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
9 private global::Gtk.TreeView lstEquipment; |
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
10 private global::Gtk.HBox hbox2; |
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
11 private global::Gtk.Table table2; |
92
58779fcd0166
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
12 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblEquipAll; |
58779fcd0166
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
13 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblPercent; |
77
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
14 private global::Gtk.SpinButton numericAmount; |
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
15 private global::Gtk.SpinButton percentageAmount; |
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
16 private global::Gtk.RadioButton rbEquipAll; |
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
17 private global::Gtk.RadioButton rbEquipNumeric; |
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
18 private global::Gtk.RadioButton rbEquipPercent; |
97
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
19 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblAmount; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
20 private global::IBBoard.GtkSharp.Translatable.TranslatableLabel lblItem; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
21 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnCancel; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
22 private global::IBBoard.GtkSharp.Translatable.TranslatableButton bttnOkay; |
77
68804784bf6f
Re #86: Complete initial GTK# UI
IBBoard <dev@ibboard.co.uk>
parents:
68
diff
changeset
|
23 |
68
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
24 protected virtual void Build() |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
25 { |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
26 global::Stetic.Gui.Initialize(this); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
27 // Widget IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
28 this.Name = "IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
29 this.Title = global::Mono.Unix.Catalog.GetString("Add equipment"); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
30 this.WindowPosition = ((global::Gtk.WindowPosition)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
31 this.Modal = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
32 this.SkipPagerHint = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
33 this.SkipTaskbarHint = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
34 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.VBox |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
35 global::Gtk.VBox w1 = this.VBox; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
36 w1.Name = "dialog1_VBox"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
37 w1.BorderWidth = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
38 // Container child dialog1_VBox.Gtk.Box+BoxChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
39 this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
40 this.table1.Name = "table1"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
41 this.table1.RowSpacing = ((uint)(6)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
42 this.table1.ColumnSpacing = ((uint)(6)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
43 // Container child table1.Gtk.Table+TableChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
44 this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
45 this.GtkScrolledWindow.Name = "GtkScrolledWindow"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
46 this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
47 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
48 this.lstEquipment = new global::Gtk.TreeView(); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
49 this.lstEquipment.CanFocus = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
50 this.lstEquipment.Name = "lstEquipment"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
51 this.lstEquipment.HeadersVisible = false; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
52 this.GtkScrolledWindow.Add(this.lstEquipment); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
53 this.table1.Add(this.GtkScrolledWindow); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
54 global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.GtkScrolledWindow])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
55 w3.LeftAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
56 w3.RightAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
57 w3.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
58 // Container child table1.Gtk.Table+TableChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
59 this.hbox2 = new global::Gtk.HBox(); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
60 this.hbox2.Name = "hbox2"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
61 this.hbox2.Spacing = 6; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
62 // Container child hbox2.Gtk.Box+BoxChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
63 this.table2 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
64 this.table2.Name = "table2"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
65 this.table2.RowSpacing = ((uint)(6)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
66 this.table2.ColumnSpacing = ((uint)(6)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
67 // Container child table2.Gtk.Table+TableChild |
92
58779fcd0166
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
68 this.lblEquipAll = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
68
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
69 this.lblEquipAll.Name = "lblEquipAll"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
70 this.lblEquipAll.LabelProp = global::Mono.Unix.Catalog.GetString("equip all"); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
71 this.table2.Add(this.lblEquipAll); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
72 global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2[this.lblEquipAll])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
73 w4.TopAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
74 w4.BottomAttach = ((uint)(3)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
75 w4.LeftAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
76 w4.RightAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
77 w4.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
78 // Container child table2.Gtk.Table+TableChild |
92
58779fcd0166
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
77
diff
changeset
|
79 this.lblPercent = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
68
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
80 this.lblPercent.Name = "lblPercent"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
81 this.lblPercent.LabelProp = global::Mono.Unix.Catalog.GetString("%"); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
82 this.table2.Add(this.lblPercent); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
83 global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.lblPercent])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
84 w5.TopAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
85 w5.BottomAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
86 w5.LeftAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
87 w5.RightAttach = ((uint)(3)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
88 w5.XOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
89 w5.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
90 // Container child table2.Gtk.Table+TableChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
91 this.numericAmount = new global::Gtk.SpinButton(0, 100, 1); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
92 this.numericAmount.CanFocus = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
93 this.numericAmount.Name = "numericAmount"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
94 this.numericAmount.Adjustment.PageIncrement = 10; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
95 this.numericAmount.ClimbRate = 1; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
96 this.numericAmount.Numeric = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
97 this.table2.Add(this.numericAmount); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
98 global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.numericAmount])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
99 w6.LeftAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
100 w6.RightAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
101 w6.XOptions = ((global::Gtk.AttachOptions)(0)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
102 w6.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
103 // Container child table2.Gtk.Table+TableChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
104 this.percentageAmount = new global::Gtk.SpinButton(0, 100, 1); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
105 this.percentageAmount.CanFocus = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
106 this.percentageAmount.Name = "percentageAmount"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
107 this.percentageAmount.Adjustment.PageIncrement = 10; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
108 this.percentageAmount.ClimbRate = 1; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
109 this.percentageAmount.Digits = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
110 this.percentageAmount.Numeric = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
111 this.table2.Add(this.percentageAmount); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
112 global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.percentageAmount])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
113 w7.TopAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
114 w7.BottomAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
115 w7.LeftAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
116 w7.RightAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
117 w7.XOptions = ((global::Gtk.AttachOptions)(0)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
118 w7.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
119 // Container child table2.Gtk.Table+TableChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
120 this.rbEquipAll = new global::Gtk.RadioButton(""); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
121 this.rbEquipAll.CanFocus = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
122 this.rbEquipAll.Name = "rbEquipAll"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
123 this.rbEquipAll.DrawIndicator = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
124 this.rbEquipAll.UseUnderline = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
125 this.rbEquipAll.Group = new global::GLib.SList(global::System.IntPtr.Zero); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
126 this.table2.Add(this.rbEquipAll); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
127 global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipAll])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
128 w8.TopAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
129 w8.BottomAttach = ((uint)(3)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
130 w8.XOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
131 w8.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
132 // Container child table2.Gtk.Table+TableChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
133 this.rbEquipNumeric = new global::Gtk.RadioButton(""); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
134 this.rbEquipNumeric.CanFocus = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
135 this.rbEquipNumeric.Name = "rbEquipNumeric"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
136 this.rbEquipNumeric.DrawIndicator = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
137 this.rbEquipNumeric.UseUnderline = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
138 this.rbEquipNumeric.Group = this.rbEquipAll.Group; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
139 this.table2.Add(this.rbEquipNumeric); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
140 global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipNumeric])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
141 w9.XOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
142 w9.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
143 // Container child table2.Gtk.Table+TableChild |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
144 this.rbEquipPercent = new global::Gtk.RadioButton(""); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
145 this.rbEquipPercent.CanFocus = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
146 this.rbEquipPercent.Name = "rbEquipPercent"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
147 this.rbEquipPercent.DrawIndicator = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
148 this.rbEquipPercent.UseUnderline = true; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
149 this.rbEquipPercent.Group = this.rbEquipAll.Group; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
150 this.table2.Add(this.rbEquipPercent); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
151 global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.rbEquipPercent])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
152 w10.TopAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
153 w10.BottomAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
154 w10.XOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
155 w10.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
156 this.hbox2.Add(this.table2); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
157 global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.table2])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
158 w11.Position = 0; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
159 w11.Expand = false; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
160 w11.Fill = false; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
161 this.table1.Add(this.hbox2); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
162 global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox2])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
163 w12.TopAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
164 w12.BottomAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
165 w12.LeftAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
166 w12.RightAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
167 w12.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
168 // Container child table1.Gtk.Table+TableChild |
97
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
169 this.lblAmount = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
170 this.lblAmount.Name = "lblAmount"; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
171 this.lblAmount.LabelProp = global::Mono.Unix.Catalog.GetString("amount:"); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
172 this.table1.Add(this.lblAmount); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
173 global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.lblAmount])); |
68
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
174 w13.TopAttach = ((uint)(1)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
175 w13.BottomAttach = ((uint)(2)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
176 w13.XOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
177 w13.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
178 // Container child table1.Gtk.Table+TableChild |
97
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
179 this.lblItem = new global::IBBoard.GtkSharp.Translatable.TranslatableLabel(); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
180 this.lblItem.Name = "lblItem"; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
181 this.lblItem.LabelProp = global::Mono.Unix.Catalog.GetString("equipment"); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
182 this.table1.Add(this.lblItem); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
183 global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.lblItem])); |
68
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
184 w14.XOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
185 w14.YOptions = ((global::Gtk.AttachOptions)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
186 w1.Add(this.table1); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
187 global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w1[this.table1])); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
188 w15.Position = 0; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
189 w15.Expand = false; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
190 w15.Fill = false; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
191 // Internal child IBBoard.WarFoundry.GUI.GTK.FrmReplaceEquipment.ActionArea |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
192 global::Gtk.HButtonBox w16 = this.ActionArea; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
193 w16.Name = "dialog1_ActionArea"; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
194 w16.Spacing = 10; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
195 w16.BorderWidth = ((uint)(5)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
196 w16.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
197 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
97
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
198 this.bttnCancel = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
199 this.bttnCancel.CanDefault = true; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
200 this.bttnCancel.CanFocus = true; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
201 this.bttnCancel.Name = "bttnCancel"; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
202 this.bttnCancel.UseStock = true; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
203 this.bttnCancel.UseUnderline = true; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
204 this.bttnCancel.Label = "gtk-cancel"; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
205 this.AddActionWidget(this.bttnCancel, -6); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
206 global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.bttnCancel])); |
68
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
207 w17.Expand = false; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
208 w17.Fill = false; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
209 // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild |
97
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
210 this.bttnOkay = new global::IBBoard.GtkSharp.Translatable.TranslatableButton(); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
211 this.bttnOkay.CanDefault = true; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
212 this.bttnOkay.CanFocus = true; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
213 this.bttnOkay.Name = "bttnOkay"; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
214 this.bttnOkay.UseStock = true; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
215 this.bttnOkay.UseUnderline = true; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
216 this.bttnOkay.Label = "gtk-ok"; |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
217 this.AddActionWidget(this.bttnOkay, -5); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
218 global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w16[this.bttnOkay])); |
68
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
219 w18.Position = 1; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
220 w18.Expand = false; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
221 w18.Fill = false; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
222 if ((this.Child != null)) |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
223 { |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
224 this.Child.ShowAll(); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
225 } |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
226 this.DefaultWidth = 400; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
227 this.DefaultHeight = 300; |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
228 this.Show(); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
229 this.rbEquipNumeric.Clicked += new global::System.EventHandler(this.RadioButtonClicked); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
230 this.percentageAmount.ValueChanged += new global::System.EventHandler(this.SpinButtonValueChanged); |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
231 this.numericAmount.ValueChanged += new global::System.EventHandler(this.SpinButtonValueChanged); |
97
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
232 this.bttnCancel.Clicked += new global::System.EventHandler(this.CancelButtonClicked); |
6d2c8ad0d8f1
Re #308: Make GTK# UI translatable
IBBoard <dev@ibboard.co.uk>
parents:
93
diff
changeset
|
233 this.bttnOkay.Clicked += new global::System.EventHandler(this.OkayButtonClicked); |
68
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
234 } |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
235 } |
7028e24b67ec
Re #60: Add UI to add/remove/edit weapons in GTK
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
236 } |