418 lines
17 KiB
C#
418 lines
17 KiB
C#
|
|
// 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 actAddFile;
|
|
|
|
private global::Gtk.Action actDelFile;
|
|
|
|
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 titleLabel;
|
|
|
|
private global::Gtk.Label timeLabel;
|
|
|
|
private global::Gtk.ProgressBar pbCur;
|
|
|
|
private global::Gtk.HBox hbox3;
|
|
|
|
private global::Gtk.Button btnPlay;
|
|
|
|
private global::Gtk.Button btnPause;
|
|
|
|
private global::Gtk.Button btnStop;
|
|
|
|
private global::Gtk.Button btnPrev;
|
|
|
|
private global::Gtk.Button btnRewind;
|
|
|
|
private global::Gtk.Button btnForward;
|
|
|
|
private global::Gtk.Button btnNext;
|
|
|
|
private global::Gtk.Entry txtGoto;
|
|
|
|
private global::Gtk.Button btnGoto;
|
|
|
|
private global::Gtk.VScale sclVolume;
|
|
|
|
private global::Gtk.Toolbar toolbar4;
|
|
|
|
private global::Gtk.ScrolledWindow GtkScrolledWindow;
|
|
|
|
private global::Gtk.NodeView listFiles;
|
|
|
|
private global::Gtk.Label label1;
|
|
|
|
private global::Gtk.Label titreLabel;
|
|
|
|
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.actAddFile = new global::Gtk.Action("actAddFile", null, null, "gtk-add");
|
|
w2.Add(this.actAddFile, null);
|
|
this.actDelFile = new global::Gtk.Action("actDelFile", null, null, "gtk-remove");
|
|
w2.Add(this.actDelFile, 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.titleLabel = new global::Gtk.Label();
|
|
this.titleLabel.Name = "titleLabel";
|
|
this.titleLabel.UseMarkup = true;
|
|
this.titleLabel.Wrap = true;
|
|
this.hbox2.Add(this.titleLabel);
|
|
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.titleLabel]));
|
|
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 = "<small>00.0</small>";
|
|
this.timeLabel.UseMarkup = true;
|
|
this.timeLabel.Justify = ((global::Gtk.Justification)(1));
|
|
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.pbCur = new global::Gtk.ProgressBar();
|
|
this.pbCur.Name = "pbCur";
|
|
this.vbox3.Add(this.pbCur);
|
|
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.pbCur]));
|
|
w8.Position = 1;
|
|
w8.Expand = false;
|
|
w8.Fill = false;
|
|
// Container child vbox3.Gtk.Box+BoxChild
|
|
this.hbox3 = new global::Gtk.HBox();
|
|
this.hbox3.Name = "hbox3";
|
|
this.hbox3.Spacing = 6;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btnPlay = new global::Gtk.Button();
|
|
this.btnPlay.CanFocus = true;
|
|
this.btnPlay.Name = "btnPlay";
|
|
this.btnPlay.UseUnderline = true;
|
|
global::Gtk.Image w9 = new global::Gtk.Image();
|
|
w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-play", global::Gtk.IconSize.Button);
|
|
this.btnPlay.Image = w9;
|
|
this.hbox3.Add(this.btnPlay);
|
|
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnPlay]));
|
|
w10.Position = 0;
|
|
w10.Expand = false;
|
|
w10.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btnPause = new global::Gtk.Button();
|
|
this.btnPause.CanFocus = true;
|
|
this.btnPause.Name = "btnPause";
|
|
this.btnPause.UseUnderline = true;
|
|
global::Gtk.Image w11 = new global::Gtk.Image();
|
|
w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-pause", global::Gtk.IconSize.Button);
|
|
this.btnPause.Image = w11;
|
|
this.hbox3.Add(this.btnPause);
|
|
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnPause]));
|
|
w12.Position = 1;
|
|
w12.Expand = false;
|
|
w12.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btnStop = new global::Gtk.Button();
|
|
this.btnStop.CanFocus = true;
|
|
this.btnStop.Name = "btnStop";
|
|
this.btnStop.UseUnderline = true;
|
|
global::Gtk.Image w13 = new global::Gtk.Image();
|
|
w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-stop", global::Gtk.IconSize.Button);
|
|
this.btnStop.Image = w13;
|
|
this.hbox3.Add(this.btnStop);
|
|
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnStop]));
|
|
w14.Position = 2;
|
|
w14.Expand = false;
|
|
w14.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btnPrev = new global::Gtk.Button();
|
|
this.btnPrev.CanFocus = true;
|
|
this.btnPrev.Name = "btnPrev";
|
|
this.btnPrev.UseUnderline = true;
|
|
global::Gtk.Image w15 = new global::Gtk.Image();
|
|
w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-previous", global::Gtk.IconSize.Button);
|
|
this.btnPrev.Image = w15;
|
|
this.hbox3.Add(this.btnPrev);
|
|
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnPrev]));
|
|
w16.Position = 3;
|
|
w16.Expand = false;
|
|
w16.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btnRewind = new global::Gtk.Button();
|
|
this.btnRewind.CanFocus = true;
|
|
this.btnRewind.Name = "btnRewind";
|
|
this.btnRewind.UseUnderline = true;
|
|
global::Gtk.Image w17 = new global::Gtk.Image();
|
|
w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-rewind", global::Gtk.IconSize.Button);
|
|
this.btnRewind.Image = w17;
|
|
this.hbox3.Add(this.btnRewind);
|
|
global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnRewind]));
|
|
w18.Position = 4;
|
|
w18.Expand = false;
|
|
w18.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btnForward = new global::Gtk.Button();
|
|
this.btnForward.CanFocus = true;
|
|
this.btnForward.Name = "btnForward";
|
|
this.btnForward.UseUnderline = true;
|
|
global::Gtk.Image w19 = new global::Gtk.Image();
|
|
w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-forward", global::Gtk.IconSize.Button);
|
|
this.btnForward.Image = w19;
|
|
this.hbox3.Add(this.btnForward);
|
|
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnForward]));
|
|
w20.Position = 5;
|
|
w20.Expand = false;
|
|
w20.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btnNext = new global::Gtk.Button();
|
|
this.btnNext.CanFocus = true;
|
|
this.btnNext.Name = "btnNext";
|
|
this.btnNext.UseUnderline = true;
|
|
global::Gtk.Image w21 = new global::Gtk.Image();
|
|
w21.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-next", global::Gtk.IconSize.Button);
|
|
this.btnNext.Image = w21;
|
|
this.hbox3.Add(this.btnNext);
|
|
global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnNext]));
|
|
w22.Position = 6;
|
|
w22.Expand = false;
|
|
w22.Fill = false;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.txtGoto = new global::Gtk.Entry();
|
|
this.txtGoto.CanFocus = true;
|
|
this.txtGoto.Name = "txtGoto";
|
|
this.txtGoto.IsEditable = true;
|
|
this.txtGoto.InvisibleChar = '•';
|
|
this.hbox3.Add(this.txtGoto);
|
|
global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.txtGoto]));
|
|
w23.Position = 7;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btnGoto = new global::Gtk.Button();
|
|
this.btnGoto.CanFocus = true;
|
|
this.btnGoto.Name = "btnGoto";
|
|
this.btnGoto.UseUnderline = true;
|
|
this.btnGoto.Label = "Cmd";
|
|
this.hbox3.Add(this.btnGoto);
|
|
global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnGoto]));
|
|
w24.Position = 8;
|
|
w24.Expand = false;
|
|
w24.Fill = false;
|
|
this.vbox3.Add(this.hbox3);
|
|
global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
|
|
w25.Position = 2;
|
|
w25.Expand = false;
|
|
w25.Fill = false;
|
|
this.hbox1.Add(this.vbox3);
|
|
global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
|
|
w26.Position = 0;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.sclVolume = new global::Gtk.VScale(null);
|
|
this.sclVolume.WidthRequest = 20;
|
|
this.sclVolume.CanFocus = true;
|
|
this.sclVolume.Name = "sclVolume";
|
|
this.sclVolume.Inverted = true;
|
|
this.sclVolume.Adjustment.Upper = 100D;
|
|
this.sclVolume.Adjustment.PageIncrement = 10D;
|
|
this.sclVolume.Adjustment.StepIncrement = 1D;
|
|
this.sclVolume.Adjustment.Value = 100D;
|
|
this.sclVolume.DrawValue = true;
|
|
this.sclVolume.Digits = 0;
|
|
this.sclVolume.ValuePos = ((global::Gtk.PositionType)(3));
|
|
this.hbox1.Add(this.sclVolume);
|
|
global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.sclVolume]));
|
|
w27.Position = 1;
|
|
w27.Expand = false;
|
|
w27.Fill = false;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar4\'><toolitem name=\'closeAction1\' action=\'closeAction1\'/" +
|
|
"><toolitem name=\'actAddFile\' action=\'actAddFile\'/><toolitem name=\'actDelFile\' ac" +
|
|
"tion=\'actDelFile\'/></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 w28 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toolbar4]));
|
|
w28.Position = 2;
|
|
w28.Expand = false;
|
|
w28.Fill = false;
|
|
this.vbox2.Add(this.hbox1);
|
|
global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
|
|
w29.Position = 0;
|
|
w29.Expand = false;
|
|
w29.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.listFiles = new global::Gtk.NodeView();
|
|
this.listFiles.CanFocus = true;
|
|
this.listFiles.Name = "listFiles";
|
|
this.listFiles.RulesHint = true;
|
|
this.GtkScrolledWindow.Add(this.listFiles);
|
|
this.vbox2.Add(this.GtkScrolledWindow);
|
|
global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
|
|
w31.Position = 1;
|
|
// Container child vbox2.Gtk.Box+BoxChild
|
|
this.label1 = new global::Gtk.Label();
|
|
this.label1.Name = "label1";
|
|
this.label1.Xalign = 0F;
|
|
this.label1.LabelProp = "Commands : \n[XX][gMM:SS.f][vVOL,T][p|ps|s]\n(FileNumber)(g=goto)(v=volume,fade in/" +
|
|
"out time)(p=play,ps=pause,s=stop)";
|
|
this.label1.UseMarkup = true;
|
|
this.vbox2.Add(this.label1);
|
|
global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1]));
|
|
w32.Position = 2;
|
|
w32.Expand = false;
|
|
w32.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 = "Sequenceur Son";
|
|
this.titreLabel.UseMarkup = true;
|
|
this.frame1.LabelWidget = this.titreLabel;
|
|
this.Add(this.frame1);
|
|
if ((this.Child != null))
|
|
{
|
|
this.Child.ShowAll();
|
|
}
|
|
w1.SetUiManager(UIManager);
|
|
this.Hide();
|
|
this.actAddFile.Activated += new global::System.EventHandler(this.OnActAddFileActivated);
|
|
this.actDelFile.Activated += new global::System.EventHandler(this.OnActDelFileActivated);
|
|
this.btnPlay.Clicked += new global::System.EventHandler(this.OnBtnPlayClicked);
|
|
this.btnPause.Clicked += new global::System.EventHandler(this.OnBtnPauseClicked);
|
|
this.btnStop.Clicked += new global::System.EventHandler(this.OnBtnStopClicked);
|
|
this.btnPrev.Clicked += new global::System.EventHandler(this.OnBtnPrevClicked);
|
|
this.btnRewind.Pressed += new global::System.EventHandler(this.OnBtnRewindPressed);
|
|
this.btnRewind.Released += new global::System.EventHandler(this.OnBtnRewindReleased);
|
|
this.btnForward.Pressed += new global::System.EventHandler(this.OnBtnForwardPressed);
|
|
this.btnForward.Released += new global::System.EventHandler(this.OnBtnForwardReleased);
|
|
this.btnNext.Clicked += new global::System.EventHandler(this.OnBtnNextClicked);
|
|
this.btnGoto.Clicked += new global::System.EventHandler(this.OnBtnGotoClicked);
|
|
this.sclVolume.ValueChanged += new global::System.EventHandler(this.OnSclVolumeValueChanged);
|
|
this.listFiles.CursorChanged += new global::System.EventHandler(this.OnListFilesCursorChanged);
|
|
}
|
|
}
|
|
}
|