This commit is contained in:
parent
c00e42310d
commit
6468c288dd
8 changed files with 748 additions and 6 deletions
|
|
@ -163,6 +163,9 @@
|
|||
<Compile Include="AlsaSeqLib.Wrappers.cs" />
|
||||
<Compile Include="GestionMidiUI.cs" />
|
||||
<Compile Include="gtk-gui\DMX2.GestionMidiUI.cs" />
|
||||
<Compile Include="SequenceurSon.cs" />
|
||||
<Compile Include="SeqSonUI.cs" />
|
||||
<Compile Include="gtk-gui\DMX2.SeqSonUI.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ProjectExtensions>
|
||||
|
|
|
|||
|
|
@ -541,6 +541,14 @@ namespace DMX2
|
|||
NextUpdateFull();
|
||||
}
|
||||
|
||||
protected void OnSeqSonActionActivated (object sender, EventArgs e)
|
||||
{
|
||||
Sequenceur s = new SequenceurSon();
|
||||
Conduite.Courante.AjoutSequenceur(s);
|
||||
AddSeqUI(s);
|
||||
NextUpdateFull();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Gestion de l'affichage
|
||||
|
|
@ -592,7 +600,7 @@ namespace DMX2
|
|||
btnAjoutLigne.Sensitive = btnRetireLigne.Sensitive = btnGo.Sensitive = btnGoBack.Sensitive =
|
||||
showAllAction.Sensitive = universAction.Sensitive = masterScale.Sensitive =
|
||||
seqLinAction.Sensitive = seqMacroAction.Sensitive = circAction.Sensitive = saveAction.Sensitive =
|
||||
btnPause.Sensitive = btnBlackOut.Sensitive =
|
||||
btnPause.Sensitive = btnBlackOut.Sensitive = seqSonAction.Sensitive =
|
||||
connectAction.Sensitive = midiAction.Sensitive =
|
||||
saveAsAction.Sensitive = closeAction.Sensitive = true;
|
||||
openAction.Sensitive = newAction.Sensitive = false;
|
||||
|
|
@ -604,7 +612,7 @@ namespace DMX2
|
|||
btnAjoutLigne.Sensitive = btnRetireLigne.Sensitive = btnGo.Sensitive = btnGoBack.Sensitive =
|
||||
showAllAction.Sensitive = universAction.Sensitive = masterScale.Sensitive =
|
||||
seqLinAction.Sensitive = seqMacroAction.Sensitive = circAction.Sensitive = saveAction.Sensitive =
|
||||
btnPause.Sensitive = btnBlackOut.Sensitive =
|
||||
btnPause.Sensitive = btnBlackOut.Sensitive = seqSonAction.Sensitive =
|
||||
connectAction.Sensitive = midiAction.Sensitive =
|
||||
saveAsAction.Sensitive = closeAction.Sensitive = false;
|
||||
openAction.Sensitive = newAction.Sensitive = true;
|
||||
|
|
@ -787,8 +795,5 @@ namespace DMX2
|
|||
mDlg= null;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
41
DMX-2.0/SeqSonUI.cs
Normal file
41
DMX-2.0/SeqSonUI.cs
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
|
||||
Copyright (C) Arnaud Houdelette 2012-2014
|
||||
Copyright (C) Emmanuel Langlois 2012-2014
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Gtk;
|
||||
|
||||
namespace DMX2
|
||||
{
|
||||
[System.ComponentModel.ToolboxItem(true)]
|
||||
public partial class SeqSonUI : SequenceurUI
|
||||
{
|
||||
public SeqSonUI (SequenceurSon s):base(s)
|
||||
{
|
||||
this.Build ();
|
||||
}
|
||||
#region implemented abstract members of DMX2.SequenceurUI
|
||||
public override void Update (bool full)
|
||||
{
|
||||
//throw new System.NotImplementedException ();
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
74
DMX-2.0/SequenceurSon.cs
Normal file
74
DMX-2.0/SequenceurSon.cs
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
/*
|
||||
|
||||
Copyright (C) Arnaud Houdelette 2012-2014
|
||||
Copyright (C) Emmanuel Langlois 2012-2014
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
|
||||
namespace DMX2
|
||||
{
|
||||
public class SequenceurSon : Sequenceur
|
||||
{
|
||||
|
||||
SeqSonUI ui=null;
|
||||
|
||||
public SequenceurSon ()
|
||||
{
|
||||
}
|
||||
#region implemented abstract members of DMX2.Sequenceur
|
||||
public override SequenceurUI GetUI ()
|
||||
{
|
||||
|
||||
if (ui == null) {
|
||||
ui = new SeqSonUI (this);
|
||||
ui.Destroyed += UiDestroyed;
|
||||
}
|
||||
|
||||
return ui;
|
||||
}
|
||||
|
||||
void UiDestroyed (object sender, EventArgs e)
|
||||
{
|
||||
//throw new NotImplementedException ();
|
||||
}
|
||||
public override int ValeurCircuit (Circuit c)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
public override void Tick (TimeSpan time)
|
||||
{
|
||||
//throw new System.NotImplementedException ();
|
||||
}
|
||||
|
||||
public override void Save (System.Xml.XmlElement parent)
|
||||
{
|
||||
//throw new System.NotImplementedException ();
|
||||
}
|
||||
|
||||
public override void Command (string command)
|
||||
{
|
||||
//throw new System.NotImplementedException ();
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -27,6 +27,7 @@ namespace DMX2
|
|||
private global::Gtk.Action midiAction;
|
||||
private global::Gtk.Action connectAction1;
|
||||
private global::Gtk.Action selectColorAction1;
|
||||
private global::Gtk.Action seqSonAction;
|
||||
private global::Gtk.VBox vbox1;
|
||||
private global::Gtk.HBox hbox1;
|
||||
private global::Gtk.VBox vbox2;
|
||||
|
|
@ -126,6 +127,9 @@ namespace DMX2
|
|||
w1.Add (this.connectAction1, null);
|
||||
this.selectColorAction1 = new global::Gtk.Action ("selectColorAction1", null, null, "gtk-select-color");
|
||||
w1.Add (this.selectColorAction1, null);
|
||||
this.seqSonAction = new global::Gtk.Action ("seqSonAction", null, null, "gtk-cdrom");
|
||||
this.seqSonAction.Sensitive = false;
|
||||
w1.Add (this.seqSonAction, null);
|
||||
this.UIManager.InsertActionGroup (w1, 0);
|
||||
this.AddAccelGroup (this.UIManager.AccelGroup);
|
||||
this.Name = "DMX2.MainWindow";
|
||||
|
|
@ -434,7 +438,7 @@ namespace DMX2
|
|||
this.hbox4.Name = "hbox4";
|
||||
this.hbox4.Spacing = 6;
|
||||
// Container child hbox4.Gtk.Box+BoxChild
|
||||
this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar7'><toolitem name='circAction' action='circAction'/><toolitem name='seqLinAction' action='seqLinAction'/><toolitem name='seqMacroAction' action='seqMacroAction'/><separator/><toolitem name='showAllAction' action='showAllAction'/><toolitem name='fullscreenAction1' action='fullscreenAction1'/><toolitem name='universAction' action='universAction'/><toolitem name='midiAction' action='midiAction'/><toolitem name='connectAction' action='connectAction'/></toolbar></ui>");
|
||||
this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar7'><toolitem name='circAction' action='circAction'/><toolitem name='seqLinAction' action='seqLinAction'/><toolitem name='seqMacroAction' action='seqMacroAction'/><toolitem name='seqSonAction' action='seqSonAction'/><separator/><toolitem name='showAllAction' action='showAllAction'/><toolitem name='fullscreenAction1' action='fullscreenAction1'/><toolitem name='universAction' action='universAction'/><toolitem name='midiAction' action='midiAction'/><toolitem name='connectAction' action='connectAction'/></toolbar></ui>");
|
||||
this.toolbar7 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar7")));
|
||||
this.toolbar7.Name = "toolbar7";
|
||||
this.toolbar7.ShowArrow = false;
|
||||
|
|
@ -495,6 +499,7 @@ namespace DMX2
|
|||
this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated);
|
||||
this.midiAction.Activated += new global::System.EventHandler (this.OnMidiActionActivated);
|
||||
this.selectColorAction1.Activated += new global::System.EventHandler (this.OnSelectColorActionActivated);
|
||||
this.seqSonAction.Activated += new global::System.EventHandler (this.OnSeqSonActionActivated);
|
||||
this.btnGo.Clicked += new global::System.EventHandler (this.OnBtnGoClicked);
|
||||
this.btnGoBack.Clicked += new global::System.EventHandler (this.OnBtnGoBackClicked);
|
||||
this.btnAjoutLigne.Clicked += new global::System.EventHandler (this.OnBtnAjoutLigneClicked);
|
||||
|
|
|
|||
|
|
@ -196,6 +196,8 @@ namespace DMX2
|
|||
this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar")));
|
||||
this.toolbar.Name = "toolbar";
|
||||
this.toolbar.ShowArrow = false;
|
||||
this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
|
||||
this.toolbar.IconSize = ((global::Gtk.IconSize)(2));
|
||||
this.vbox3.Add (this.toolbar);
|
||||
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar]));
|
||||
w20.Position = 3;
|
||||
|
|
|
|||
272
DMX-2.0/gtk-gui/DMX2.SeqSonUI.cs
Normal file
272
DMX-2.0/gtk-gui/DMX2.SeqSonUI.cs
Normal file
|
|
@ -0,0 +1,272 @@
|
|||
|
||||
// This file has been generated by the GUI designer. Do not modify.
|
||||
namespace DMX2
|
||||
{
|
||||
public partial class SeqSonUI
|
||||
{
|
||||
private global::Gtk.UIManager UIManager;
|
||||
private global::Gtk.Action closeAction;
|
||||
private global::Gtk.Action mediaPlayAction;
|
||||
private global::Gtk.Action mediaPauseAction;
|
||||
private global::Gtk.Action mediaStopAction;
|
||||
private global::Gtk.Action mediaPreviousAction;
|
||||
private global::Gtk.Action mediaRewindAction;
|
||||
private global::Gtk.Action mediaForwardAction;
|
||||
private global::Gtk.Action mediaNextAction;
|
||||
private global::Gtk.Action addAction;
|
||||
private global::Gtk.Action removeAction;
|
||||
private global::Gtk.Action preferencesAction;
|
||||
private global::Gtk.Action closeAction1;
|
||||
private global::Gtk.Action preferencesAction1;
|
||||
private global::Gtk.Frame frame1;
|
||||
private global::Gtk.Alignment GtkAlignment;
|
||||
private global::Gtk.VBox vbox2;
|
||||
private global::Gtk.HBox hbox1;
|
||||
private global::Gtk.VBox vbox3;
|
||||
private global::Gtk.EventBox evBBox;
|
||||
private global::Gtk.HBox hbox2;
|
||||
private global::Gtk.Label posLabel;
|
||||
private global::Gtk.Label actLabel;
|
||||
private global::Gtk.Label timeLabel;
|
||||
private global::Gtk.ProgressBar progressbar1;
|
||||
private global::Gtk.Toolbar toolbar2;
|
||||
private global::Gtk.HBox hbox4;
|
||||
private global::Gtk.Toolbar toolbar3;
|
||||
private global::Gtk.Entry entry1;
|
||||
private global::Gtk.Button button133;
|
||||
private global::Gtk.VScale vscale1;
|
||||
private global::Gtk.Toolbar toolbar4;
|
||||
private global::Gtk.ScrolledWindow GtkScrolledWindow;
|
||||
private global::Gtk.NodeView nodeview1;
|
||||
private global::Gtk.Label GtkLabel3;
|
||||
|
||||
protected virtual void Build ()
|
||||
{
|
||||
global::Stetic.Gui.Initialize (this);
|
||||
// Widget DMX2.SeqSonUI
|
||||
Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
|
||||
this.UIManager = new global::Gtk.UIManager ();
|
||||
global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
|
||||
this.closeAction = new global::Gtk.Action ("closeAction", null, null, "gtk-close");
|
||||
w2.Add (this.closeAction, null);
|
||||
this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", null, null, "gtk-media-play");
|
||||
w2.Add (this.mediaPlayAction, null);
|
||||
this.mediaPauseAction = new global::Gtk.Action ("mediaPauseAction", null, null, "gtk-media-pause");
|
||||
w2.Add (this.mediaPauseAction, null);
|
||||
this.mediaStopAction = new global::Gtk.Action ("mediaStopAction", null, null, "gtk-media-stop");
|
||||
w2.Add (this.mediaStopAction, null);
|
||||
this.mediaPreviousAction = new global::Gtk.Action ("mediaPreviousAction", null, null, "gtk-media-previous");
|
||||
w2.Add (this.mediaPreviousAction, null);
|
||||
this.mediaRewindAction = new global::Gtk.Action ("mediaRewindAction", null, null, "gtk-media-rewind");
|
||||
w2.Add (this.mediaRewindAction, null);
|
||||
this.mediaForwardAction = new global::Gtk.Action ("mediaForwardAction", null, null, "gtk-media-forward");
|
||||
w2.Add (this.mediaForwardAction, null);
|
||||
this.mediaNextAction = new global::Gtk.Action ("mediaNextAction", null, null, "gtk-media-next");
|
||||
w2.Add (this.mediaNextAction, null);
|
||||
this.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add");
|
||||
w2.Add (this.addAction, null);
|
||||
this.removeAction = new global::Gtk.Action ("removeAction", null, null, "gtk-remove");
|
||||
w2.Add (this.removeAction, null);
|
||||
this.preferencesAction = new global::Gtk.Action ("preferencesAction", null, null, "gtk-preferences");
|
||||
w2.Add (this.preferencesAction, null);
|
||||
this.closeAction1 = new global::Gtk.Action ("closeAction1", null, null, "gtk-close");
|
||||
w2.Add (this.closeAction1, null);
|
||||
this.preferencesAction1 = new global::Gtk.Action ("preferencesAction1", null, null, "gtk-preferences");
|
||||
w2.Add (this.preferencesAction1, null);
|
||||
this.UIManager.InsertActionGroup (w2, 0);
|
||||
this.Name = "DMX2.SeqSonUI";
|
||||
// Container child DMX2.SeqSonUI.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.vbox3 = new global::Gtk.VBox ();
|
||||
this.vbox3.Name = "vbox3";
|
||||
this.vbox3.Spacing = 6;
|
||||
// Container child vbox3.Gtk.Box+BoxChild
|
||||
this.evBBox = new global::Gtk.EventBox ();
|
||||
this.evBBox.Name = "evBBox";
|
||||
// Container child evBBox.Gtk.Container+ContainerChild
|
||||
this.hbox2 = new global::Gtk.HBox ();
|
||||
this.hbox2.WidthRequest = 300;
|
||||
this.hbox2.Name = "hbox2";
|
||||
this.hbox2.Spacing = 6;
|
||||
// Container child hbox2.Gtk.Box+BoxChild
|
||||
this.posLabel = new global::Gtk.Label ();
|
||||
this.posLabel.HeightRequest = 33;
|
||||
this.posLabel.Name = "posLabel";
|
||||
this.posLabel.Xpad = 15;
|
||||
this.posLabel.Xalign = 0F;
|
||||
this.posLabel.LabelProp = "<big>n° 0</big>";
|
||||
this.posLabel.UseMarkup = true;
|
||||
this.hbox2.Add (this.posLabel);
|
||||
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.posLabel]));
|
||||
w3.Position = 0;
|
||||
w3.Expand = false;
|
||||
w3.Fill = false;
|
||||
// Container child hbox2.Gtk.Box+BoxChild
|
||||
this.actLabel = new global::Gtk.Label ();
|
||||
this.actLabel.Name = "actLabel";
|
||||
this.actLabel.UseMarkup = true;
|
||||
this.actLabel.Wrap = true;
|
||||
this.hbox2.Add (this.actLabel);
|
||||
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.actLabel]));
|
||||
w4.Position = 1;
|
||||
w4.Fill = false;
|
||||
// Container child hbox2.Gtk.Box+BoxChild
|
||||
this.timeLabel = new global::Gtk.Label ();
|
||||
this.timeLabel.HeightRequest = 33;
|
||||
this.timeLabel.Name = "timeLabel";
|
||||
this.timeLabel.Xpad = 15;
|
||||
this.timeLabel.LabelProp = "<big>00.0</big>";
|
||||
this.timeLabel.UseMarkup = true;
|
||||
this.hbox2.Add (this.timeLabel);
|
||||
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.timeLabel]));
|
||||
w5.PackType = ((global::Gtk.PackType)(1));
|
||||
w5.Position = 2;
|
||||
w5.Expand = false;
|
||||
w5.Fill = false;
|
||||
this.evBBox.Add (this.hbox2);
|
||||
this.vbox3.Add (this.evBBox);
|
||||
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.evBBox]));
|
||||
w7.Position = 0;
|
||||
w7.Expand = false;
|
||||
w7.Fill = false;
|
||||
// Container child vbox3.Gtk.Box+BoxChild
|
||||
this.progressbar1 = new global::Gtk.ProgressBar ();
|
||||
this.progressbar1.Name = "progressbar1";
|
||||
this.vbox3.Add (this.progressbar1);
|
||||
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.progressbar1]));
|
||||
w8.Position = 1;
|
||||
w8.Expand = false;
|
||||
w8.Fill = false;
|
||||
// Container child vbox3.Gtk.Box+BoxChild
|
||||
this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar2'><toolitem name='mediaPlayAction' action='mediaPlayAction'/><toolitem name='mediaPauseAction' action='mediaPauseAction'/><toolitem name='mediaStopAction' action='mediaStopAction'/><toolitem name='mediaPreviousAction' action='mediaPreviousAction'/><toolitem name='mediaRewindAction' action='mediaRewindAction'/><toolitem name='mediaForwardAction' action='mediaForwardAction'/><toolitem name='mediaNextAction' action='mediaNextAction'/></toolbar></ui>");
|
||||
this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar2")));
|
||||
this.toolbar2.Name = "toolbar2";
|
||||
this.toolbar2.ShowArrow = false;
|
||||
this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
|
||||
this.toolbar2.IconSize = ((global::Gtk.IconSize)(2));
|
||||
this.vbox3.Add (this.toolbar2);
|
||||
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar2]));
|
||||
w9.Position = 2;
|
||||
w9.Expand = false;
|
||||
w9.Fill = false;
|
||||
// Container child vbox3.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 ("<ui><toolbar name='toolbar3'><toolitem name='addAction' action='addAction'/><toolitem name='removeAction' action='removeAction'/></toolbar></ui>");
|
||||
this.toolbar3 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar3")));
|
||||
this.toolbar3.Name = "toolbar3";
|
||||
this.toolbar3.ShowArrow = false;
|
||||
this.toolbar3.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
|
||||
this.toolbar3.IconSize = ((global::Gtk.IconSize)(2));
|
||||
this.hbox4.Add (this.toolbar3);
|
||||
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.toolbar3]));
|
||||
w10.Position = 0;
|
||||
// Container child hbox4.Gtk.Box+BoxChild
|
||||
this.entry1 = new global::Gtk.Entry ();
|
||||
this.entry1.CanFocus = true;
|
||||
this.entry1.Name = "entry1";
|
||||
this.entry1.IsEditable = true;
|
||||
this.entry1.InvisibleChar = '•';
|
||||
this.hbox4.Add (this.entry1);
|
||||
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.entry1]));
|
||||
w11.Position = 1;
|
||||
// Container child hbox4.Gtk.Box+BoxChild
|
||||
this.button133 = new global::Gtk.Button ();
|
||||
this.button133.CanFocus = true;
|
||||
this.button133.Name = "button133";
|
||||
this.button133.UseUnderline = true;
|
||||
this.button133.Label = "GoTo";
|
||||
this.hbox4.Add (this.button133);
|
||||
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.button133]));
|
||||
w12.Position = 2;
|
||||
w12.Expand = false;
|
||||
w12.Fill = false;
|
||||
this.vbox3.Add (this.hbox4);
|
||||
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
|
||||
w13.Position = 3;
|
||||
w13.Expand = false;
|
||||
w13.Fill = false;
|
||||
this.hbox1.Add (this.vbox3);
|
||||
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
|
||||
w14.Position = 0;
|
||||
// Container child hbox1.Gtk.Box+BoxChild
|
||||
this.vscale1 = new global::Gtk.VScale (null);
|
||||
this.vscale1.WidthRequest = 20;
|
||||
this.vscale1.CanFocus = true;
|
||||
this.vscale1.Name = "vscale1";
|
||||
this.vscale1.Inverted = true;
|
||||
this.vscale1.Adjustment.Upper = 100;
|
||||
this.vscale1.Adjustment.PageIncrement = 10;
|
||||
this.vscale1.Adjustment.StepIncrement = 1;
|
||||
this.vscale1.Adjustment.Value = 100;
|
||||
this.vscale1.DrawValue = true;
|
||||
this.vscale1.Digits = 0;
|
||||
this.vscale1.ValuePos = ((global::Gtk.PositionType)(3));
|
||||
this.hbox1.Add (this.vscale1);
|
||||
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vscale1]));
|
||||
w15.Position = 1;
|
||||
w15.Expand = false;
|
||||
w15.Fill = false;
|
||||
// Container child hbox1.Gtk.Box+BoxChild
|
||||
this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar4'><toolitem name='closeAction1' action='closeAction1'/></toolbar></ui>");
|
||||
this.toolbar4 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar4")));
|
||||
this.toolbar4.Name = "toolbar4";
|
||||
this.toolbar4.Orientation = ((global::Gtk.Orientation)(1));
|
||||
this.toolbar4.ShowArrow = false;
|
||||
this.toolbar4.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
|
||||
this.toolbar4.IconSize = ((global::Gtk.IconSize)(2));
|
||||
this.hbox1.Add (this.toolbar4);
|
||||
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar4]));
|
||||
w16.Position = 2;
|
||||
w16.Expand = false;
|
||||
w16.Fill = false;
|
||||
this.vbox2.Add (this.hbox1);
|
||||
global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
|
||||
w17.Position = 0;
|
||||
w17.Expand = false;
|
||||
w17.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.nodeview1 = new global::Gtk.NodeView ();
|
||||
this.nodeview1.CanFocus = true;
|
||||
this.nodeview1.Name = "nodeview1";
|
||||
this.GtkScrolledWindow.Add (this.nodeview1);
|
||||
this.vbox2.Add (this.GtkScrolledWindow);
|
||||
global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow]));
|
||||
w19.Position = 1;
|
||||
this.GtkAlignment.Add (this.vbox2);
|
||||
this.frame1.Add (this.GtkAlignment);
|
||||
this.GtkLabel3 = new global::Gtk.Label ();
|
||||
this.GtkLabel3.Name = "GtkLabel3";
|
||||
this.GtkLabel3.LabelProp = "Sequenceur Son";
|
||||
this.GtkLabel3.UseMarkup = true;
|
||||
this.frame1.LabelWidget = this.GtkLabel3;
|
||||
this.Add (this.frame1);
|
||||
if ((this.Child != null)) {
|
||||
this.Child.ShowAll ();
|
||||
}
|
||||
w1.SetUiManager (UIManager);
|
||||
this.Hide ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -221,6 +221,13 @@
|
|||
<property name="StockId">gtk-select-color</property>
|
||||
<signal name="Activated" handler="OnSelectColorActionActivated" />
|
||||
</action>
|
||||
<action id="seqSonAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="Sensitive">False</property>
|
||||
<property name="StockId">gtk-cdrom</property>
|
||||
<signal name="Activated" handler="OnSeqSonActionActivated" />
|
||||
</action>
|
||||
</action-group>
|
||||
<property name="MemberName" />
|
||||
<property name="Title" translatable="yes">MainWindow</property>
|
||||
|
|
@ -548,6 +555,7 @@ page</property>
|
|||
<node type="Toolitem" action="circAction" />
|
||||
<node type="Toolitem" action="seqLinAction" />
|
||||
<node type="Toolitem" action="seqMacroAction" />
|
||||
<node type="Toolitem" action="seqSonAction" />
|
||||
<node type="Separator" />
|
||||
<node type="Toolitem" action="showAllAction" />
|
||||
<node type="Toolitem" action="fullscreenAction1" />
|
||||
|
|
@ -1845,6 +1853,8 @@ au sequenceur</property>
|
|||
<widget class="Gtk.Toolbar" id="toolbar">
|
||||
<property name="MemberName" />
|
||||
<property name="ShowArrow">False</property>
|
||||
<property name="ButtonStyle">Icons</property>
|
||||
<property name="IconSize">SmallToolbar</property>
|
||||
<node name="toolbar" type="Toolbar">
|
||||
<node type="Toolitem" action="goForwardAction" />
|
||||
<node type="Toolitem" action="goBackAction" />
|
||||
|
|
@ -3522,4 +3532,334 @@ trames DMX (ms)</property>
|
|||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<widget class="Gtk.Bin" id="DMX2.SeqSonUI" design-size="820 344">
|
||||
<action-group name="Default">
|
||||
<action id="closeAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-close</property>
|
||||
</action>
|
||||
<action id="mediaPlayAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-media-play</property>
|
||||
</action>
|
||||
<action id="mediaPauseAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-media-pause</property>
|
||||
</action>
|
||||
<action id="mediaStopAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-media-stop</property>
|
||||
</action>
|
||||
<action id="mediaPreviousAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-media-previous</property>
|
||||
</action>
|
||||
<action id="mediaRewindAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-media-rewind</property>
|
||||
</action>
|
||||
<action id="mediaForwardAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-media-forward</property>
|
||||
</action>
|
||||
<action id="mediaNextAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-media-next</property>
|
||||
</action>
|
||||
<action id="addAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-add</property>
|
||||
</action>
|
||||
<action id="removeAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-remove</property>
|
||||
</action>
|
||||
<action id="preferencesAction">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-preferences</property>
|
||||
</action>
|
||||
<action id="closeAction1">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-close</property>
|
||||
</action>
|
||||
<action id="preferencesAction1">
|
||||
<property name="Type">Action</property>
|
||||
<property name="Label" translatable="yes" />
|
||||
<property name="StockId">gtk-preferences</property>
|
||||
</action>
|
||||
</action-group>
|
||||
<property name="MemberName" />
|
||||
<property name="Visible">False</property>
|
||||
<child>
|
||||
<widget class="Gtk.Frame" id="frame1">
|
||||
<property name="MemberName" />
|
||||
<property name="ShadowType">In</property>
|
||||
<child>
|
||||
<widget class="Gtk.Alignment" id="GtkAlignment">
|
||||
<property name="MemberName" />
|
||||
<property name="Xalign">0</property>
|
||||
<property name="Yalign">0</property>
|
||||
<property name="LeftPadding">12</property>
|
||||
<child>
|
||||
<widget class="Gtk.VBox" id="vbox2">
|
||||
<property name="MemberName" />
|
||||
<property name="Spacing">6</property>
|
||||
<child>
|
||||
<widget class="Gtk.HBox" id="hbox1">
|
||||
<property name="MemberName" />
|
||||
<property name="Spacing">6</property>
|
||||
<child>
|
||||
<widget class="Gtk.VBox" id="vbox3">
|
||||
<property name="MemberName" />
|
||||
<property name="Spacing">6</property>
|
||||
<child>
|
||||
<widget class="Gtk.EventBox" id="evBBox">
|
||||
<property name="MemberName" />
|
||||
<child>
|
||||
<widget class="Gtk.HBox" id="hbox2">
|
||||
<property name="MemberName" />
|
||||
<property name="WidthRequest">300</property>
|
||||
<property name="Spacing">6</property>
|
||||
<child>
|
||||
<widget class="Gtk.Label" id="posLabel">
|
||||
<property name="MemberName" />
|
||||
<property name="HeightRequest">33</property>
|
||||
<property name="Xpad">15</property>
|
||||
<property name="Xalign">0</property>
|
||||
<property name="LabelProp" translatable="yes"><big>n° 0</big></property>
|
||||
<property name="UseMarkup">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">0</property>
|
||||
<property name="AutoSize">True</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.Label" id="actLabel">
|
||||
<property name="MemberName" />
|
||||
<property name="UseMarkup">True</property>
|
||||
<property name="Wrap">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">1</property>
|
||||
<property name="AutoSize">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.Label" id="timeLabel">
|
||||
<property name="MemberName" />
|
||||
<property name="HeightRequest">33</property>
|
||||
<property name="Xpad">15</property>
|
||||
<property name="LabelProp" translatable="yes"><big>00.0</big></property>
|
||||
<property name="UseMarkup">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="PackType">End</property>
|
||||
<property name="Position">2</property>
|
||||
<property name="AutoSize">False</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">0</property>
|
||||
<property name="AutoSize">True</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.ProgressBar" id="progressbar1">
|
||||
<property name="MemberName" />
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">1</property>
|
||||
<property name="AutoSize">True</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.Toolbar" id="toolbar2">
|
||||
<property name="MemberName" />
|
||||
<property name="ShowArrow">False</property>
|
||||
<property name="ButtonStyle">Icons</property>
|
||||
<property name="IconSize">SmallToolbar</property>
|
||||
<node name="__gtksharp_92_Stetic_Editor_ActionToolbar" type="Toolbar">
|
||||
<node type="Toolitem" action="mediaPlayAction" />
|
||||
<node type="Toolitem" action="mediaPauseAction" />
|
||||
<node type="Toolitem" action="mediaStopAction" />
|
||||
<node type="Toolitem" action="mediaPreviousAction" />
|
||||
<node type="Toolitem" action="mediaRewindAction" />
|
||||
<node type="Toolitem" action="mediaForwardAction" />
|
||||
<node type="Toolitem" action="mediaNextAction" />
|
||||
</node>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">2</property>
|
||||
<property name="AutoSize">True</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.HBox" id="hbox4">
|
||||
<property name="MemberName" />
|
||||
<property name="Spacing">6</property>
|
||||
<child>
|
||||
<widget class="Gtk.Toolbar" id="toolbar3">
|
||||
<property name="MemberName" />
|
||||
<property name="ShowArrow">False</property>
|
||||
<property name="ButtonStyle">Icons</property>
|
||||
<property name="IconSize">SmallToolbar</property>
|
||||
<node name="__gtksharp_92_Stetic_Editor_ActionToolbar" type="Toolbar">
|
||||
<node type="Toolitem" action="addAction" />
|
||||
<node type="Toolitem" action="removeAction" />
|
||||
</node>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">0</property>
|
||||
<property name="AutoSize">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.Entry" id="entry1">
|
||||
<property name="MemberName" />
|
||||
<property name="CanFocus">True</property>
|
||||
<property name="IsEditable">True</property>
|
||||
<property name="InvisibleChar">•</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">1</property>
|
||||
<property name="AutoSize">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.Button" id="button133">
|
||||
<property name="MemberName" />
|
||||
<property name="CanFocus">True</property>
|
||||
<property name="Type">TextOnly</property>
|
||||
<property name="Label" translatable="yes">GoTo</property>
|
||||
<property name="UseUnderline">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">2</property>
|
||||
<property name="AutoSize">True</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">3</property>
|
||||
<property name="AutoSize">True</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">0</property>
|
||||
<property name="AutoSize">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.VScale" id="vscale1">
|
||||
<property name="MemberName" />
|
||||
<property name="WidthRequest">20</property>
|
||||
<property name="CanFocus">True</property>
|
||||
<property name="Inverted">True</property>
|
||||
<property name="Upper">100</property>
|
||||
<property name="PageIncrement">10</property>
|
||||
<property name="StepIncrement">1</property>
|
||||
<property name="Value">100</property>
|
||||
<property name="DrawValue">True</property>
|
||||
<property name="Digits">0</property>
|
||||
<property name="ValuePos">Bottom</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">1</property>
|
||||
<property name="AutoSize">False</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.Toolbar" id="toolbar4">
|
||||
<property name="MemberName" />
|
||||
<property name="Orientation">Vertical</property>
|
||||
<property name="ShowArrow">False</property>
|
||||
<property name="ButtonStyle">Icons</property>
|
||||
<property name="IconSize">SmallToolbar</property>
|
||||
<node name="__gtksharp_92_Stetic_Editor_ActionToolbar" type="Toolbar">
|
||||
<node type="Toolitem" action="closeAction1" />
|
||||
</node>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">2</property>
|
||||
<property name="AutoSize">True</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">0</property>
|
||||
<property name="AutoSize">True</property>
|
||||
<property name="Expand">False</property>
|
||||
<property name="Fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.ScrolledWindow" id="GtkScrolledWindow">
|
||||
<property name="MemberName" />
|
||||
<property name="ShadowType">In</property>
|
||||
<child>
|
||||
<widget class="Gtk.NodeView" id="nodeview1">
|
||||
<property name="MemberName" />
|
||||
<property name="CanFocus">True</property>
|
||||
<property name="ShowScrollbars">True</property>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="Position">1</property>
|
||||
<property name="AutoSize">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
<child>
|
||||
<widget class="Gtk.Label" id="GtkLabel3">
|
||||
<property name="MemberName" />
|
||||
<property name="LabelProp" translatable="yes">Sequenceur Son</property>
|
||||
<property name="UseMarkup">True</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="type">label_item</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</stetic-interface>
|
||||
Loading…
Reference in a new issue