From 4548da119017999848f86857bc2249121e7029d9 Mon Sep 17 00:00:00 2001 From: tzim Date: Tue, 7 May 2013 20:14:45 +0000 Subject: [PATCH] --- DMX-2.0/gtk-gui/DMX2.EditionUnivers.cs | 2 +- DMX-2.0/gtk-gui/DMX2.GestionCircuits.cs | 99 ++++++ DMX-2.0/gtk-gui/DMX2.MainWindow.cs | 387 ++++++++++++++++++++++++ DMX-2.0/gtk-gui/DMX2.SelSeqCircuits.cs | 263 ++++++++++++++++ DMX-2.0/gtk-gui/DMX2.SeqLinUI.cs | 214 +++++++++++++ DMX-2.0/gtk-gui/generated.cs | 181 +++++++++++ 6 files changed, 1145 insertions(+), 1 deletion(-) create mode 100644 DMX-2.0/gtk-gui/DMX2.GestionCircuits.cs create mode 100644 DMX-2.0/gtk-gui/DMX2.MainWindow.cs create mode 100644 DMX-2.0/gtk-gui/DMX2.SelSeqCircuits.cs create mode 100644 DMX-2.0/gtk-gui/DMX2.SeqLinUI.cs create mode 100644 DMX-2.0/gtk-gui/generated.cs diff --git a/DMX-2.0/gtk-gui/DMX2.EditionUnivers.cs b/DMX-2.0/gtk-gui/DMX2.EditionUnivers.cs index 9693f2c..15c7da9 100644 --- a/DMX-2.0/gtk-gui/DMX2.EditionUnivers.cs +++ b/DMX-2.0/gtk-gui/DMX2.EditionUnivers.cs @@ -59,7 +59,7 @@ namespace DMX2 // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.listeGradas = new global::Gtk.TreeView (); this.listeGradas.CanFocus = true; - this.listeGradas.Name = "treeview2"; + this.listeGradas.Name = "listeGradas"; this.GtkScrolledWindow.Add (this.listeGradas); w1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow])); diff --git a/DMX-2.0/gtk-gui/DMX2.GestionCircuits.cs b/DMX-2.0/gtk-gui/DMX2.GestionCircuits.cs new file mode 100644 index 0000000..d626191 --- /dev/null +++ b/DMX-2.0/gtk-gui/DMX2.GestionCircuits.cs @@ -0,0 +1,99 @@ + +// This file has been generated by the GUI designer. Do not modify. +namespace DMX2 +{ + public partial class GestionCircuits + { + private global::Gtk.UIManager UIManager; + private global::Gtk.Action addAction; + private global::Gtk.Action removeAction; + private global::Gtk.VBox vbox2; + private global::Gtk.Toolbar toolbar1; + private global::Gtk.ScrolledWindow GtkScrolledWindow; + private global::Gtk.TreeView listeCircuits; + private global::Gtk.Button buttonOk; + + protected virtual void Build () + { + global::Stetic.Gui.Initialize (this); + // Widget DMX2.GestionCircuits + this.UIManager = new global::Gtk.UIManager (); + global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); + this.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add"); + w1.Add (this.addAction, null); + this.removeAction = new global::Gtk.Action ("removeAction", null, null, "gtk-remove"); + w1.Add (this.removeAction, null); + this.UIManager.InsertActionGroup (w1, 0); + this.AddAccelGroup (this.UIManager.AccelGroup); + this.Name = "DMX2.GestionCircuits"; + this.Title = global::Mono.Unix.Catalog.GetString ("Circuits"); + this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); + this.WindowPosition = ((global::Gtk.WindowPosition)(4)); + this.DestroyWithParent = true; + this.Gravity = ((global::Gdk.Gravity)(10)); + // Internal child DMX2.GestionCircuits.VBox + global::Gtk.VBox w2 = this.VBox; + w2.Name = "dialog1_VBox"; + w2.BorderWidth = ((uint)(2)); + // Container child dialog1_VBox.Gtk.Box+BoxChild + this.vbox2 = new global::Gtk.VBox (); + this.vbox2.Name = "vbox2"; + this.vbox2.Spacing = 6; + // Container child vbox2.Gtk.Box+BoxChild + this.UIManager.AddUiFromString (""); + this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); + this.toolbar1.Name = "toolbar1"; + this.toolbar1.ShowArrow = false; + this.vbox2.Add (this.toolbar1); + global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1])); + w3.Position = 0; + w3.Expand = false; + w3.Fill = false; + // Container child vbox2.Gtk.Box+BoxChild + this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); + this.GtkScrolledWindow.Name = "GtkScrolledWindow"; + this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); + // Container child GtkScrolledWindow.Gtk.Container+ContainerChild + this.listeCircuits = new global::Gtk.TreeView (); + this.listeCircuits.CanFocus = true; + this.listeCircuits.Name = "listeCircuits"; + this.listeCircuits.EnableSearch = false; + this.listeCircuits.Reorderable = true; + this.GtkScrolledWindow.Add (this.listeCircuits); + this.vbox2.Add (this.GtkScrolledWindow); + global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); + w5.Position = 1; + w2.Add (this.vbox2); + global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w2 [this.vbox2])); + w6.Position = 0; + // Internal child DMX2.GestionCircuits.ActionArea + global::Gtk.HButtonBox w7 = this.ActionArea; + w7.Name = "dialog1_ActionArea"; + w7.Spacing = 10; + w7.BorderWidth = ((uint)(5)); + w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); + // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild + this.buttonOk = new global::Gtk.Button (); + this.buttonOk.CanDefault = true; + this.buttonOk.CanFocus = true; + this.buttonOk.Name = "buttonOk"; + this.buttonOk.UseStock = true; + this.buttonOk.UseUnderline = true; + this.buttonOk.Label = "gtk-close"; + this.AddActionWidget (this.buttonOk, -7); + global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonOk])); + w8.Expand = false; + w8.Fill = false; + if ((this.Child != null)) { + this.Child.ShowAll (); + } + this.DefaultWidth = 400; + this.DefaultHeight = 456; + this.buttonOk.HasDefault = true; + this.Hide (); + this.Response += new global::Gtk.ResponseHandler (this.OnResp); + this.addAction.Activated += new global::System.EventHandler (this.OnAddActionActivated); + this.removeAction.Activated += new global::System.EventHandler (this.OnRemoveActionActivated); + } + } +} diff --git a/DMX-2.0/gtk-gui/DMX2.MainWindow.cs b/DMX-2.0/gtk-gui/DMX2.MainWindow.cs new file mode 100644 index 0000000..42361f3 --- /dev/null +++ b/DMX-2.0/gtk-gui/DMX2.MainWindow.cs @@ -0,0 +1,387 @@ + +// This file has been generated by the GUI designer. Do not modify. +namespace DMX2 +{ + public partial class MainWindow + { + private global::Gtk.UIManager UIManager; + private global::Gtk.Action openAction; + private global::Gtk.Action saveAction; + private global::Gtk.Action saveAsAction; + private global::Gtk.Action quitAction; + private global::Gtk.Action closeAction; + private global::Gtk.Action TestAction; + private global::Gtk.Action circAction; + private global::Gtk.Action propertiesAction; + private global::Gtk.Action FichierAction; + private global::Gtk.Action newAction; + private global::Gtk.Action seqLinAction; + private global::Gtk.Action fullscreenAction; + private global::Gtk.Action fullscreenAction1; + private global::Gtk.Action ShowAllAction; + private global::Gtk.VBox vbox1; + private global::Gtk.HBox hbox1; + private global::Gtk.VBox vbox2; + private global::Gtk.Button button172; + private global::Gtk.Button button186; + private global::Gtk.ToggleButton togglebutton2; + private global::Gtk.ToggleButton togglebutton1; + private global::Gtk.ToggleButton togglebutton3; + private global::Gtk.VScale masterScale; + private global::Gtk.VSeparator vseparator1; + private global::Gtk.HPaned hpaned1; + private global::Gtk.HPaned hpaned2; + private global::Gtk.ScrolledWindow GtkScrolledWindow; + private global::Gtk.VBox seqUiVbox; + private global::Gtk.ScrolledWindow GtkScrolledWindow2; + private global::Gtk.NodeView nodeview1; + private global::Gtk.ScrolledWindow scrolledwindow2; + private global::Gtk.VBox vboxCircuits; + private global::Gtk.HSeparator hseparator1; + private global::Gtk.HBox hbox4; + private global::Gtk.Toolbar toolbar7; + private global::Gtk.Fixed fixed5; + private global::Gtk.Toolbar toolbar8; + + protected virtual void Build () + { + global::Stetic.Gui.Initialize (this); + // Widget DMX2.MainWindow + this.UIManager = new global::Gtk.UIManager (); + global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); + this.openAction = new global::Gtk.Action ("openAction", global::Mono.Unix.Catalog.GetString ("_Ouvrir"), null, "gtk-open"); + this.openAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Ouvrir"); + w1.Add (this.openAction, null); + this.saveAction = new global::Gtk.Action ("saveAction", null, null, "gtk-save"); + this.saveAction.Sensitive = false; + w1.Add (this.saveAction, null); + this.saveAsAction = new global::Gtk.Action ("saveAsAction", null, null, "gtk-save-as"); + this.saveAsAction.Sensitive = false; + w1.Add (this.saveAsAction, null); + this.quitAction = new global::Gtk.Action ("quitAction", null, null, "gtk-quit"); + w1.Add (this.quitAction, null); + this.closeAction = new global::Gtk.Action ("closeAction", null, null, "gtk-close"); + this.closeAction.Sensitive = false; + w1.Add (this.closeAction, null); + this.TestAction = new global::Gtk.Action ("TestAction", global::Mono.Unix.Catalog.GetString ("Test"), null, null); + this.TestAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Test"); + w1.Add (this.TestAction, null); + this.circAction = new global::Gtk.Action ("circAction", global::Mono.Unix.Catalog.GetString ("Circuits"), null, "circuits"); + this.circAction.Sensitive = false; + this.circAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Circuits"); + w1.Add (this.circAction, null); + this.propertiesAction = new global::Gtk.Action ("propertiesAction", global::Mono.Unix.Catalog.GetString ("Circuits"), null, "gtk-properties"); + this.propertiesAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Circuits"); + w1.Add (this.propertiesAction, null); + this.FichierAction = new global::Gtk.Action ("FichierAction", global::Mono.Unix.Catalog.GetString ("_Fichier"), null, null); + this.FichierAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Fichier"); + w1.Add (this.FichierAction, null); + this.newAction = new global::Gtk.Action ("newAction", null, null, "gtk-new"); + w1.Add (this.newAction, null); + this.seqLinAction = new global::Gtk.Action ("seqLinAction", null, null, "tirettes"); + this.seqLinAction.Sensitive = false; + w1.Add (this.seqLinAction, null); + this.fullscreenAction = new global::Gtk.Action ("fullscreenAction", null, null, "gtk-fullscreen"); + w1.Add (this.fullscreenAction, null); + this.fullscreenAction1 = new global::Gtk.Action ("fullscreenAction1", null, null, "gtk-fullscreen"); + w1.Add (this.fullscreenAction1, null); + this.ShowAllAction = new global::Gtk.Action ("ShowAllAction", global::Mono.Unix.Catalog.GetString ("ShowAll"), null, null); + this.ShowAllAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("ShowAll"); + w1.Add (this.ShowAllAction, null); + this.UIManager.InsertActionGroup (w1, 0); + this.AddAccelGroup (this.UIManager.AccelGroup); + this.Name = "DMX2.MainWindow"; + this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); + this.WindowPosition = ((global::Gtk.WindowPosition)(4)); + // Container child DMX2.MainWindow.Gtk.Container+ContainerChild + this.vbox1 = new global::Gtk.VBox (); + this.vbox1.Name = "vbox1"; + this.vbox1.Spacing = 6; + // Container child vbox1.Gtk.Box+BoxChild + this.hbox1 = new global::Gtk.HBox (); + this.hbox1.Name = "hbox1"; + this.hbox1.Spacing = 6; + // Container child hbox1.Gtk.Box+BoxChild + this.vbox2 = new global::Gtk.VBox (); + this.vbox2.Name = "vbox2"; + this.vbox2.Spacing = 6; + // Container child vbox2.Gtk.Box+BoxChild + this.button172 = new global::Gtk.Button (); + this.button172.CanFocus = true; + this.button172.Name = "button172"; + this.button172.UseUnderline = true; + // Container child button172.Gtk.Container+ContainerChild + global::Gtk.Alignment w2 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w3 = new global::Gtk.HBox (); + w3.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w4 = new global::Gtk.Image (); + w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-goto-last", global::Gtk.IconSize.Dnd); + w3.Add (w4); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w6 = new global::Gtk.Label (); + w3.Add (w6); + w2.Add (w3); + this.button172.Add (w2); + this.vbox2.Add (this.button172); + global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.button172])); + w10.Position = 0; + w10.Expand = false; + w10.Fill = false; + // Container child vbox2.Gtk.Box+BoxChild + this.button186 = new global::Gtk.Button (); + this.button186.CanFocus = true; + this.button186.Name = "button186"; + this.button186.UseUnderline = true; + // Container child button186.Gtk.Container+ContainerChild + global::Gtk.Alignment w11 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w12 = new global::Gtk.HBox (); + w12.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w13 = new global::Gtk.Image (); + w13.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-goto-first", global::Gtk.IconSize.Dnd); + w12.Add (w13); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w15 = new global::Gtk.Label (); + w12.Add (w15); + w11.Add (w12); + this.button186.Add (w11); + this.vbox2.Add (this.button186); + global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.button186])); + w19.Position = 1; + w19.Expand = false; + w19.Fill = false; + // Container child vbox2.Gtk.Box+BoxChild + this.togglebutton2 = new global::Gtk.ToggleButton (); + this.togglebutton2.CanFocus = true; + this.togglebutton2.Name = "togglebutton2"; + this.togglebutton2.UseUnderline = true; + // Container child togglebutton2.Gtk.Container+ContainerChild + global::Gtk.Alignment w20 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w21 = new global::Gtk.HBox (); + w21.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w22 = new global::Gtk.Image (); + w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-no", global::Gtk.IconSize.Dnd); + w21.Add (w22); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w24 = new global::Gtk.Label (); + w21.Add (w24); + w20.Add (w21); + this.togglebutton2.Add (w20); + this.vbox2.Add (this.togglebutton2); + global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.togglebutton2])); + w28.Position = 2; + w28.Expand = false; + w28.Fill = false; + // Container child vbox2.Gtk.Box+BoxChild + this.togglebutton1 = new global::Gtk.ToggleButton (); + this.togglebutton1.CanFocus = true; + this.togglebutton1.Name = "togglebutton1"; + this.togglebutton1.UseUnderline = true; + // Container child togglebutton1.Gtk.Container+ContainerChild + global::Gtk.Alignment w29 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w30 = new global::Gtk.HBox (); + w30.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w31 = new global::Gtk.Image (); + w31.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-pause", global::Gtk.IconSize.Dnd); + w30.Add (w31); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w33 = new global::Gtk.Label (); + w30.Add (w33); + w29.Add (w30); + this.togglebutton1.Add (w29); + this.vbox2.Add (this.togglebutton1); + global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.togglebutton1])); + w37.Position = 3; + w37.Expand = false; + w37.Fill = false; + // Container child vbox2.Gtk.Box+BoxChild + this.togglebutton3 = new global::Gtk.ToggleButton (); + this.togglebutton3.CanFocus = true; + this.togglebutton3.Name = "togglebutton3"; + this.togglebutton3.UseUnderline = true; + // Container child togglebutton3.Gtk.Container+ContainerChild + global::Gtk.Alignment w38 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w39 = new global::Gtk.HBox (); + w39.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w40 = new global::Gtk.Image (); + w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-justify-fill", global::Gtk.IconSize.Dnd); + w39.Add (w40); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w42 = new global::Gtk.Label (); + w39.Add (w42); + w38.Add (w39); + this.togglebutton3.Add (w38); + this.vbox2.Add (this.togglebutton3); + global::Gtk.Box.BoxChild w46 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.togglebutton3])); + w46.Position = 4; + w46.Expand = false; + w46.Fill = false; + // Container child vbox2.Gtk.Box+BoxChild + this.masterScale = new global::Gtk.VScale (null); + this.masterScale.HeightRequest = 260; + this.masterScale.Name = "masterScale"; + this.masterScale.Inverted = true; + this.masterScale.Adjustment.Upper = 100; + this.masterScale.Adjustment.PageIncrement = 10; + this.masterScale.Adjustment.StepIncrement = 1; + this.masterScale.Adjustment.Value = 100; + this.masterScale.DrawValue = true; + this.masterScale.Digits = 0; + this.masterScale.ValuePos = ((global::Gtk.PositionType)(2)); + this.vbox2.Add (this.masterScale); + global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.masterScale])); + w47.Position = 5; + w47.Expand = false; + w47.Fill = false; + this.hbox1.Add (this.vbox2); + global::Gtk.Box.BoxChild w48 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); + w48.Position = 0; + w48.Expand = false; + w48.Fill = false; + // Container child hbox1.Gtk.Box+BoxChild + this.vseparator1 = new global::Gtk.VSeparator (); + this.vseparator1.Name = "vseparator1"; + this.hbox1.Add (this.vseparator1); + global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1])); + w49.Position = 1; + w49.Expand = false; + w49.Fill = false; + // Container child hbox1.Gtk.Box+BoxChild + this.hpaned1 = new global::Gtk.HPaned (); + this.hpaned1.CanFocus = true; + this.hpaned1.Name = "hpaned1"; + this.hpaned1.Position = 727; + // Container child hpaned1.Gtk.Paned+PanedChild + this.hpaned2 = new global::Gtk.HPaned (); + this.hpaned2.CanFocus = true; + this.hpaned2.Name = "hpaned2"; + this.hpaned2.Position = 561; + // Container child hpaned2.Gtk.Paned+PanedChild + this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); + this.GtkScrolledWindow.Name = "GtkScrolledWindow"; + this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); + // Container child GtkScrolledWindow.Gtk.Container+ContainerChild + global::Gtk.Viewport w50 = new global::Gtk.Viewport (); + w50.ShadowType = ((global::Gtk.ShadowType)(0)); + // Container child GtkViewport.Gtk.Container+ContainerChild + this.seqUiVbox = new global::Gtk.VBox (); + this.seqUiVbox.Name = "seqUiVbox"; + this.seqUiVbox.Spacing = 6; + w50.Add (this.seqUiVbox); + this.GtkScrolledWindow.Add (w50); + this.hpaned2.Add (this.GtkScrolledWindow); + global::Gtk.Paned.PanedChild w53 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.GtkScrolledWindow])); + w53.Resize = false; + // Container child hpaned2.Gtk.Paned+PanedChild + this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); + this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; + this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); + // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild + this.nodeview1 = new global::Gtk.NodeView (); + this.nodeview1.CanFocus = true; + this.nodeview1.Name = "nodeview1"; + this.GtkScrolledWindow2.Add (this.nodeview1); + this.hpaned2.Add (this.GtkScrolledWindow2); + global::Gtk.Paned.PanedChild w55 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.GtkScrolledWindow2])); + w55.Resize = false; + w55.Shrink = false; + this.hpaned1.Add (this.hpaned2); + global::Gtk.Paned.PanedChild w56 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.hpaned2])); + w56.Resize = false; + // Container child hpaned1.Gtk.Paned+PanedChild + this.scrolledwindow2 = new global::Gtk.ScrolledWindow (); + this.scrolledwindow2.WidthRequest = 150; + this.scrolledwindow2.CanFocus = true; + this.scrolledwindow2.Name = "scrolledwindow2"; + this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); + // Container child scrolledwindow2.Gtk.Container+ContainerChild + global::Gtk.Viewport w57 = new global::Gtk.Viewport (); + w57.ShadowType = ((global::Gtk.ShadowType)(0)); + // Container child GtkViewport1.Gtk.Container+ContainerChild + this.vboxCircuits = new global::Gtk.VBox (); + this.vboxCircuits.Name = "vboxCircuits"; + this.vboxCircuits.Spacing = 2; + w57.Add (this.vboxCircuits); + this.scrolledwindow2.Add (w57); + this.hpaned1.Add (this.scrolledwindow2); + global::Gtk.Paned.PanedChild w60 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.scrolledwindow2])); + w60.Resize = false; + w60.Shrink = false; + this.hbox1.Add (this.hpaned1); + global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hpaned1])); + w61.Position = 2; + this.vbox1.Add (this.hbox1); + global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); + w62.Position = 0; + // Container child vbox1.Gtk.Box+BoxChild + this.hseparator1 = new global::Gtk.HSeparator (); + this.hseparator1.Name = "hseparator1"; + this.vbox1.Add (this.hseparator1); + global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1])); + w63.Position = 1; + w63.Expand = false; + w63.Fill = false; + // Container child vbox1.Gtk.Box+BoxChild + this.hbox4 = new global::Gtk.HBox (); + this.hbox4.Name = "hbox4"; + this.hbox4.Spacing = 6; + // Container child hbox4.Gtk.Box+BoxChild + this.UIManager.AddUiFromString (""); + this.toolbar7 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar7"))); + this.toolbar7.Name = "toolbar7"; + this.toolbar7.ShowArrow = false; + this.hbox4.Add (this.toolbar7); + global::Gtk.Box.BoxChild w64 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.toolbar7])); + w64.Position = 0; + w64.Expand = false; + w64.Fill = false; + // Container child hbox4.Gtk.Box+BoxChild + this.fixed5 = new global::Gtk.Fixed (); + this.fixed5.Name = "fixed5"; + this.fixed5.HasWindow = false; + this.hbox4.Add (this.fixed5); + global::Gtk.Box.BoxChild w65 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.fixed5])); + w65.Position = 1; + // Container child hbox4.Gtk.Box+BoxChild + this.UIManager.AddUiFromString (""); + this.toolbar8 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar8"))); + this.toolbar8.Name = "toolbar8"; + this.toolbar8.ShowArrow = false; + this.toolbar8.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); + this.hbox4.Add (this.toolbar8); + global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.toolbar8])); + w66.Position = 2; + w66.Expand = false; + w66.Fill = false; + this.vbox1.Add (this.hbox4); + global::Gtk.Box.BoxChild w67 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); + w67.Position = 2; + w67.Expand = false; + w67.Fill = false; + this.Add (this.vbox1); + if ((this.Child != null)) { + this.Child.ShowAll (); + } + this.DefaultWidth = 1027; + this.DefaultHeight = 709; + this.Show (); + this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); + this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); + this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); + this.circAction.Activated += new global::System.EventHandler (this.OnCircuitsActionActivated); + this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); + this.seqLinAction.Activated += new global::System.EventHandler (this.OnSeqLinActionActivated); + this.fullscreenAction1.Activated += new global::System.EventHandler (this.OnFullscreenAction1Activated); + this.masterScale.ValueChanged += new global::System.EventHandler (this.OnMasterScaleValueChanged); + } + } +} diff --git a/DMX-2.0/gtk-gui/DMX2.SelSeqCircuits.cs b/DMX-2.0/gtk-gui/DMX2.SelSeqCircuits.cs new file mode 100644 index 0000000..b937102 --- /dev/null +++ b/DMX-2.0/gtk-gui/DMX2.SelSeqCircuits.cs @@ -0,0 +1,263 @@ + +// This file has been generated by the GUI designer. Do not modify. +namespace DMX2 +{ + public partial class SelSeqCircuits + { + private global::Gtk.HBox hbox1; + private global::Gtk.ScrolledWindow GtkScrolledWindow; + private global::Gtk.TreeView listeToutCircuits; + private global::Gtk.VButtonBox vbuttonbox1; + private global::Gtk.Button ajtBut; + private global::Gtk.Button supBt; + private global::Gtk.Button supToutBut; + private global::Gtk.Button button90; + private global::Gtk.Button mvHautBt; + private global::Gtk.Button mvBasBt; + private global::Gtk.ScrolledWindow GtkScrolledWindow1; + private global::Gtk.TreeView listeSelCircuits; + private global::Gtk.Button buttonCancel; + private global::Gtk.Button buttonOk; + + protected virtual void Build () + { + global::Stetic.Gui.Initialize (this); + // Widget DMX2.SelSeqCircuits + this.Name = "DMX2.SelSeqCircuits"; + this.Title = global::Mono.Unix.Catalog.GetString ("Selection des Circuits"); + this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); + this.WindowPosition = ((global::Gtk.WindowPosition)(4)); + this.Modal = true; + this.DestroyWithParent = true; + this.Gravity = ((global::Gdk.Gravity)(10)); + // Internal child DMX2.SelSeqCircuits.VBox + global::Gtk.VBox w1 = this.VBox; + w1.Name = "dialog1_VBox"; + w1.BorderWidth = ((uint)(2)); + // Container child dialog1_VBox.Gtk.Box+BoxChild + this.hbox1 = new global::Gtk.HBox (); + this.hbox1.Name = "hbox1"; + this.hbox1.Spacing = 6; + // Container child hbox1.Gtk.Box+BoxChild + this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); + this.GtkScrolledWindow.Name = "GtkScrolledWindow"; + this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); + // Container child GtkScrolledWindow.Gtk.Container+ContainerChild + this.listeToutCircuits = new global::Gtk.TreeView (); + this.listeToutCircuits.CanFocus = true; + this.listeToutCircuits.Name = "listeToutCircuits"; + this.GtkScrolledWindow.Add (this.listeToutCircuits); + this.hbox1.Add (this.GtkScrolledWindow); + global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow])); + w3.Position = 0; + // Container child hbox1.Gtk.Box+BoxChild + this.vbuttonbox1 = new global::Gtk.VButtonBox (); + this.vbuttonbox1.Name = "vbuttonbox1"; + this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); + // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild + this.ajtBut = new global::Gtk.Button (); + this.ajtBut.CanFocus = true; + this.ajtBut.Name = "ajtBut"; + this.ajtBut.UseUnderline = true; + // Container child ajtBut.Gtk.Container+ContainerChild + global::Gtk.Alignment w4 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w5 = new global::Gtk.HBox (); + w5.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w6 = new global::Gtk.Image (); + w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Menu); + w5.Add (w6); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w8 = new global::Gtk.Label (); + w8.LabelProp = global::Mono.Unix.Catalog.GetString ("Ajouter"); + w8.UseUnderline = true; + w5.Add (w8); + w4.Add (w5); + this.ajtBut.Add (w4); + this.vbuttonbox1.Add (this.ajtBut); + global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.ajtBut])); + w12.Expand = false; + w12.Fill = false; + // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild + this.supBt = new global::Gtk.Button (); + this.supBt.CanFocus = true; + this.supBt.Name = "supBt"; + this.supBt.UseUnderline = true; + // Container child supBt.Gtk.Container+ContainerChild + global::Gtk.Alignment w13 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w14 = new global::Gtk.HBox (); + w14.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w15 = new global::Gtk.Image (); + w15.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Menu); + w14.Add (w15); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w17 = new global::Gtk.Label (); + w17.LabelProp = global::Mono.Unix.Catalog.GetString ("Enlever"); + w17.UseUnderline = true; + w14.Add (w17); + w13.Add (w14); + this.supBt.Add (w13); + this.vbuttonbox1.Add (this.supBt); + global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.supBt])); + w21.Position = 1; + w21.Expand = false; + w21.Fill = false; + // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild + this.supToutBut = new global::Gtk.Button (); + this.supToutBut.CanFocus = true; + this.supToutBut.Name = "supToutBut"; + this.supToutBut.UseUnderline = true; + // Container child supToutBut.Gtk.Container+ContainerChild + global::Gtk.Alignment w22 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w23 = new global::Gtk.HBox (); + w23.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w24 = new global::Gtk.Image (); + w24.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Menu); + w23.Add (w24); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w26 = new global::Gtk.Label (); + w26.LabelProp = global::Mono.Unix.Catalog.GetString ("Tout Enlever"); + w26.UseUnderline = true; + w23.Add (w26); + w22.Add (w23); + this.supToutBut.Add (w22); + this.vbuttonbox1.Add (this.supToutBut); + global::Gtk.ButtonBox.ButtonBoxChild w30 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.supToutBut])); + w30.Position = 2; + w30.Expand = false; + w30.Fill = false; + // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild + this.button90 = new global::Gtk.Button (); + this.button90.Sensitive = false; + this.button90.CanFocus = true; + this.button90.Name = "button90"; + this.button90.UseUnderline = true; + this.button90.Relief = ((global::Gtk.ReliefStyle)(2)); + this.button90.Label = ""; + this.vbuttonbox1.Add (this.button90); + global::Gtk.ButtonBox.ButtonBoxChild w31 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.button90])); + w31.Position = 3; + w31.Expand = false; + w31.Fill = false; + // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild + this.mvHautBt = new global::Gtk.Button (); + this.mvHautBt.CanFocus = true; + this.mvHautBt.Name = "mvHautBt"; + this.mvHautBt.UseUnderline = true; + // Container child mvHautBt.Gtk.Container+ContainerChild + global::Gtk.Alignment w32 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w33 = new global::Gtk.HBox (); + w33.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w34 = new global::Gtk.Image (); + w34.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-up", global::Gtk.IconSize.Menu); + w33.Add (w34); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w36 = new global::Gtk.Label (); + w36.LabelProp = global::Mono.Unix.Catalog.GetString ("Monter"); + w36.UseUnderline = true; + w33.Add (w36); + w32.Add (w33); + this.mvHautBt.Add (w32); + this.vbuttonbox1.Add (this.mvHautBt); + global::Gtk.ButtonBox.ButtonBoxChild w40 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.mvHautBt])); + w40.Position = 4; + w40.Expand = false; + w40.Fill = false; + // Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild + this.mvBasBt = new global::Gtk.Button (); + this.mvBasBt.CanFocus = true; + this.mvBasBt.Name = "mvBasBt"; + this.mvBasBt.UseUnderline = true; + // Container child mvBasBt.Gtk.Container+ContainerChild + global::Gtk.Alignment w41 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); + // Container child GtkAlignment.Gtk.Container+ContainerChild + global::Gtk.HBox w42 = new global::Gtk.HBox (); + w42.Spacing = 2; + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Image w43 = new global::Gtk.Image (); + w43.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-down", global::Gtk.IconSize.Menu); + w42.Add (w43); + // Container child GtkHBox.Gtk.Container+ContainerChild + global::Gtk.Label w45 = new global::Gtk.Label (); + w45.LabelProp = global::Mono.Unix.Catalog.GetString ("Descendre"); + w45.UseUnderline = true; + w42.Add (w45); + w41.Add (w42); + this.mvBasBt.Add (w41); + this.vbuttonbox1.Add (this.mvBasBt); + global::Gtk.ButtonBox.ButtonBoxChild w49 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.mvBasBt])); + w49.Position = 5; + w49.Expand = false; + w49.Fill = false; + this.hbox1.Add (this.vbuttonbox1); + global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbuttonbox1])); + w50.Position = 1; + w50.Expand = false; + w50.Fill = false; + // Container child hbox1.Gtk.Box+BoxChild + this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); + this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; + this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); + // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild + this.listeSelCircuits = new global::Gtk.TreeView (); + this.listeSelCircuits.CanFocus = true; + this.listeSelCircuits.Name = "listeSelCircuits"; + this.GtkScrolledWindow1.Add (this.listeSelCircuits); + this.hbox1.Add (this.GtkScrolledWindow1); + global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow1])); + w52.Position = 2; + w1.Add (this.hbox1); + global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); + w53.Position = 0; + // Internal child DMX2.SelSeqCircuits.ActionArea + global::Gtk.HButtonBox w54 = this.ActionArea; + w54.Name = "dialog1_ActionArea"; + w54.Spacing = 10; + w54.BorderWidth = ((uint)(5)); + w54.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); + // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild + this.buttonCancel = new global::Gtk.Button (); + this.buttonCancel.CanDefault = true; + this.buttonCancel.CanFocus = true; + this.buttonCancel.Name = "buttonCancel"; + this.buttonCancel.UseStock = true; + this.buttonCancel.UseUnderline = true; + this.buttonCancel.Label = "gtk-cancel"; + this.AddActionWidget (this.buttonCancel, -6); + global::Gtk.ButtonBox.ButtonBoxChild w55 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w54 [this.buttonCancel])); + w55.Expand = false; + w55.Fill = false; + // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild + this.buttonOk = new global::Gtk.Button (); + this.buttonOk.CanDefault = true; + this.buttonOk.CanFocus = true; + this.buttonOk.Name = "buttonOk"; + this.buttonOk.UseStock = true; + this.buttonOk.UseUnderline = true; + this.buttonOk.Label = "gtk-ok"; + this.AddActionWidget (this.buttonOk, -5); + global::Gtk.ButtonBox.ButtonBoxChild w56 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w54 [this.buttonOk])); + w56.Position = 1; + w56.Expand = false; + w56.Fill = false; + if ((this.Child != null)) { + this.Child.ShowAll (); + } + this.DefaultWidth = 740; + this.DefaultHeight = 587; + this.Hide (); + this.ajtBut.Clicked += new global::System.EventHandler (this.OnAjtButClicked); + this.supBt.Clicked += new global::System.EventHandler (this.OnSupBtClicked); + this.supToutBut.Clicked += new global::System.EventHandler (this.OnSupToutButClicked); + this.mvHautBt.Clicked += new global::System.EventHandler (this.OnMvHautBtClicked); + this.mvBasBt.Clicked += new global::System.EventHandler (this.OnMvBasBtClicked); + } + } +} diff --git a/DMX-2.0/gtk-gui/DMX2.SeqLinUI.cs b/DMX-2.0/gtk-gui/DMX2.SeqLinUI.cs new file mode 100644 index 0000000..17f8cb6 --- /dev/null +++ b/DMX-2.0/gtk-gui/DMX2.SeqLinUI.cs @@ -0,0 +1,214 @@ + +// This file has been generated by the GUI designer. Do not modify. +namespace DMX2 +{ + public partial class SeqLinUI + { + private global::Gtk.UIManager UIManager; + private global::Gtk.Action goBackAction; + private global::Gtk.Action goForwardAction; + private global::Gtk.Action applyAction; + private global::Gtk.Action mediaPauseAction; + private global::Gtk.Action mediaNextAction; + private global::Gtk.Action saveAction; + private global::Gtk.Action saveAfterAction; + private global::Gtk.Action deleteAction; + private global::Gtk.Action moveUpAction; + private global::Gtk.Action moveDownAction; + private global::Gtk.Action circuitsAction; + private global::Gtk.Action closeAction; + private global::Gtk.Frame frame1; + private global::Gtk.Alignment GtkAlignment; + private global::Gtk.VBox vbox2; + private global::Gtk.HBox hbox1; + private global::Gtk.VBox vbox4; + private global::Gtk.Label timeLabel; + private global::Gtk.ProgressBar pbTrans; + private global::Gtk.ProgressBar pbDuree; + private global::Gtk.Toolbar toolbar1; + private global::Gtk.Toolbar toolbar2; + private global::Gtk.ScrolledWindow GtkScrolledWindow; + private global::Gtk.TreeView effetsListe; + private global::Gtk.Toolbar toolbar3; + private global::Gtk.Fixed zoneWid; + private global::Gtk.Label titreLabel; + + protected virtual void Build () + { + global::Stetic.Gui.Initialize (this); + // Widget DMX2.SeqLinUI + Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); + this.UIManager = new global::Gtk.UIManager (); + global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); + this.goBackAction = new global::Gtk.Action ("goBackAction", null, null, "gtk-go-back"); + w2.Add (this.goBackAction, null); + this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward"); + w2.Add (this.goForwardAction, null); + this.applyAction = new global::Gtk.Action ("applyAction", null, global::Mono.Unix.Catalog.GetString ("Ecrase l'effet selectionné."), "gtk-apply"); + w2.Add (this.applyAction, null); + this.mediaPauseAction = new global::Gtk.Action ("mediaPauseAction", null, null, "gtk-media-pause"); + w2.Add (this.mediaPauseAction, null); + this.mediaNextAction = new global::Gtk.Action ("mediaNextAction", null, null, "gtk-media-next"); + w2.Add (this.mediaNextAction, null); + this.saveAction = new global::Gtk.Action ("saveAction", null, global::Mono.Unix.Catalog.GetString ("Enregistre l'effet à la fin."), "gtk-save"); + w2.Add (this.saveAction, null); + this.saveAfterAction = new global::Gtk.Action ("saveAfterAction", null, global::Mono.Unix.Catalog.GetString ("Insère un effet sous celui selectionné."), "gtk-save-as"); + w2.Add (this.saveAfterAction, null); + this.deleteAction = new global::Gtk.Action ("deleteAction", null, global::Mono.Unix.Catalog.GetString ("Supprime l'effet selectionné."), "gtk-delete"); + w2.Add (this.deleteAction, null); + this.moveUpAction = new global::Gtk.Action ("moveUpAction", null, null, "gtk-go-up"); + w2.Add (this.moveUpAction, null); + this.moveDownAction = new global::Gtk.Action ("moveDownAction", null, null, "gtk-go-down"); + w2.Add (this.moveDownAction, null); + this.circuitsAction = new global::Gtk.Action ("circuitsAction", null, null, "circuits"); + w2.Add (this.circuitsAction, null); + this.closeAction = new global::Gtk.Action ("closeAction", null, null, "gtk-close"); + w2.Add (this.closeAction, null); + this.UIManager.InsertActionGroup (w2, 0); + this.Name = "DMX2.SeqLinUI"; + // Container child DMX2.SeqLinUI.Gtk.Container+ContainerChild + this.frame1 = new global::Gtk.Frame (); + this.frame1.Name = "frame1"; + this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); + // Container child frame1.Gtk.Container+ContainerChild + this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); + this.GtkAlignment.Name = "GtkAlignment"; + this.GtkAlignment.LeftPadding = ((uint)(12)); + // Container child GtkAlignment.Gtk.Container+ContainerChild + this.vbox2 = new global::Gtk.VBox (); + this.vbox2.Name = "vbox2"; + this.vbox2.Spacing = 6; + // Container child vbox2.Gtk.Box+BoxChild + this.hbox1 = new global::Gtk.HBox (); + this.hbox1.Name = "hbox1"; + this.hbox1.Spacing = 6; + // Container child hbox1.Gtk.Box+BoxChild + this.vbox4 = new global::Gtk.VBox (); + this.vbox4.Name = "vbox4"; + // Container child vbox4.Gtk.Box+BoxChild + this.timeLabel = new global::Gtk.Label (); + this.timeLabel.HeightRequest = 33; + this.timeLabel.Name = "timeLabel"; + this.timeLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("0.00"); + this.timeLabel.UseMarkup = true; + this.vbox4.Add (this.timeLabel); + global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.timeLabel])); + w3.Position = 0; + w3.Expand = false; + w3.Fill = false; + // Container child vbox4.Gtk.Box+BoxChild + this.pbTrans = new global::Gtk.ProgressBar (); + this.pbTrans.HeightRequest = 15; + this.pbTrans.Name = "pbTrans"; + this.vbox4.Add (this.pbTrans); + global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.pbTrans])); + w4.Position = 1; + w4.Expand = false; + w4.Fill = false; + // Container child vbox4.Gtk.Box+BoxChild + this.pbDuree = new global::Gtk.ProgressBar (); + this.pbDuree.HeightRequest = 15; + this.pbDuree.Name = "pbDuree"; + this.vbox4.Add (this.pbDuree); + global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.pbDuree])); + w5.Position = 2; + w5.Expand = false; + w5.Fill = false; + // Container child vbox4.Gtk.Box+BoxChild + this.UIManager.AddUiFromString (""); + this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); + this.toolbar1.Name = "toolbar1"; + this.toolbar1.ShowArrow = false; + this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); + this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); + this.vbox4.Add (this.toolbar1); + global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.toolbar1])); + w6.Position = 3; + w6.Expand = false; + w6.Fill = false; + // Container child vbox4.Gtk.Box+BoxChild + this.UIManager.AddUiFromString (""); + this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar2"))); + this.toolbar2.Name = "toolbar2"; + this.toolbar2.ShowArrow = false; + this.toolbar2.IconSize = ((global::Gtk.IconSize)(2)); + this.vbox4.Add (this.toolbar2); + global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.toolbar2])); + w7.Position = 4; + w7.Expand = false; + w7.Fill = false; + this.hbox1.Add (this.vbox4); + global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4])); + w8.Position = 0; + w8.Expand = false; + w8.Fill = false; + // Container child hbox1.Gtk.Box+BoxChild + this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); + this.GtkScrolledWindow.Name = "GtkScrolledWindow"; + this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); + this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); + // Container child GtkScrolledWindow.Gtk.Container+ContainerChild + this.effetsListe = new global::Gtk.TreeView (); + this.effetsListe.CanFocus = true; + this.effetsListe.Name = "effetsListe"; + this.GtkScrolledWindow.Add (this.effetsListe); + this.hbox1.Add (this.GtkScrolledWindow); + global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow])); + w10.Position = 1; + // Container child hbox1.Gtk.Box+BoxChild + this.UIManager.AddUiFromString (""); + this.toolbar3 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar3"))); + this.toolbar3.Name = "toolbar3"; + this.toolbar3.Orientation = ((global::Gtk.Orientation)(1)); + this.toolbar3.ShowArrow = false; + this.toolbar3.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); + this.toolbar3.IconSize = ((global::Gtk.IconSize)(2)); + this.hbox1.Add (this.toolbar3); + global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar3])); + w11.Position = 2; + w11.Expand = false; + w11.Fill = false; + this.vbox2.Add (this.hbox1); + global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); + w12.Position = 0; + w12.Expand = false; + w12.Fill = false; + // Container child vbox2.Gtk.Box+BoxChild + this.zoneWid = new global::Gtk.Fixed (); + this.zoneWid.HeightRequest = 0; + this.zoneWid.Name = "zoneWid"; + this.zoneWid.HasWindow = false; + this.vbox2.Add (this.zoneWid); + global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.zoneWid])); + w13.Position = 1; + w13.Expand = false; + w13.Fill = false; + this.GtkAlignment.Add (this.vbox2); + this.frame1.Add (this.GtkAlignment); + this.titreLabel = new global::Gtk.Label (); + this.titreLabel.Name = "titreLabel"; + this.titreLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Sequenceur Lineaire"); + this.titreLabel.UseMarkup = true; + this.frame1.LabelWidget = this.titreLabel; + this.Add (this.frame1); + if ((this.Child != null)) { + this.Child.ShowAll (); + } + w1.SetUiManager (UIManager); + this.Show (); + this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackActionActivated); + this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForwardActionActivated); + this.applyAction.Activated += new global::System.EventHandler (this.OnApplyActionActivated); + this.mediaPauseAction.Activated += new global::System.EventHandler (this.OnMediaPauseActionActivated); + this.mediaNextAction.Activated += new global::System.EventHandler (this.OnMediaNextActionActivated); + this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); + this.saveAfterAction.Activated += new global::System.EventHandler (this.OnSaveAfterActionActivated); + this.deleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated); + this.moveUpAction.Activated += new global::System.EventHandler (this.OnMoveUpActionActivated); + this.moveDownAction.Activated += new global::System.EventHandler (this.OnMoveDownActionActivated); + this.circuitsAction.Activated += new global::System.EventHandler (this.OnCircuitsActionActivated); + this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); + this.zoneWid.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnZoneWidSizeAllocated); + } + } +} diff --git a/DMX-2.0/gtk-gui/generated.cs b/DMX-2.0/gtk-gui/generated.cs new file mode 100644 index 0000000..0c027d9 --- /dev/null +++ b/DMX-2.0/gtk-gui/generated.cs @@ -0,0 +1,181 @@ + +// 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 IconLoader + { + public static Gdk.Pixbuf LoadIcon (Gtk.Widget widget, string name, Gtk.IconSize size) + { + Gdk.Pixbuf res = widget.RenderIcon (name, size, null); + if ((res != null)) { + return res; + } else { + int sz; + int sy; + global::Gtk.Icon.SizeLookup (size, out sz, out sy); + try { + return Gtk.IconTheme.Default.LoadIcon (name, sz, 0); + } catch (System.Exception) { + if ((name != "gtk-missing-image")) { + return Stetic.IconLoader.LoadIcon (widget, "gtk-missing-image", size); + } else { + Gdk.Pixmap pmap = new Gdk.Pixmap (Gdk.Screen.Default.RootWindow, sz, sz); + Gdk.GC gc = new Gdk.GC (pmap); + gc.RgbFgColor = new Gdk.Color (255, 255, 255); + pmap.DrawRectangle (gc, true, 0, 0, sz, sz); + gc.RgbFgColor = new Gdk.Color (0, 0, 0); + pmap.DrawRectangle (gc, false, 0, 0, (sz - 1), (sz - 1)); + gc.SetLineAttributes (3, Gdk.LineStyle.Solid, Gdk.CapStyle.Round, Gdk.JoinStyle.Round); + gc.RgbFgColor = new Gdk.Color (255, 0, 0); + pmap.DrawLine (gc, (sz / 4), (sz / 4), ((sz - 1) - (sz / 4)), ((sz - 1) - (sz / 4))); + pmap.DrawLine (gc, ((sz - 1) - (sz / 4)), (sz / 4), (sz / 4), ((sz - 1) - (sz / 4))); + return Gdk.Pixbuf.FromDrawable (pmap, pmap.Colormap, 0, 0, 0, 0, sz, sz); + } + } + } + } + } + + 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; + } + } +}