# HG changeset patch # User IBBoard # Date 1234888915 0 # Node ID 58961ff391d47239631621c5ca7fd2f86f41ddd0 # Parent cfc7683e73f9c77de1bcb385e4ed5f258c547124 Closes #30 - Convert to .csproj * Convert GTK# GUI to .csproj and remove .mdp Also: * Remove rogue Dialog class * Commit a number of generated GUI changes that MonoDevelop made and won't un-make diff -r cfc7683e73f9 -r 58961ff391d4 Dialog.cs --- a/Dialog.cs Mon Jan 26 20:16:07 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -// Dialog.cs created with MonoDevelop -// User: ibboard at 20:40 14/06/2008 -// -// To change standard headers go to Edit->Preferences->Coding->Standard Headers -// - -using System; - -namespace IBBoard.WarFoundry -{ - - - public partial class Dialog : Gtk.Dialog - { - - public Dialog() - { - this.Build(); - } - } -} diff -r cfc7683e73f9 -r 58961ff391d4 IBBoard.WarFoundry.GUI.GTK.csproj --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IBBoard.WarFoundry.GUI.GTK.csproj Tue Feb 17 16:41:55 2009 +0000 @@ -0,0 +1,109 @@ + + + + Debug + AnyCPU + 8.0.50727 + 2.0 + {4B435E40-7FA2-41C5-96F6-5735396D2D5F} + WinExe + Properties + IBBoard.WarFoundry.GUI.GTK + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + + WarFoundryGTK + IBBoard.WarFoundry.GTK.FrmMainWindow + App.ico + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + IBBoard.WarFoundry.GUI.GTK + IBBoard.WarFoundry.GTK.FrmMainWindow + App.ico + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + False + libs\log4net.dll + + + + + + + {951E6C7A-7FBA-4F68-9D9E-F48618BB9626} + IBBoard.WarFoundry.API + + + {182E4A7C-7CFB-4337-A9AD-AB2DCA054A53} + IBBoard.WarFoundry.Plugin.Rollcall + + + {5DFD64F6-FC2B-4B4F-B92E-483BAC468105} + IBBoard + + + {DCBA3FB1-267A-4D89-955B-5C05785EE1CD} + IBBoard.Log4Net + + + + + App.ico + + + \ No newline at end of file diff -r cfc7683e73f9 -r 58961ff391d4 IBBoard.WarFoundry.GUI.GTK.csproj.user --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IBBoard.WarFoundry.GUI.GTK.csproj.user Tue Feb 17 16:41:55 2009 +0000 @@ -0,0 +1,5 @@ + + + ProjectFiles + + \ No newline at end of file diff -r cfc7683e73f9 -r 58961ff391d4 WarFoundryGUI.mdp --- a/WarFoundryGUI.mdp Mon Jan 26 20:16:07 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff -r cfc7683e73f9 -r 58961ff391d4 gtk-gui/IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs --- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -29,7 +29,7 @@ Stetic.Gui.Initialize(this); // Widget IBBoard.WarFoundry.GTK.FrmChangeGameSystem this.Name = "IBBoard.WarFoundry.GTK.FrmChangeGameSystem"; - this.Title = "Change Game System"; + this.Title = Mono.Unix.Catalog.GetString("Change Game System"); this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); @@ -53,7 +53,7 @@ // Container child hbox1.Gtk.Box+BoxChild this.lblGameSystem = new Gtk.Label(); this.lblGameSystem.Name = "lblGameSystem"; - this.lblGameSystem.LabelProp = "Game System"; + this.lblGameSystem.LabelProp = Mono.Unix.Catalog.GetString("Game System"); this.hbox1.Add(this.lblGameSystem); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblGameSystem])); w2.Position = 0; diff -r cfc7683e73f9 -r 58961ff391d4 gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs --- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -78,58 +78,58 @@ // Widget IBBoard.WarFoundry.GTK.FrmMainWindow this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); - this.menuFile = new Gtk.Action("menuFile", "File", null, null); - this.menuFile.ShortLabel = "File"; + this.menuFile = new Gtk.Action("menuFile", Mono.Unix.Catalog.GetString("File"), null, null); + this.menuFile.ShortLabel = Mono.Unix.Catalog.GetString("File"); w1.Add(this.menuFile, null); - this.miCreateArmy = new Gtk.Action("miCreateArmy", "Create army", null, null); + this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, null); this.miCreateArmy.Sensitive = false; - this.miCreateArmy.ShortLabel = "Create army"; + this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("Create army"); w1.Add(this.miCreateArmy, null); - this.miOpenArmy = new Gtk.Action("miOpenArmy", "Open army", null, null); + this.miOpenArmy = new Gtk.Action("miOpenArmy", Mono.Unix.Catalog.GetString("Open army"), null, null); this.miOpenArmy.Sensitive = false; - this.miOpenArmy.ShortLabel = "Open army"; + this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army"); w1.Add(this.miOpenArmy, null); - this.miSaveArmy = new Gtk.Action("miSaveArmy", "Save army", null, null); + this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, null); this.miSaveArmy.Sensitive = false; - this.miSaveArmy.ShortLabel = "Save army"; + this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army"); w1.Add(this.miSaveArmy, null); - this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", "Save army as", null, null); + this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", Mono.Unix.Catalog.GetString("Save army as"), null, null); this.miSaveArmyAs.Sensitive = false; - this.miSaveArmyAs.ShortLabel = "Save army as"; + this.miSaveArmyAs.ShortLabel = Mono.Unix.Catalog.GetString("Save army as"); w1.Add(this.miSaveArmyAs, null); - this.miCloseArmy = new Gtk.Action("miCloseArmy", "Close army", null, null); + this.miCloseArmy = new Gtk.Action("miCloseArmy", Mono.Unix.Catalog.GetString("Close army"), null, null); this.miCloseArmy.Sensitive = false; - this.miCloseArmy.ShortLabel = "Close army"; + this.miCloseArmy.ShortLabel = Mono.Unix.Catalog.GetString("Close army"); w1.Add(this.miCloseArmy, null); - this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", "Change game system", null, null); - this.miChangeGameSystem.ShortLabel = "Change game system"; + this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", Mono.Unix.Catalog.GetString("Change game system"), null, null); + this.miChangeGameSystem.ShortLabel = Mono.Unix.Catalog.GetString("Change game system"); w1.Add(this.miChangeGameSystem, null); - this.miReloadFiles = new Gtk.Action("miReloadFiles", "Reload files", null, null); + this.miReloadFiles = new Gtk.Action("miReloadFiles", Mono.Unix.Catalog.GetString("Reload files"), null, null); this.miReloadFiles.Sensitive = false; - this.miReloadFiles.ShortLabel = "Reload files"; + this.miReloadFiles.ShortLabel = Mono.Unix.Catalog.GetString("Reload files"); w1.Add(this.miReloadFiles, null); - this.miExit = new Gtk.Action("miExit", "Exit", null, null); - this.miExit.ShortLabel = "Exit"; + this.miExit = new Gtk.Action("miExit", Mono.Unix.Catalog.GetString("Exit"), null, null); + this.miExit.ShortLabel = Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.miExit, null); - this.menuEdit = new Gtk.Action("menuEdit", "Edit", null, null); - this.menuEdit.ShortLabel = "Edit"; + this.menuEdit = new Gtk.Action("menuEdit", Mono.Unix.Catalog.GetString("Edit"), null, null); + this.menuEdit.ShortLabel = Mono.Unix.Catalog.GetString("Edit"); w1.Add(this.menuEdit, null); - this.miUndo = new Gtk.Action("miUndo", "Undo", null, null); + this.miUndo = new Gtk.Action("miUndo", Mono.Unix.Catalog.GetString("Undo"), null, null); this.miUndo.Sensitive = false; - this.miUndo.ShortLabel = "Undo"; + this.miUndo.ShortLabel = Mono.Unix.Catalog.GetString("Undo"); w1.Add(this.miUndo, null); - this.miRedo = new Gtk.Action("miRedo", "Redo", null, null); + this.miRedo = new Gtk.Action("miRedo", Mono.Unix.Catalog.GetString("Redo"), null, null); this.miRedo.Sensitive = false; - this.miRedo.ShortLabel = "Redo"; + this.miRedo.ShortLabel = Mono.Unix.Catalog.GetString("Redo"); w1.Add(this.miRedo, null); - this.menuHelp = new Gtk.Action("menuHelp", "Help", null, null); - this.menuHelp.ShortLabel = "Help"; + this.menuHelp = new Gtk.Action("menuHelp", Mono.Unix.Catalog.GetString("Help"), null, null); + this.menuHelp.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w1.Add(this.menuHelp, null); - this.miAbout = new Gtk.Action("miAbout", "About", null, null); - this.miAbout.ShortLabel = "About"; + this.miAbout = new Gtk.Action("miAbout", Mono.Unix.Catalog.GetString("About"), null, null); + this.miAbout.ShortLabel = Mono.Unix.Catalog.GetString("About"); w1.Add(this.miAbout, null); - this.miDebugInformation = new Gtk.Action("miDebugInformation", "Debug Information", null, null); - this.miDebugInformation.ShortLabel = "Debug Information"; + this.miDebugInformation = new Gtk.Action("miDebugInformation", Mono.Unix.Catalog.GetString("Debug Information"), null, null); + this.miDebugInformation.ShortLabel = Mono.Unix.Catalog.GetString("Debug Information"); w1.Add(this.miDebugInformation, null); this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new"); this.newArmyButton.Sensitive = false; @@ -153,7 +153,7 @@ this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow"; - this.Title = "MainWindow"; + this.Title = Mono.Unix.Catalog.GetString("MainWindow"); this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico"); // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox(); diff -r cfc7683e73f9 -r 58961ff391d4 gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs --- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -40,7 +40,7 @@ // Widget IBBoard.WarFoundry.GTK.FrmNewArmy this.Events = ((Gdk.EventMask)(256)); this.Name = "IBBoard.WarFoundry.GTK.FrmNewArmy"; - this.Title = "Create new army"; + this.Title = Mono.Unix.Catalog.GetString("Create new army"); this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.SkipPagerHint = true; @@ -101,7 +101,7 @@ // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; - this.label1.LabelProp = "Race"; + this.label1.LabelProp = Mono.Unix.Catalog.GetString("Race"); this.table1.Add(this.label1); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w6.XOptions = ((Gtk.AttachOptions)(4)); @@ -109,7 +109,7 @@ // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; - this.label2.LabelProp = "Army name"; + this.label2.LabelProp = Mono.Unix.Catalog.GetString("Army name"); this.table1.Add(this.label2); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w7.TopAttach = ((uint)(1)); @@ -119,7 +119,7 @@ // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; - this.label3.LabelProp = "Points value"; + this.label3.LabelProp = Mono.Unix.Catalog.GetString("Points value"); this.table1.Add(this.label3); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w8.TopAttach = ((uint)(2)); @@ -182,7 +182,7 @@ w14.Add(w15); // Container child GtkHBox1.Gtk.Container+ContainerChild Gtk.Label w17 = new Gtk.Label(); - w17.LabelProp = "C_reate"; + w17.LabelProp = Mono.Unix.Catalog.GetString("C_reate"); w17.UseUnderline = true; w14.Add(w17); w13.Add(w14); diff -r cfc7683e73f9 -r 58961ff391d4 gtk-gui/IBBoard.WarFoundry.GTK.FrmNewUnit.cs --- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewUnit.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewUnit.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -33,7 +33,7 @@ Stetic.Gui.Initialize(this); // Widget IBBoard.WarFoundry.GTK.FrmNewUnit this.Name = "IBBoard.WarFoundry.GTK.FrmNewUnit"; - this.Title = "Add new unit"; + this.Title = Mono.Unix.Catalog.GetString("Add new unit"); this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; @@ -55,7 +55,7 @@ // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; - this.label1.LabelProp = "Unit Type:"; + this.label1.LabelProp = Mono.Unix.Catalog.GetString("Unit Type:"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w2.Position = 0; diff -r cfc7683e73f9 -r 58961ff391d4 gtk-gui/IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs --- a/gtk-gui/IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -155,7 +155,7 @@ // Container child table1.Gtk.Table+TableChild this.optionalEquipmentLabel = new Gtk.Label(); this.optionalEquipmentLabel.Name = "optionalEquipmentLabel"; - this.optionalEquipmentLabel.LabelProp = "Optional Equipment:"; + this.optionalEquipmentLabel.LabelProp = Mono.Unix.Catalog.GetString("Optional Equipment:"); this.table1.Add(this.optionalEquipmentLabel); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.optionalEquipmentLabel])); w11.TopAttach = ((uint)(1)); @@ -165,7 +165,7 @@ // Container child table1.Gtk.Table+TableChild this.requiredEquipmentLabel = new Gtk.Label(); this.requiredEquipmentLabel.Name = "requiredEquipmentLabel"; - this.requiredEquipmentLabel.LabelProp = "Required Equipment:"; + this.requiredEquipmentLabel.LabelProp = Mono.Unix.Catalog.GetString("Required Equipment:"); this.table1.Add(this.requiredEquipmentLabel); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.requiredEquipmentLabel])); w12.XOptions = ((Gtk.AttachOptions)(4)); @@ -179,7 +179,7 @@ this.bttnReplaceRequired.CanFocus = true; this.bttnReplaceRequired.Name = "bttnReplaceRequired"; this.bttnReplaceRequired.UseUnderline = true; - this.bttnReplaceRequired.Label = "Replace"; + this.bttnReplaceRequired.Label = Mono.Unix.Catalog.GetString("Replace"); this.vbox2.Add(this.bttnReplaceRequired); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.bttnReplaceRequired])); w13.Position = 0; @@ -190,7 +190,7 @@ this.bttnEditRequired.CanFocus = true; this.bttnEditRequired.Name = "bttnEditRequired"; this.bttnEditRequired.UseUnderline = true; - this.bttnEditRequired.Label = "Edit"; + this.bttnEditRequired.Label = Mono.Unix.Catalog.GetString("Edit"); this.vbox2.Add(this.bttnEditRequired); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox2[this.bttnEditRequired])); w14.Position = 1; @@ -211,7 +211,7 @@ this.bttnAddOptional.CanFocus = true; this.bttnAddOptional.Name = "bttnAddOptional"; this.bttnAddOptional.UseUnderline = true; - this.bttnAddOptional.Label = "Add"; + this.bttnAddOptional.Label = Mono.Unix.Catalog.GetString("Add"); this.vbox3.Add(this.bttnAddOptional); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox3[this.bttnAddOptional])); w16.Position = 0; @@ -222,7 +222,7 @@ this.bttnEditOptional.CanFocus = true; this.bttnEditOptional.Name = "bttnEditOptional"; this.bttnEditOptional.UseUnderline = true; - this.bttnEditOptional.Label = "Edit"; + this.bttnEditOptional.Label = Mono.Unix.Catalog.GetString("Edit"); this.vbox3.Add(this.bttnEditOptional); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox3[this.bttnEditOptional])); w17.Position = 1; @@ -233,7 +233,7 @@ this.bttnRemove.CanFocus = true; this.bttnRemove.Name = "bttnRemove"; this.bttnRemove.UseUnderline = true; - this.bttnRemove.Label = "Remove"; + this.bttnRemove.Label = Mono.Unix.Catalog.GetString("Remove"); this.vbox3.Add(this.bttnRemove); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox3[this.bttnRemove])); w18.Position = 2; diff -r cfc7683e73f9 -r 58961ff391d4 gtk-gui/generated.cs --- a/gtk-gui/generated.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/generated.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated.