241 lines
9.9 KiB
C#
241 lines
9.9 KiB
C#
|
|
// This file has been generated by the GUI designer. Do not modify.
|
|
namespace DMX2
|
|
{
|
|
public partial class SeqMidiUI
|
|
{
|
|
private global::Gtk.UIManager UIManager;
|
|
|
|
private global::Gtk.ToggleAction closeAction;
|
|
|
|
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.Action Action;
|
|
|
|
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.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.Toolbar toolbar;
|
|
|
|
private global::Gtk.Toolbar toolbar1;
|
|
|
|
private global::Gtk.ScrolledWindow scrolledwindow1;
|
|
|
|
private global::Gtk.TreeView cmdList;
|
|
|
|
private global::Gtk.Label lblText;
|
|
|
|
private global::Gtk.Label titreLabel;
|
|
|
|
protected virtual void Build ()
|
|
{
|
|
global::Stetic.Gui.Initialize (this);
|
|
// Widget DMX2.SeqMidiUI
|
|
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", " ", null, "gtk-close");
|
|
this.closeAction.ShortLabel = " ";
|
|
w2.Add (this.closeAction, 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.Action = new global::Gtk.Action ("Action", null, null, null);
|
|
w2.Add (this.Action, null);
|
|
this.UIManager.InsertActionGroup (w2, 0);
|
|
this.Name = "DMX2.SeqMidiUI";
|
|
// Container child DMX2.SeqMidiUI.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.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.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.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'/><toolitem name='Action' action='Action'/></toolbar></ui>");
|
|
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 w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar]));
|
|
w8.Position = 1;
|
|
w8.Expand = false;
|
|
w8.Fill = false;
|
|
this.hbox1.Add (this.vbox3);
|
|
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3]));
|
|
w9.Position = 0;
|
|
// Container child hbox1.Gtk.Box+BoxChild
|
|
this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar1\'><toolitem name=\'closeAction\' action=\'closeAction\'/><" +
|
|
"/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 w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar1]));
|
|
w10.PackType = ((global::Gtk.PackType)(1));
|
|
w10.Position = 1;
|
|
w10.Expand = false;
|
|
w10.Fill = false;
|
|
this.vbox2.Add (this.hbox1);
|
|
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
|
|
w11.Position = 0;
|
|
w11.Expand = false;
|
|
w11.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.cmdList = new global::Gtk.TreeView ();
|
|
this.cmdList.CanFocus = true;
|
|
this.cmdList.Name = "cmdList";
|
|
this.cmdList.RulesHint = true;
|
|
this.scrolledwindow1.Add (this.cmdList);
|
|
this.vbox2.Add (this.scrolledwindow1);
|
|
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1]));
|
|
w13.Position = 1;
|
|
// Container child vbox2.Gtk.Box+BoxChild
|
|
this.lblText = new global::Gtk.Label ();
|
|
this.lblText.Name = "lblText";
|
|
this.lblText.Xalign = 0F;
|
|
this.lblText.LabelProp = "CC : Control Change (ex: CC12,100)\nPC : Program Change (ex: PC5)\nN : Note On/Off " +
|
|
"(ex: N64+127 ou N12-)\nGT : Go To (ex: GT4)\nr: loop";
|
|
this.lblText.UseMarkup = true;
|
|
this.vbox2.Add (this.lblText);
|
|
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblText]));
|
|
w14.Position = 2;
|
|
w14.Expand = false;
|
|
w14.Fill = false;
|
|
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 = "Séquenceur Midi";
|
|
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.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.hbox2.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnHbox2SizeAllocated);
|
|
this.cmdList.CursorChanged += new global::System.EventHandler (this.OnCmdListeCursorChanged);
|
|
}
|
|
}
|
|
}
|