diff --git a/DMX-2.0/EditionUnivers.cs b/DMX-2.0/EditionUnivers.cs index 490ef41..fd1685b 100644 --- a/DMX-2.0/EditionUnivers.cs +++ b/DMX-2.0/EditionUnivers.cs @@ -13,41 +13,12 @@ namespace DMX2 ConstruitListe(); } - ListStore lsGrada; - ListStore lsCircuits; void ConstruitListe () { - var cellNum = new CellRendererText(); - var cellCircuit = new CellRendererCombo(); - var cellAllume = new CellRendererToggle(); - - lsGrada = new ListStore(typeof(UniversDMX.Grada)); - lsCircuits = new ListStore(typeof(Circuit)); - - listeGradas.AppendColumn("N°",cellNum); - var colCircuit = listeGradas.AppendColumn("Circuit Associé",cellCircuit); - listeGradas.AppendColumn("Allume",cellAllume); - - listeGradas.Model = lsGrada; - - cellCircuit.Model = lsCircuits; - cellCircuit.Editable = true; - colCircuit.SetCellDataFunc(cellCircuit, new TreeCellDataFunc(SetCellCircuitData)); - cellCircuit.EditingStarted += CellCircuitData; } - void CellCircuitData (object o, EditingStartedArgs args) - { - } - - void SetCellCircuitData (TreeViewColumn tree_column, CellRenderer cell, TreeModel tree_model, TreeIter iter) - { - - } - - } } diff --git a/DMX-2.0/MainWindow.cs b/DMX-2.0/MainWindow.cs index c7d6342..4eef422 100644 --- a/DMX-2.0/MainWindow.cs +++ b/DMX-2.0/MainWindow.cs @@ -34,7 +34,7 @@ namespace DMX2 this.Title = "DMX 2.0"; } } - + protected void MajCircuits (bool full) { diff --git a/DMX-2.0/gtk-gui/gui.stetic b/DMX-2.0/gtk-gui/gui.stetic index 1b16778..4515355 100644 --- a/DMX-2.0/gtk-gui/gui.stetic +++ b/DMX-2.0/gtk-gui/gui.stetic @@ -1056,34 +1056,10 @@ 6 - - - True - TextOnly - 1 Circuit = 1 Grada - True - - - 0 - True - False - False - + - - - True - TextOnly - Tout Réinitialiser - True - - - 1 - True - False - False - + @@ -1092,26 +1068,10 @@ 0 True - False - False - - - In - - - - True - True - - - - - 1 - True - +