312 lines
14 KiB
C#
312 lines
14 KiB
C#
|
|
// 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.ToggleAction pourcentBtn;
|
|
|
|
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.EventBox evBBox;
|
|
|
|
private global::Gtk.HBox hbox2;
|
|
|
|
private global::Gtk.Label posLabel;
|
|
|
|
private global::Gtk.Label timeLabel;
|
|
|
|
private global::Gtk.HScale seqMasterScale;
|
|
|
|
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.ScrolledWindow GtkScrolledWindow1;
|
|
|
|
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, "Ecrase l\'effet selectionné.", "gtk-apply");
|
|
w2.Add(this.applyAction, null);
|
|
this.mediaPauseAction = new global::Gtk.Action("mediaPauseAction", null, "Pause", "gtk-media-pause");
|
|
w2.Add(this.mediaPauseAction, null);
|
|
this.mediaNextAction = new global::Gtk.Action("mediaNextAction", null, "Fin de transition", "gtk-media-next");
|
|
w2.Add(this.mediaNextAction, null);
|
|
this.saveAction = new global::Gtk.Action("saveAction", null, "Enregistre l\'effet à la fin.", "gtk-save");
|
|
w2.Add(this.saveAction, null);
|
|
this.saveAfterAction = new global::Gtk.Action("saveAfterAction", null, "Insère un effet sous celui selectionné.", "gtk-save-as");
|
|
w2.Add(this.saveAfterAction, null);
|
|
this.deleteAction = new global::Gtk.Action("deleteAction", null, "Supprime l\'effet selectionné.", "gtk-delete");
|
|
w2.Add(this.deleteAction, null);
|
|
this.moveUpAction = new global::Gtk.Action("moveUpAction", 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, "Association des circuits\nau sequenceur", "circuits");
|
|
w2.Add(this.circuitsAction, null);
|
|
this.closeAction = new global::Gtk.Action("closeAction", null, null, "gtk-close");
|
|
w2.Add(this.closeAction, null);
|
|
this.pourcentBtn = new global::Gtk.ToggleAction("pourcentBtn", null, null, "gtk-zoom-100");
|
|
w2.Add(this.pourcentBtn, 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.evBBox = new global::Gtk.EventBox();
|
|
this.evBBox.Name = "evBBox";
|
|
// Container child evBBox.Gtk.Container+ContainerChild
|
|
this.hbox2 = new global::Gtk.HBox();
|
|
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.timeLabel = new global::Gtk.Label();
|
|
this.timeLabel.HeightRequest = 33;
|
|
this.timeLabel.Name = "timeLabel";
|
|
this.timeLabel.Xpad = 15;
|
|
this.timeLabel.Xalign = 1F;
|
|
this.timeLabel.LabelProp = "<big>0.00</big>";
|
|
this.timeLabel.UseMarkup = true;
|
|
this.timeLabel.Justify = ((global::Gtk.Justification)(1));
|
|
this.hbox2.Add(this.timeLabel);
|
|
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.timeLabel]));
|
|
w4.PackType = ((global::Gtk.PackType)(1));
|
|
w4.Position = 1;
|
|
w4.Expand = false;
|
|
w4.Fill = false;
|
|
this.evBBox.Add(this.hbox2);
|
|
this.vbox4.Add(this.evBBox);
|
|
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.evBBox]));
|
|
w6.Position = 0;
|
|
w6.Expand = false;
|
|
w6.Fill = false;
|
|
// Container child vbox4.Gtk.Box+BoxChild
|
|
this.seqMasterScale = new global::Gtk.HScale(null);
|
|
this.seqMasterScale.CanFocus = true;
|
|
this.seqMasterScale.Name = "seqMasterScale";
|
|
this.seqMasterScale.Adjustment.Upper = 100D;
|
|
this.seqMasterScale.Adjustment.PageIncrement = 10D;
|
|
this.seqMasterScale.Adjustment.StepIncrement = 1D;
|
|
this.seqMasterScale.Adjustment.Value = 100D;
|
|
this.seqMasterScale.DrawValue = true;
|
|
this.seqMasterScale.Digits = 0;
|
|
this.seqMasterScale.ValuePos = ((global::Gtk.PositionType)(1));
|
|
this.vbox4.Add(this.seqMasterScale);
|
|
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.seqMasterScale]));
|
|
w7.Position = 1;
|
|
w7.Expand = false;
|
|
w7.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 w8 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.pbTrans]));
|
|
w8.Position = 2;
|
|
w8.Expand = false;
|
|
w8.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 w9 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.pbDuree]));
|
|
w9.Position = 3;
|
|
w9.Expand = false;
|
|
w9.Fill = false;
|
|
// Container child vbox4.Gtk.Box+BoxChild
|
|
this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='goForwardAction' action='goForwardAction'/><toolitem name='goBackAction' action='goBackAction'/><toolitem name='mediaPauseAction' action='mediaPauseAction'/><toolitem name='mediaNextAction' action='mediaNextAction'/></toolbar></ui>");
|
|
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 w10 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.toolbar1]));
|
|
w10.Position = 4;
|
|
w10.Expand = false;
|
|
w10.Fill = false;
|
|
// Container child vbox4.Gtk.Box+BoxChild
|
|
this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar2'><toolitem name='saveAction' action='saveAction'/><toolitem name='saveAfterAction' action='saveAfterAction'/><toolitem name='applyAction' action='applyAction'/><toolitem name='deleteAction' action='deleteAction'/></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.vbox4.Add(this.toolbar2);
|
|
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.toolbar2]));
|
|
w11.Position = 5;
|
|
w11.Expand = false;
|
|
w11.Fill = false;
|
|
this.hbox1.Add(this.vbox4);
|
|
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox4]));
|
|
w12.Position = 0;
|
|
w12.Expand = false;
|
|
w12.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.effetsListe.RulesHint = true;
|
|
this.GtkScrolledWindow.Add(this.effetsListe);
|
|
this.hbox1.Add(this.GtkScrolledWindow);
|
|
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
|
|
w14.Position = 1;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar3'><toolitem name='closeAction' action='closeAction'/><toolitem name='circuitsAction' action='circuitsAction'/><toolitem name='moveUpAction' action='moveUpAction'/><toolitem name='moveDownAction' action='moveDownAction'/><toolitem name='pourcentBtn' action='pourcentBtn'/></toolbar></ui>");
|
|
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 w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toolbar3]));
|
|
w15.Position = 2;
|
|
w15.Expand = false;
|
|
w15.Fill = false;
|
|
this.vbox2.Add(this.hbox1);
|
|
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
|
|
w16.Position = 0;
|
|
w16.Expand = false;
|
|
w16.Fill = false;
|
|
// Container child vbox2.Gtk.Box+BoxChild
|
|
this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow();
|
|
this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
|
|
// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
|
|
global::Gtk.Viewport w17 = new global::Gtk.Viewport();
|
|
w17.ShadowType = ((global::Gtk.ShadowType)(0));
|
|
// Container child GtkViewport.Gtk.Container+ContainerChild
|
|
this.zoneWid = new global::Gtk.Fixed();
|
|
this.zoneWid.HeightRequest = 0;
|
|
this.zoneWid.Name = "zoneWid";
|
|
this.zoneWid.HasWindow = false;
|
|
w17.Add(this.zoneWid);
|
|
this.GtkScrolledWindow1.Add(w17);
|
|
this.vbox2.Add(this.GtkScrolledWindow1);
|
|
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow1]));
|
|
w20.Position = 1;
|
|
this.GtkAlignment.Add(this.vbox2);
|
|
this.frame1.Add(this.GtkAlignment);
|
|
this.titreLabel = new global::Gtk.Label();
|
|
this.titreLabel.Name = "titreLabel";
|
|
this.titreLabel.LabelProp = "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.pourcentBtn.Toggled += new global::System.EventHandler(this.OnPourcentBtnToggled);
|
|
this.seqMasterScale.ValueChanged += new global::System.EventHandler(this.OnSeqMasterScaleValueChanged);
|
|
this.zoneWid.SizeAllocated += new global::Gtk.SizeAllocatedHandler(this.OnZoneWidSizeAllocated);
|
|
}
|
|
}
|
|
}
|