Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
diff gtk-gui/generated.cs @ 77:68804784bf6f
Re #86: Complete initial GTK# UI
* Add About dialog
* Make sure app builds as "WarFoundry-GTK.exe"
* Move all UI components to IBBoard.WarFoundry.GUI.GTK namespace
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 18 Dec 2010 16:42:51 +0000 |
parents | 0bd9c85d3c5d |
children | 135491fd1830 |
line wrap: on
line diff
--- a/gtk-gui/generated.cs Tue Nov 23 21:03:46 2010 +0000 +++ b/gtk-gui/generated.cs Sat Dec 18 16:42:51 2010 +0000 @@ -6,7 +6,7 @@ { private static bool initialized; - static internal void Initialize(Gtk.Widget iconRenderer) + internal static void Initialize(Gtk.Widget iconRenderer) { if ((Stetic.Gui.initialized == false)) { @@ -24,12 +24,11 @@ { return res; } - else { int sz; int sy; - global::Gtk.Icon.SizeLookup(size, out sz, out sy); + global::Gtk.Icon.SizeLookup(size, out sz, out sy); try { return Gtk.IconTheme.Default.LoadIcon(name, sz, 0); @@ -40,7 +39,6 @@ { return Stetic.IconLoader.LoadIcon(widget, "gtk-missing-image", size); } - else { Gdk.Pixmap pmap = new Gdk.Pixmap(Gdk.Screen.Default.RootWindow, sz, sz); @@ -63,7 +61,6 @@ internal class BinContainer { private Gtk.Widget child; - private Gtk.UIManager uimanager; public static BinContainer Attach(Gtk.Bin bin)