diff --git a/DMX-2.0/gtk-gui/generated.cs b/DMX-2.0/gtk-gui/generated.cs deleted file mode 100644 index 6844911..0000000 --- a/DMX-2.0/gtk-gui/generated.cs +++ /dev/null @@ -1,147 +0,0 @@ - -// This file has been generated by the GUI designer. Do not modify. -namespace Stetic -{ - internal class Gui - { - private static bool initialized; - - internal static void Initialize (Gtk.Widget iconRenderer) - { - if ((Stetic.Gui.initialized == false)) { - Stetic.Gui.initialized = true; - global::Gtk.IconFactory w1 = new global::Gtk.IconFactory (); - global::Gtk.IconSet w2 = new global::Gtk.IconSet (); - global::Gtk.IconSource w3 = new global::Gtk.IconSource (); - w3.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.16.png"); - w3.SizeWildcarded = false; - w3.Size = global::Gtk.IconSize.SmallToolbar; - w2.AddSource (w3); - global::Gtk.IconSource w4 = new global::Gtk.IconSource (); - w4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.24.png"); - w4.SizeWildcarded = false; - w4.Size = global::Gtk.IconSize.LargeToolbar; - w2.AddSource (w4); - global::Gtk.IconSource w5 = new global::Gtk.IconSource (); - w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.32.png"); - w5.SizeWildcarded = false; - w5.Size = global::Gtk.IconSize.Dnd; - w2.AddSource (w5); - global::Gtk.IconSource w6 = new global::Gtk.IconSource (); - w6.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.48.png"); - w6.SizeWildcarded = false; - w6.Size = global::Gtk.IconSize.Dialog; - w2.AddSource (w6); - global::Gtk.IconSource w7 = new global::Gtk.IconSource (); - w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.16.png"); - w7.SizeWildcarded = false; - w7.Size = global::Gtk.IconSize.Button; - w2.AddSource (w7); - global::Gtk.IconSource w8 = new global::Gtk.IconSource (); - w8.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.16.png"); - w8.SizeWildcarded = false; - w8.Size = global::Gtk.IconSize.Menu; - w2.AddSource (w8); - w1.Add ("tirettes", w2); - global::Gtk.IconSet w9 = new global::Gtk.IconSet (); - global::Gtk.IconSource w10 = new global::Gtk.IconSource (); - w10.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.16.png"); - w10.SizeWildcarded = false; - w10.Size = global::Gtk.IconSize.Menu; - w9.AddSource (w10); - global::Gtk.IconSource w11 = new global::Gtk.IconSource (); - w11.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.48.png"); - w11.SizeWildcarded = false; - w11.Size = global::Gtk.IconSize.Dialog; - w9.AddSource (w11); - global::Gtk.IconSource w12 = new global::Gtk.IconSource (); - w12.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.16.png"); - w12.SizeWildcarded = false; - w12.Size = global::Gtk.IconSize.Button; - w9.AddSource (w12); - global::Gtk.IconSource w13 = new global::Gtk.IconSource (); - w13.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.24.png"); - w13.SizeWildcarded = false; - w13.Size = global::Gtk.IconSize.LargeToolbar; - w9.AddSource (w13); - global::Gtk.IconSource w14 = new global::Gtk.IconSource (); - w14.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.16.png"); - w14.SizeWildcarded = false; - w14.Size = global::Gtk.IconSize.SmallToolbar; - w9.AddSource (w14); - global::Gtk.IconSource w15 = new global::Gtk.IconSource (); - w15.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.32.png"); - w15.SizeWildcarded = false; - w15.Size = global::Gtk.IconSize.Dnd; - w9.AddSource (w15); - w1.Add ("circuits", w9); - w1.AddDefault (); - } - } - } - - internal class BinContainer - { - private Gtk.Widget child; - private Gtk.UIManager uimanager; - - public static BinContainer Attach (Gtk.Bin bin) - { - BinContainer bc = new BinContainer (); - bin.SizeRequested += new Gtk.SizeRequestedHandler (bc.OnSizeRequested); - bin.SizeAllocated += new Gtk.SizeAllocatedHandler (bc.OnSizeAllocated); - bin.Added += new Gtk.AddedHandler (bc.OnAdded); - return bc; - } - - private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args) - { - if ((this.child != null)) { - args.Requisition = this.child.SizeRequest (); - } - } - - private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args) - { - if ((this.child != null)) { - this.child.Allocation = args.Allocation; - } - } - - private void OnAdded (object sender, Gtk.AddedArgs args) - { - this.child = args.Widget; - } - - public void SetUiManager (Gtk.UIManager uim) - { - this.uimanager = uim; - this.child.Realized += new System.EventHandler (this.OnRealized); - } - - private void OnRealized (object sender, System.EventArgs args) - { - if ((this.uimanager != null)) { - Gtk.Widget w; - w = this.child.Toplevel; - if (((w != null) && typeof(Gtk.Window).IsInstanceOfType (w))) { - ((Gtk.Window)(w)).AddAccelGroup (this.uimanager.AccelGroup); - this.uimanager = null; - } - } - } - } - - internal class ActionGroups - { - public static Gtk.ActionGroup GetActionGroup (System.Type type) - { - return Stetic.ActionGroups.GetActionGroup (type.FullName); - } - - public static Gtk.ActionGroup GetActionGroup (string name) - { - return null; - } - } -}