246 lines
12 KiB
C#
246 lines
12 KiB
C#
|
|
// This file has been generated by the GUI designer. Do not modify.
|
|
namespace DMX2
|
|
{
|
|
public partial class SeqMacroUI
|
|
{
|
|
private global::Gtk.UIManager UIManager;
|
|
private global::Gtk.ToggleAction closeAction;
|
|
private global::Gtk.Action circuitsAction;
|
|
private global::Gtk.Action goForwardAction;
|
|
private global::Gtk.Action goBackAction;
|
|
private global::Gtk.Action mediaPauseAction;
|
|
private global::Gtk.Action mediaNextAction;
|
|
private global::Gtk.Action btnAjoutLigne;
|
|
private global::Gtk.Action btnRetireligne;
|
|
private global::Gtk.Frame frame1;
|
|
private global::Gtk.Alignment GtkAlignment;
|
|
private global::Gtk.Alignment alignment1;
|
|
private global::Gtk.VBox vbox2;
|
|
private global::Gtk.HBox hbox1;
|
|
private global::Gtk.VBox vbox3;
|
|
private global::Gtk.HBox hbox2;
|
|
private global::Gtk.Label posLabel;
|
|
private global::Gtk.Label timeLabel;
|
|
private global::Gtk.HScale seqMasterScale;
|
|
private global::Gtk.HBox hbox3;
|
|
private global::Gtk.Entry txtCommand;
|
|
private global::Gtk.Button btnCommand;
|
|
private global::Gtk.Toolbar toolbar;
|
|
private global::Gtk.Toolbar toolbar1;
|
|
private global::Gtk.ScrolledWindow scrolledwindow1;
|
|
private global::Gtk.TreeView effetsListe;
|
|
private global::Gtk.Label titreLabel;
|
|
|
|
protected virtual void Build ()
|
|
{
|
|
global::Stetic.Gui.Initialize (this);
|
|
// Widget DMX2.SeqMacroUI
|
|
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.ToggleAction ("closeAction", global::Mono.Unix.Catalog.GetString (" "), null, "gtk-close");
|
|
this.closeAction.ShortLabel = global::Mono.Unix.Catalog.GetString (" ");
|
|
w2.Add (this.closeAction, null);
|
|
this.circuitsAction = new global::Gtk.Action ("circuitsAction", null, null, "circuits");
|
|
w2.Add (this.circuitsAction, null);
|
|
this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward");
|
|
w2.Add (this.goForwardAction, null);
|
|
this.goBackAction = new global::Gtk.Action ("goBackAction", null, null, "gtk-go-back");
|
|
w2.Add (this.goBackAction, 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.btnAjoutLigne = new global::Gtk.Action ("btnAjoutLigne", null, null, "gtk-add");
|
|
w2.Add (this.btnAjoutLigne, null);
|
|
this.btnRetireligne = new global::Gtk.Action ("btnRetireligne", null, null, "gtk-remove");
|
|
w2.Add (this.btnRetireligne, null);
|
|
this.UIManager.InsertActionGroup (w2, 0);
|
|
this.Name = "DMX2.SeqMacroUI";
|
|
// Container child DMX2.SeqMacroUI.Gtk.Container+ContainerChild
|
|
this.frame1 = new global::Gtk.Frame ();
|
|
this.frame1.Name = "frame1";
|
|
this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
|
|
// 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.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F);
|
|
this.alignment1.Name = "alignment1";
|
|
// Container child alignment1.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";
|
|
// Container child vbox3.Gtk.Box+BoxChild
|
|
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.Name = "posLabel";
|
|
this.posLabel.Xpad = 10;
|
|
this.posLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<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.Name = "timeLabel";
|
|
this.timeLabel.Xpad = 10;
|
|
this.timeLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("<big>00.0</big>");
|
|
this.timeLabel.UseMarkup = true;
|
|
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.vbox3.Add (this.hbox2);
|
|
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox2]));
|
|
w5.Position = 0;
|
|
w5.Expand = false;
|
|
w5.Fill = false;
|
|
// Container child vbox3.Gtk.Box+BoxChild
|
|
this.seqMasterScale = new global::Gtk.HScale (null);
|
|
this.seqMasterScale.CanFocus = true;
|
|
this.seqMasterScale.Name = "seqMasterScale";
|
|
this.seqMasterScale.Adjustment.Upper = 100;
|
|
this.seqMasterScale.Adjustment.PageIncrement = 10;
|
|
this.seqMasterScale.Adjustment.StepIncrement = 1;
|
|
this.seqMasterScale.Adjustment.Value = 100;
|
|
this.seqMasterScale.DrawValue = true;
|
|
this.seqMasterScale.Digits = 0;
|
|
this.seqMasterScale.ValuePos = ((global::Gtk.PositionType)(1));
|
|
this.vbox3.Add (this.seqMasterScale);
|
|
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.seqMasterScale]));
|
|
w6.Position = 1;
|
|
w6.Expand = false;
|
|
w6.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.txtCommand = new global::Gtk.Entry ();
|
|
this.txtCommand.CanFocus = true;
|
|
this.txtCommand.Name = "txtCommand";
|
|
this.txtCommand.IsEditable = true;
|
|
this.txtCommand.InvisibleChar = '●';
|
|
this.hbox3.Add (this.txtCommand);
|
|
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.txtCommand]));
|
|
w7.Position = 0;
|
|
// Container child hbox3.Gtk.Box+BoxChild
|
|
this.btnCommand = new global::Gtk.Button ();
|
|
this.btnCommand.CanFocus = true;
|
|
this.btnCommand.Name = "btnCommand";
|
|
this.btnCommand.UseUnderline = true;
|
|
// Container child btnCommand.Gtk.Container+ContainerChild
|
|
global::Gtk.Alignment w8 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
|
|
// Container child GtkAlignment.Gtk.Container+ContainerChild
|
|
global::Gtk.HBox w9 = new global::Gtk.HBox ();
|
|
w9.Spacing = 2;
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Image w10 = new global::Gtk.Image ();
|
|
w10.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
|
|
w9.Add (w10);
|
|
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
global::Gtk.Label w12 = new global::Gtk.Label ();
|
|
w12.LabelProp = global::Mono.Unix.Catalog.GetString ("Ok");
|
|
w12.UseUnderline = true;
|
|
w9.Add (w12);
|
|
w8.Add (w9);
|
|
this.btnCommand.Add (w8);
|
|
this.hbox3.Add (this.btnCommand);
|
|
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnCommand]));
|
|
w16.Position = 1;
|
|
w16.Expand = false;
|
|
w16.Fill = false;
|
|
this.vbox3.Add (this.hbox3);
|
|
global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3]));
|
|
w17.Position = 2;
|
|
w17.Expand = false;
|
|
w17.Fill = false;
|
|
// Container child vbox3.Gtk.Box+BoxChild
|
|
this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar'><toolitem name='goForwardAction' action='goForwardAction'/><toolitem name='goBackAction' action='goBackAction'/><toolitem name='mediaPauseAction' action='mediaPauseAction'/><toolitem name='btnAjoutLigne' action='btnAjoutLigne'/><toolitem name='btnRetireligne' action='btnRetireligne'/></toolbar></ui>");
|
|
this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar")));
|
|
this.toolbar.Name = "toolbar";
|
|
this.toolbar.ShowArrow = false;
|
|
this.vbox3.Add (this.toolbar);
|
|
global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar]));
|
|
w18.Position = 3;
|
|
w18.Expand = false;
|
|
w18.Fill = false;
|
|
this.hbox1.Add (this.vbox3);
|
|
global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
|
|
w19.Position = 0;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='closeAction' action='closeAction'/><toolitem name='circuitsAction' action='circuitsAction'/></toolbar></ui>");
|
|
this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1")));
|
|
this.toolbar1.Name = "toolbar1";
|
|
this.toolbar1.Orientation = ((global::Gtk.Orientation)(1));
|
|
this.toolbar1.ShowArrow = false;
|
|
this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
|
|
this.toolbar1.IconSize = ((global::Gtk.IconSize)(2));
|
|
this.hbox1.Add (this.toolbar1);
|
|
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar1]));
|
|
w20.PackType = ((global::Gtk.PackType)(1));
|
|
w20.Position = 1;
|
|
w20.Expand = false;
|
|
w20.Fill = false;
|
|
this.vbox2.Add (this.hbox1);
|
|
global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
|
|
w21.Position = 0;
|
|
w21.Expand = false;
|
|
w21.Fill = false;
|
|
// Container child vbox2.Gtk.Box+BoxChild
|
|
this.scrolledwindow1 = new global::Gtk.ScrolledWindow ();
|
|
this.scrolledwindow1.CanFocus = true;
|
|
this.scrolledwindow1.Name = "scrolledwindow1";
|
|
this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
|
|
// Container child scrolledwindow1.Gtk.Container+ContainerChild
|
|
this.effetsListe = new global::Gtk.TreeView ();
|
|
this.effetsListe.CanFocus = true;
|
|
this.effetsListe.Name = "effetsListe";
|
|
this.scrolledwindow1.Add (this.effetsListe);
|
|
this.vbox2.Add (this.scrolledwindow1);
|
|
global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1]));
|
|
w23.Position = 1;
|
|
this.alignment1.Add (this.vbox2);
|
|
this.GtkAlignment.Add (this.alignment1);
|
|
this.frame1.Add (this.GtkAlignment);
|
|
this.titreLabel = new global::Gtk.Label ();
|
|
this.titreLabel.Name = "titreLabel";
|
|
this.titreLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Séquenceur Macro");
|
|
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.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated);
|
|
this.circuitsAction.Activated += new global::System.EventHandler (this.OnCircuitsActionActivated);
|
|
this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForwardActionActivated);
|
|
this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackActionActivated);
|
|
this.mediaPauseAction.Activated += new global::System.EventHandler (this.OnMediaPauseActionActivated);
|
|
this.btnAjoutLigne.Activated += new global::System.EventHandler (this.OnBtnAjoutLigneActivated);
|
|
this.btnRetireligne.Activated += new global::System.EventHandler (this.OnRemoveLigneActivated);
|
|
this.seqMasterScale.ValueChanged += new global::System.EventHandler (this.OnSeqMasterScaleValueChanged);
|
|
this.btnCommand.Clicked += new global::System.EventHandler (this.OnBtnCommandClicked);
|
|
this.effetsListe.CursorChanged += new global::System.EventHandler (this.OnEffetsListeCursorChanged);
|
|
}
|
|
}
|
|
}
|