Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
changeset 35:1b603f97e7de
Re #86: Complete initial GTK# UI
* Add default config file to build
* Auto-updates of source code
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 16 Jan 2010 11:07:15 +0000 |
parents | a35c8be46006 |
children | d68992a831df |
files | IBBoard.WarFoundry.GUI.GTK.csproj WarFoundryGTKPref.xml gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs |
diffstat | 4 files changed, 20 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/IBBoard.WarFoundry.GUI.GTK.csproj Mon Oct 26 20:57:36 2009 +0000 +++ b/IBBoard.WarFoundry.GUI.GTK.csproj Sat Jan 16 11:07:15 2010 +0000 @@ -67,6 +67,9 @@ <None Include="gtk-gui\gui.stetic" /> <None Include="gtk-gui\objects.xml" /> <None Include="COPYING" /> + <None Include="WarFoundryGTKPref.xml"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> </ItemGroup> <ItemGroup> <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/WarFoundryGTKPref.xml Sat Jan 16 11:07:15 2010 +0000 @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE preferences[ + <!ELEMENT preference (CDATA|preferenceArr+)> + <!ELEMENT preferenceArr (CDATA)> + <!ATTLIST preference id ID #REQUIRED> + <!ATTLIST preference type CDATA #REQUIRED> + <!ATTLIST preferenceArr id ID #REQUIRED> +]> +<preferences> +<preference id="language" type="System.String">en</preference> +<preference id="currSystem" type="System.String"></preference> +<preference id="logLevel" type="System.String">Info</preference> +</preferences>
--- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs Mon Oct 26 20:57:36 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs Sat Jan 16 11:07:15 2010 +0000 @@ -183,6 +183,7 @@ this.toolbar.Name = "toolbar"; this.toolbar.ShowArrow = false; this.toolbar.ToolbarStyle = ((Gtk.ToolbarStyle)(0)); + this.toolbar.IconSize = ((Gtk.IconSize)(3)); this.vbox1.Add(this.toolbar); Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.toolbar])); w3.Position = 1;
--- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs Mon Oct 26 20:57:36 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs Sat Jan 16 11:07:15 2010 +0000 @@ -172,14 +172,14 @@ this.bttnCreate.UseUnderline = true; // Container child bttnCreate.Gtk.Container+ContainerChild Gtk.Alignment w13 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F); - // Container child GtkAlignment1.Gtk.Container+ContainerChild + // Container child GtkAlignment.Gtk.Container+ContainerChild Gtk.HBox w14 = new Gtk.HBox(); w14.Spacing = 2; - // Container child GtkHBox1.Gtk.Container+ContainerChild + // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Image w15 = new Gtk.Image(); w15.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-ok", Gtk.IconSize.Menu, 16); w14.Add(w15); - // Container child GtkHBox1.Gtk.Container+ContainerChild + // Container child GtkHBox.Gtk.Container+ContainerChild Gtk.Label w17 = new Gtk.Label(); w17.LabelProp = Mono.Unix.Catalog.GetString("C_reate"); w17.UseUnderline = true;