Implementation seq OSC

This commit is contained in:
arnaud.houdelette 2018-10-04 17:12:24 +02:00
parent e91e43b76c
commit dac480d5bf
22 changed files with 2435 additions and 2268 deletions

View file

@ -149,6 +149,7 @@
<Compile Include="gtk-gui\DMX2.SeqOscUI.cs" /> <Compile Include="gtk-gui\DMX2.SeqOscUI.cs" />
<Compile Include="SequenceurOSC.cs" /> <Compile Include="SequenceurOSC.cs" />
<Compile Include="AlsaSeqLib.MidiPort.cs" /> <Compile Include="AlsaSeqLib.MidiPort.cs" />
<Compile Include="OSCMessage.cs" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ProjectExtensions> <ProjectExtensions>

323
DMX-2.0/OSCMessage.cs Normal file
View file

@ -0,0 +1,323 @@
using System;
namespace DMX2
{
public class OSCMessage
{
public enum OSCType
{
Int32,
Float32,
String,
Blob
}
public abstract class OSCArg
{
protected OSCArg() { }
public abstract OSCType Type { get; }
public virtual string GetString() { throw new System.NotImplementedException(); }
public virtual float GetFloat() { throw new System.NotImplementedException(); }
public virtual int GetInt() { throw new System.NotImplementedException(); }
public virtual byte[] GetBlob() { throw new System.NotImplementedException(); }
}
private class OSCStringArg : OSCArg
{
string _s;
public override OSCType Type
{
get
{
return OSCType.String;
}
}
public OSCStringArg(string s)
{
_s = s;
}
public override string GetString()
{
return _s;
}
public override float GetFloat()
{
float f;
if (float.TryParse(_s, out f)) return f;
return 0.0f;
}
public override int GetInt()
{
return (int)GetFloat();
}
}
private class OSCIntArg : OSCArg
{
int _i;
public override OSCType Type
{
get
{
return OSCType.Int32;
}
}
public OSCIntArg(int i)
{
_i = i;
}
public override int GetInt()
{
return _i;
}
public override float GetFloat()
{
return (float)_i;
}
public override string GetString()
{
return _i.ToString();
}
}
private class OSCFloatArg : OSCArg
{
float _f;
public override OSCType Type
{
get
{
return OSCType.Float32;
}
}
public OSCFloatArg(float f)
{
_f = f;
}
public override int GetInt()
{
return (int)(_f);
}
public override float GetFloat()
{
return _f;
}
public override string GetString()
{
return _f.ToString();
}
}
private class OSCBlobArg : OSCArg
{
byte[] _b;
public override OSCType Type
{
get
{
return OSCType.Blob;
}
}
public OSCBlobArg(byte[] b)
{
_b = b;
}
public override byte[] GetBlob()
{
return _b;
}
}
static string DecodeString(byte[] b, ref int pos)
{
int end = Array.IndexOf<byte>(b, 0, pos);
if (end == -1) end = b.Length;
string ret = System.Text.Encoding.ASCII.GetString(b, pos, end - pos);
pos = (end / 4 + 1) * 4;
return ret;
}
static float DecodeFloat(byte[] b, ref int pos)
{
if (BitConverter.IsLittleEndian)
Array.Reverse(b, pos, 4);
float ret = BitConverter.ToSingle(b, pos);
pos += 4;
return ret;
}
static int DecodeInt(byte[] b, ref int pos)
{
if (BitConverter.IsLittleEndian)
Array.Reverse(b, pos, 4);
int ret = BitConverter.ToInt32(b, pos);
pos += 4;
return ret;
}
public OSCMessage(byte[] bmsg)
{
int pos = 0;
Address = DecodeString(bmsg, ref pos);
string typestring = DecodeString(bmsg, ref pos);
args = new OSCArg[typestring.Length - 1];
int idx = 0;
foreach (char c in typestring)
{
switch (c)
{
case 'f':
args[idx++] = new OSCFloatArg(DecodeFloat(bmsg, ref pos));
break;
case 's':
args[idx++] = new OSCStringArg(DecodeString(bmsg, ref pos));
break;
case 'i':
args[idx++] = new OSCIntArg(DecodeInt(bmsg, ref pos));
break;
case 'b':
int len = DecodeInt(bmsg, ref pos) * 4;
byte[] b = new byte[len];
bmsg.CopyTo(b, 0);
pos += len;
args[idx++] = new OSCBlobArg(b);
break;
}
}
}
public string Address
{
get;
private set;
}
OSCArg[] args;
public OSCArg[] Args
{
get
{
return args;
}
}
// Construction de message
public OSCMessage(string _address)
{
Address = _address;
}
void AddArg(OSCArg arg)
{
if (args == null)
{
args = new OSCArg[1];
}
else
{
OSCArg[] na = new OSCArg[args.Length + 1];
args.CopyTo(na, 0);
args = na;
}
args[args.Length - 1] = arg;
}
public void AddString(string arg)
{
AddArg(new OSCStringArg(arg));
}
public void AddInt(int arg)
{
AddArg(new OSCIntArg(arg));
}
public void AddFloat(float arg)
{
AddArg(new OSCFloatArg(arg));
}
public byte[] Encode()
{
int len = System.Text.ASCIIEncoding.ASCII.GetByteCount(Address) / 4 + 1;
string typestring = ",";
foreach (var arg in args)
{
switch (arg.Type)
{
case OSCType.Int32:
len += 1;
typestring += "i";
break;
case OSCType.Float32:
len += 1;
typestring += "f";
break;
case OSCType.String:
len += System.Text.ASCIIEncoding.ASCII.GetByteCount(arg.GetString()) / 4 + 1;
typestring += "s";
break;
}
}
len += typestring.Length / 4 + 1;
byte[] res = new byte[len * 4];
int pos = 0;
EncodeString(res, ref pos, Address);
EncodeString(res, ref pos, typestring);
foreach (var arg in args)
{
switch (arg.Type)
{
case OSCType.Int32:
EncodeInt(res, ref pos, arg.GetInt());
break;
case OSCType.Float32:
EncodeFloat(res, ref pos, arg.GetFloat());
break;
case OSCType.String:
EncodeString(res, ref pos, arg.GetString());
break;
}
}
return res;
}
void EncodeString(byte[] buff, ref int pos, string s)
{
pos +=
System.Text.ASCIIEncoding.ASCII.GetBytes(
s, 0, s.Length, buff, pos);
do
{
buff[pos++] = 0;
} while (pos % 4 != 0);
}
void EncodeInt(byte[] res, ref int pos, int i)
{
byte[] buff = BitConverter.GetBytes(i);
if (BitConverter.IsLittleEndian)
Array.Reverse(buff);
buff.CopyTo(res, pos);
pos += 4;
}
void EncodeFloat(byte[] res, ref int pos, float f)
{
byte[] buff = BitConverter.GetBytes(f);
if (BitConverter.IsLittleEndian)
Array.Reverse(buff);
buff.CopyTo(res, pos);
pos += 4;
}
}
}

View file

@ -13,294 +13,7 @@ namespace DMX2
Thread pollThread = null; Thread pollThread = null;
bool running=true; bool running=true;
public OSCServer ()
enum OSCType {
Int32,
Float32,
String,
Blob
}
class OSCMessage {
public abstract class OSCArg{
protected OSCArg(){}
public abstract OSCType Type{ get; }
public virtual string GetString(){ throw new System.NotImplementedException (); }
public virtual float GetFloat (){throw new System.NotImplementedException (); }
public virtual int GetInt(){throw new System.NotImplementedException (); }
public virtual byte[] GetBlob(){throw new System.NotImplementedException (); }
}
private class OSCStringArg : OSCArg{
string _s;
public override OSCType Type {
get {
return OSCType.String;
}
}
public OSCStringArg(string s){
_s=s;
}
public override string GetString ()
{
return _s;
}
public override float GetFloat ()
{
float f;
if(float.TryParse(_s,out f)) return f;
return 0.0f;
}
public override int GetInt ()
{
return (int)GetFloat();
}
}
private class OSCIntArg : OSCArg{
int _i;
public override OSCType Type {
get {
return OSCType.Int32;
}
}
public OSCIntArg(int i){
_i=i;
}
public override int GetInt ()
{
return _i;
}
public override float GetFloat ()
{
return (float)_i;
}
public override string GetString ()
{
return _i.ToString();
}
}
private class OSCFloatArg : OSCArg{
float _f;
public override OSCType Type {
get {
return OSCType.Float32;
}
}
public OSCFloatArg(float f){
_f=f;
}
public override int GetInt ()
{
return (int)(_f);
}
public override float GetFloat ()
{
return _f;
}
public override string GetString ()
{
return _f.ToString();
}
}
private class OSCBlobArg : OSCArg{
byte[] _b;
public override OSCType Type {
get {
return OSCType.Blob;
}
}
public OSCBlobArg(byte[] b){
_b=b;
}
public override byte[] GetBlob ()
{
return _b;
}
}
static string DecodeString (byte[] b, ref int pos)
{
int end = Array.IndexOf<byte>(b,0,pos);
if(end==-1) end = b.Length;
string ret = System.Text.Encoding.ASCII.GetString(b,pos,end-pos);
pos = (end/4+1)*4;
return ret;
}
static float DecodeFloat (byte[] b, ref int pos)
{
if(BitConverter.IsLittleEndian)
Array.Reverse(b,pos,4);
float ret = BitConverter.ToSingle(b,pos);
pos+=4;
return ret;
}
static int DecodeInt (byte[] b, ref int pos)
{
if(BitConverter.IsLittleEndian)
Array.Reverse(b,pos,4);
int ret = BitConverter.ToInt32(b, pos);
pos+=4;
return ret;
}
public OSCMessage(byte[] bmsg){
int pos = 0;
Address = DecodeString(bmsg,ref pos);
string typestring = DecodeString(bmsg,ref pos);
args = new OSCArg[typestring.Length-1];
int idx=0;
foreach(char c in typestring){
switch(c){
case 'f':
args[idx++] = new OSCFloatArg(DecodeFloat(bmsg,ref pos));
break;
case 's':
args[idx++] = new OSCStringArg(DecodeString(bmsg,ref pos));
break;
case 'i':
args[idx++] = new OSCIntArg(DecodeInt(bmsg,ref pos));
break;
case 'b':
int len=DecodeInt(bmsg,ref pos)*4;
byte[] b = new byte[len];
bmsg.CopyTo(b,0);
pos+=len;
args[idx++] = new OSCBlobArg(b);
break;
}
}
}
public string Address{
get;
private set;
}
OSCArg[] args;
public OSCArg[] Args {
get {
return args;
}
}
// Construction de message
public OSCMessage(string _address){
Address=_address;
}
void AddArg (OSCArg arg)
{
if (args == null) {
args = new OSCArg[1];
} else {
OSCArg[] na = new OSCArg[args.Length+1];
args.CopyTo(na,0);
args = na;
}
args[args.Length-1] = arg;
}
public void AddString (string arg)
{
AddArg(new OSCStringArg(arg));
}
public void AddInt (int arg)
{
AddArg(new OSCIntArg(arg));
}
public void AddFloat (float arg)
{
AddArg(new OSCFloatArg(arg));
}
public byte[] Encode ()
{
int len = System.Text.ASCIIEncoding.ASCII.GetByteCount (Address) / 4+1;
string typestring = ",";
foreach (var arg in args) {
switch(arg.Type){
case OSCType.Int32:
len +=1;
typestring+="i";
break;
case OSCType.Float32:
len += 1;
typestring+="f";
break;
case OSCType.String:
len += System.Text.ASCIIEncoding.ASCII.GetByteCount (arg.GetString())/4+1;
typestring+="s";
break;
}
}
len += typestring.Length/4 +1;
byte[] res = new byte[len*4];
int pos=0;
EncodeString(res,ref pos,Address);
EncodeString(res,ref pos,typestring);
foreach (var arg in args) {
switch(arg.Type){
case OSCType.Int32:
EncodeInt(res,ref pos,arg.GetInt());
break;
case OSCType.Float32:
EncodeFloat(res,ref pos,arg.GetFloat());
break;
case OSCType.String:
EncodeString(res,ref pos,arg.GetString());
break;
}
}
return res;
}
void EncodeString (byte[] buff, ref int pos, string s)
{
pos +=
System.Text.ASCIIEncoding.ASCII.GetBytes (
s, 0, s.Length, buff, pos);
do {
buff[pos++]=0;
} while (pos%4!=0);
}
void EncodeInt (byte[] res, ref int pos, int i)
{
byte[] buff = BitConverter.GetBytes(i);
if(BitConverter.IsLittleEndian)
Array.Reverse(buff);
buff.CopyTo(res,pos);
pos+=4;
}
void EncodeFloat (byte[] res, ref int pos, float f)
{
byte[] buff = BitConverter.GetBytes(f);
if(BitConverter.IsLittleEndian)
Array.Reverse(buff);
buff.CopyTo(res,pos);
pos+=4;
}
}
public OSCServer ()
{ {
pollThread = new Thread(new ThreadStart(Loop)); pollThread = new Thread(new ThreadStart(Loop));
pollThread.Start(); pollThread.Start();

View file

@ -270,6 +270,8 @@ namespace DMX2
posLabel.Text = string.Format("n°{0}",sequenceur.IndexLigneEnCours +1); posLabel.Text = string.Format("n°{0}",sequenceur.IndexLigneEnCours +1);
entryDest.Text = sequenceur.Destination;
fullUpdFlag=false; fullUpdFlag=false;
} }
@ -335,7 +337,10 @@ namespace DMX2
actLabel.SetSizeRequest ( Math.Max(50, args.Allocation.Width - posLabel.Allocation.Width - timeLabel.Allocation.Width - 50),-1); actLabel.SetSizeRequest ( Math.Max(50, args.Allocation.Width - posLabel.Allocation.Width - timeLabel.Allocation.Width - 50),-1);
} }
protected void OnEntryDestChanged(object sender, EventArgs e)
{
sequenceur.Destination = entryDest.Text;
}
} }
} }

View file

@ -21,6 +21,8 @@ using System.Collections.Generic;
using System.Xml; using System.Xml;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Threading; using System.Threading;
using System.Net.Sockets;
using System.Net;
namespace DMX2 namespace DMX2
{ {
@ -98,10 +100,15 @@ namespace DMX2
actionEventTarget goNextEventTarget=null; actionEventTarget goNextEventTarget=null;
actionEventTarget goBackEventTarget=null; actionEventTarget goBackEventTarget=null;
string destination="";
SeqOscUI ui = null; SeqOscUI ui = null;
bool change = false; bool change = false;
UdpClient udpClient = new UdpClient();
IPEndPoint iPEndPoint = null;
bool paused=false; bool paused=false;
public bool Paused { public bool Paused {
@ -113,6 +120,32 @@ namespace DMX2
} }
} }
public string Destination
{
get
{
return destination;
}
set
{
destination = value;
SetEndpoint();
}
}
private void SetEndpoint()
{
IPAddress iPAddress;
int port;
string[] st = destination.Split(':');
iPEndPoint = null;
if (st.Length != 2) return;
if (!IPAddress.TryParse(st[0], out iPAddress)) return;
if (!int.TryParse(st[1], out port)) return;
iPEndPoint = new IPEndPoint(iPAddress, port);
udpClient.Connect(iPEndPoint);
}
public SequenceurOSC () public SequenceurOSC ()
{ {
@ -258,16 +291,35 @@ namespace DMX2
} }
} }
aSuivre = null; aSuivre = null;
LanceCommandeMidi(); LanceCommandeOSC();
if(ui!=null) if(ui!=null)
ui.EffetChange(); ui.EffetChange();
} }
} }
void LanceCommandeMidi () void LanceCommandeOSC()
{ {
Console.WriteLine (enCours.Commande);
Console.WriteLine(enCours.Commande);
string[] data = enCours.Commande.Split(' ');
int di;
float df;
OSCMessage message = new OSCMessage(data[0]);
for (int i = 1; i < data.Length; i++)
{
if (int.TryParse(data[i], out di))
message.AddInt(di);
else if (float.TryParse(data[i], out df))
message.AddFloat(df);
else message.AddString(data[i]);
}
var buff = message.Encode();
udpClient.Send(buff, buff.Length);
} }
@ -289,6 +341,7 @@ namespace DMX2
parent.AppendChild (el); parent.AppendChild (el);
el.SetAttribute ("id", ID.ToString ()); el.SetAttribute ("id", ID.ToString ());
el.SetAttribute ("name", Name); el.SetAttribute ("name", Name);
el.SetAttribute ("destination", Destination);
//el.SetAttribute ("master", master.ToString ()); //el.SetAttribute ("master", master.ToString ());
xmlEl = parent.OwnerDocument.CreateElement ("EffetSuivant"); xmlEl = parent.OwnerDocument.CreateElement ("EffetSuivant");
@ -350,6 +403,7 @@ namespace DMX2
{ {
ID = int.Parse (el.GetAttribute ("id")); ID = int.Parse (el.GetAttribute ("id"));
Name = el.GetAttribute ("name"); Name = el.GetAttribute ("name");
Destination = el.TryGetAttribute("destination", "224.0.0.3:8888");
XmlElement xmlE; XmlElement xmlE;
@ -405,7 +459,7 @@ namespace DMX2
} }
aSuivre = null; aSuivre = null;
LanceCommandeMidi(); LanceCommandeOSC();
if(ui!=null) ui.EffetChange(); if(ui!=null) ui.EffetChange();

View file

@ -4,12 +4,13 @@ namespace DMX2
{ {
public partial class About public partial class About
{ {
private global::Gtk.Label label1; private global::Gtk.Label labelA;
private global::Gtk.Button buttonOk; private global::Gtk.Button buttonOk;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.About // Widget DMX2.About
this.Name = "DMX2.About"; this.Name = "DMX2.About";
this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.WindowPosition = ((global::Gtk.WindowPosition)(4));
@ -19,11 +20,13 @@ namespace DMX2
w1.Name = "dialog1_VBox"; w1.Name = "dialog1_VBox";
w1.BorderWidth = ((uint)(2)); w1.BorderWidth = ((uint)(2));
// Container child dialog1_VBox.Gtk.Box+BoxChild // Container child dialog1_VBox.Gtk.Box+BoxChild
this.label1 = new global::Gtk.Label (); this.labelA = new global::Gtk.Label();
this.label1.Name = "label1"; this.labelA.Name = "labelA";
this.label1.LabelProp = "Loupiottes\n\nLogiciel de contrôle DMX 512\n\nCopyright (C) Arnaud Houdelette\t\t2012-2014\nCopyright (C) Emmanuel Langlois\t\t2012-2014\nhttp://www.loupiottes.fr\nLicence : GPL V2"; this.labelA.LabelProp = "Loupiottes\n\nLogiciel de contrôle DMX 512\n\nCopyright (C) Arnaud Houdelette\t\t2012-" +
w1.Add (this.label1); "2014\nCopyright (C) Emmanuel Langlois\t\t2012-2014\nhttp://www.loupiottes.fr\nLicence" +
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.label1])); " : GPL V2";
w1.Add(this.labelA);
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.labelA]));
w2.Position = 0; w2.Position = 0;
w2.Expand = false; w2.Expand = false;
w2.Fill = false; w2.Fill = false;
@ -34,24 +37,25 @@ namespace DMX2
w3.BorderWidth = ((uint)(5)); w3.BorderWidth = ((uint)(5));
w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonOk = new global::Gtk.Button (); this.buttonOk = new global::Gtk.Button();
this.buttonOk.CanDefault = true; this.buttonOk.CanDefault = true;
this.buttonOk.CanFocus = true; this.buttonOk.CanFocus = true;
this.buttonOk.Name = "buttonOk"; this.buttonOk.Name = "buttonOk";
this.buttonOk.UseStock = true; this.buttonOk.UseStock = true;
this.buttonOk.UseUnderline = true; this.buttonOk.UseUnderline = true;
this.buttonOk.Label = "gtk-close"; this.buttonOk.Label = "gtk-close";
this.AddActionWidget (this.buttonOk, -7); this.AddActionWidget(this.buttonOk, -7);
global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk])); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3[this.buttonOk]));
w4.Expand = false; w4.Expand = false;
w4.Fill = false; w4.Fill = false;
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.DefaultWidth = 400; this.DefaultWidth = 400;
this.DefaultHeight = 300; this.DefaultHeight = 300;
this.Show (); this.Show();
this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked);
} }
} }
} }

View file

@ -5,44 +5,52 @@ namespace DMX2
public partial class DriverBoitierV1UI public partial class DriverBoitierV1UI
{ {
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.Label label1;
private global::Gtk.Label labelT;
private global::Gtk.Table table1; private global::Gtk.Table table1;
private global::Gtk.ComboBox cbUnivers; private global::Gtk.ComboBox cbUnivers;
private global::Gtk.Label label4; private global::Gtk.Label label4;
private global::Gtk.Label label5; private global::Gtk.Label label5;
private global::Gtk.Label lblEtat; private global::Gtk.Label lblEtat;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.Button btnValider; private global::Gtk.Button btnValider;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.DriverBoitierV1UI // Widget DMX2.DriverBoitierV1UI
global::Stetic.BinContainer.Attach (this); global::Stetic.BinContainer.Attach(this);
this.Name = "DMX2.DriverBoitierV1UI"; this.Name = "DMX2.DriverBoitierV1UI";
// Container child DMX2.DriverBoitierV1UI.Gtk.Container+ContainerChild // Container child DMX2.DriverBoitierV1UI.Gtk.Container+ContainerChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.label1 = new global::Gtk.Label (); this.labelT = new global::Gtk.Label();
this.label1.Name = "label1"; this.labelT.Name = "labelT";
this.label1.LabelProp = "Driver Boitier V1"; this.labelT.LabelProp = "Driver Boitier V1";
this.vbox2.Add (this.label1); this.vbox2.Add(this.labelT);
global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelT]));
w1.Position = 0; w1.Position = 0;
w1.Expand = false; w1.Expand = false;
w1.Fill = false; w1.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
this.table1.Name = "table1"; this.table1.Name = "table1";
this.table1.RowSpacing = ((uint)(6)); this.table1.RowSpacing = ((uint)(6));
this.table1.ColumnSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.cbUnivers = global::Gtk.ComboBox.NewText (); this.cbUnivers = global::Gtk.ComboBox.NewText();
this.cbUnivers.Name = "cbUnivers"; this.cbUnivers.Name = "cbUnivers";
this.table1.Add (this.cbUnivers); this.table1.Add(this.cbUnivers);
global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbUnivers])); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.cbUnivers]));
w2.TopAttach = ((uint)(1)); w2.TopAttach = ((uint)(1));
w2.BottomAttach = ((uint)(2)); w2.BottomAttach = ((uint)(2));
w2.LeftAttach = ((uint)(1)); w2.LeftAttach = ((uint)(1));
@ -50,62 +58,63 @@ namespace DMX2
w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4));
w2.YOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label4 = new global::Gtk.Label (); this.label4 = new global::Gtk.Label();
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.LabelProp = "Univers DMX :"; this.label4.LabelProp = "Univers DMX :";
this.table1.Add (this.label4); this.table1.Add(this.label4);
global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
w3.TopAttach = ((uint)(1)); w3.TopAttach = ((uint)(1));
w3.BottomAttach = ((uint)(2)); w3.BottomAttach = ((uint)(2));
w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4));
w3.YOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label5 = new global::Gtk.Label (); this.label5 = new global::Gtk.Label();
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.LabelProp = "Etat :"; this.label5.LabelProp = "Etat :";
this.table1.Add (this.label5); this.table1.Add(this.label5);
global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4));
w4.YOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.lblEtat = new global::Gtk.Label (); this.lblEtat = new global::Gtk.Label();
this.lblEtat.Name = "lblEtat"; this.lblEtat.Name = "lblEtat";
this.lblEtat.LabelProp = "Univer associé"; this.lblEtat.LabelProp = "Univer associé";
this.table1.Add (this.lblEtat); this.table1.Add(this.lblEtat);
global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblEtat])); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.lblEtat]));
w5.LeftAttach = ((uint)(1)); w5.LeftAttach = ((uint)(1));
w5.RightAttach = ((uint)(2)); w5.RightAttach = ((uint)(2));
w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4));
w5.YOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4));
this.vbox2.Add (this.table1); this.vbox2.Add(this.table1);
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1]));
w6.Position = 1; w6.Position = 1;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.btnValider = new global::Gtk.Button (); this.btnValider = new global::Gtk.Button();
this.btnValider.CanFocus = true; this.btnValider.CanFocus = true;
this.btnValider.Name = "btnValider"; this.btnValider.Name = "btnValider";
this.btnValider.UseUnderline = true; this.btnValider.UseUnderline = true;
this.btnValider.Label = "Valider"; this.btnValider.Label = "Valider";
this.hbox1.Add (this.btnValider); this.hbox1.Add(this.btnValider);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnValider])); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnValider]));
w7.Position = 1; w7.Position = 1;
w7.Expand = false; w7.Expand = false;
w7.Fill = false; w7.Fill = false;
this.vbox2.Add (this.hbox1); this.vbox2.Add(this.hbox1);
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
w8.Position = 2; w8.Position = 2;
w8.Expand = false; w8.Expand = false;
w8.Fill = false; w8.Fill = false;
this.Add (this.vbox2); this.Add(this.vbox2);
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.Hide (); this.Hide();
this.btnValider.Clicked += new global::System.EventHandler (this.OnBtnValiderClicked); this.btnValider.Clicked += new global::System.EventHandler(this.OnBtnValiderClicked);
} }
} }
} }

View file

@ -5,57 +5,75 @@ namespace DMX2
public partial class DriverBoitierV2UI public partial class DriverBoitierV2UI
{ {
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.Label label1;
private global::Gtk.Label labelT;
private global::Gtk.Table table1; private global::Gtk.Table table1;
private global::Gtk.Entry caseBrk; private global::Gtk.Entry caseBrk;
private global::Gtk.Entry caseMab; private global::Gtk.Entry caseMab;
private global::Gtk.ComboBox cbUnivers1; private global::Gtk.ComboBox cbUnivers1;
private global::Gtk.ComboBox cbUnivers2; private global::Gtk.ComboBox cbUnivers2;
private global::Gtk.CheckButton chkMerge1; private global::Gtk.CheckButton chkMerge1;
private global::Gtk.CheckButton chkMerge2; private global::Gtk.CheckButton chkMerge2;
private global::Gtk.Label label2; private global::Gtk.Label label2;
private global::Gtk.Label label3; private global::Gtk.Label label3;
private global::Gtk.Label label4; private global::Gtk.Label label4;
private global::Gtk.Label label5; private global::Gtk.Label label5;
private global::Gtk.Label label6; private global::Gtk.Label label6;
private global::Gtk.Label label7; private global::Gtk.Label label7;
private global::Gtk.Label label8; private global::Gtk.Label label8;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.Button btnValider; private global::Gtk.Button btnValider;
private global::Gtk.Button btnInit; private global::Gtk.Button btnInit;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.DriverBoitierV2UI // Widget DMX2.DriverBoitierV2UI
global::Stetic.BinContainer.Attach (this); global::Stetic.BinContainer.Attach(this);
this.Name = "DMX2.DriverBoitierV2UI"; this.Name = "DMX2.DriverBoitierV2UI";
// Container child DMX2.DriverBoitierV2UI.Gtk.Container+ContainerChild // Container child DMX2.DriverBoitierV2UI.Gtk.Container+ContainerChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.label1 = new global::Gtk.Label (); this.labelT = new global::Gtk.Label();
this.label1.Name = "label1"; this.labelT.Name = "labelT";
this.label1.LabelProp = "Driver V2"; this.labelT.LabelProp = "Driver V2";
this.vbox2.Add (this.label1); this.vbox2.Add(this.labelT);
global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelT]));
w1.Position = 0; w1.Position = 0;
w1.Expand = false; w1.Expand = false;
w1.Fill = false; w1.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.table1 = new global::Gtk.Table (((uint)(4)), ((uint)(5)), false); this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(5)), false);
this.table1.Name = "table1"; this.table1.Name = "table1";
this.table1.RowSpacing = ((uint)(6)); this.table1.RowSpacing = ((uint)(6));
this.table1.ColumnSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.caseBrk = new global::Gtk.Entry (); this.caseBrk = new global::Gtk.Entry();
this.caseBrk.CanFocus = true; this.caseBrk.CanFocus = true;
this.caseBrk.Name = "caseBrk"; this.caseBrk.Name = "caseBrk";
this.caseBrk.IsEditable = true; this.caseBrk.IsEditable = true;
this.caseBrk.InvisibleChar = '•'; this.caseBrk.InvisibleChar = '•';
this.table1.Add (this.caseBrk); this.table1.Add(this.caseBrk);
global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.caseBrk])); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.caseBrk]));
w2.TopAttach = ((uint)(1)); w2.TopAttach = ((uint)(1));
w2.BottomAttach = ((uint)(2)); w2.BottomAttach = ((uint)(2));
w2.LeftAttach = ((uint)(2)); w2.LeftAttach = ((uint)(2));
@ -63,13 +81,13 @@ namespace DMX2
w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4));
w2.YOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.caseMab = new global::Gtk.Entry (); this.caseMab = new global::Gtk.Entry();
this.caseMab.CanFocus = true; this.caseMab.CanFocus = true;
this.caseMab.Name = "caseMab"; this.caseMab.Name = "caseMab";
this.caseMab.IsEditable = true; this.caseMab.IsEditable = true;
this.caseMab.InvisibleChar = '•'; this.caseMab.InvisibleChar = '•';
this.table1.Add (this.caseMab); this.table1.Add(this.caseMab);
global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.caseMab])); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.caseMab]));
w3.TopAttach = ((uint)(1)); w3.TopAttach = ((uint)(1));
w3.BottomAttach = ((uint)(2)); w3.BottomAttach = ((uint)(2));
w3.LeftAttach = ((uint)(3)); w3.LeftAttach = ((uint)(3));
@ -77,10 +95,10 @@ namespace DMX2
w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4));
w3.YOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.cbUnivers1 = global::Gtk.ComboBox.NewText (); this.cbUnivers1 = global::Gtk.ComboBox.NewText();
this.cbUnivers1.Name = "cbUnivers1"; this.cbUnivers1.Name = "cbUnivers1";
this.table1.Add (this.cbUnivers1); this.table1.Add(this.cbUnivers1);
global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbUnivers1])); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.cbUnivers1]));
w4.TopAttach = ((uint)(1)); w4.TopAttach = ((uint)(1));
w4.BottomAttach = ((uint)(2)); w4.BottomAttach = ((uint)(2));
w4.LeftAttach = ((uint)(1)); w4.LeftAttach = ((uint)(1));
@ -88,10 +106,10 @@ namespace DMX2
w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4));
w4.YOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.cbUnivers2 = global::Gtk.ComboBox.NewText (); this.cbUnivers2 = global::Gtk.ComboBox.NewText();
this.cbUnivers2.Name = "cbUnivers2"; this.cbUnivers2.Name = "cbUnivers2";
this.table1.Add (this.cbUnivers2); this.table1.Add(this.cbUnivers2);
global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbUnivers2])); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.cbUnivers2]));
w5.TopAttach = ((uint)(2)); w5.TopAttach = ((uint)(2));
w5.BottomAttach = ((uint)(3)); w5.BottomAttach = ((uint)(3));
w5.LeftAttach = ((uint)(1)); w5.LeftAttach = ((uint)(1));
@ -99,14 +117,14 @@ namespace DMX2
w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4));
w5.YOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.chkMerge1 = new global::Gtk.CheckButton (); this.chkMerge1 = new global::Gtk.CheckButton();
this.chkMerge1.CanFocus = true; this.chkMerge1.CanFocus = true;
this.chkMerge1.Name = "chkMerge1"; this.chkMerge1.Name = "chkMerge1";
this.chkMerge1.Label = ""; this.chkMerge1.Label = "";
this.chkMerge1.DrawIndicator = true; this.chkMerge1.DrawIndicator = true;
this.chkMerge1.UseUnderline = true; this.chkMerge1.UseUnderline = true;
this.table1.Add (this.chkMerge1); this.table1.Add(this.chkMerge1);
global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkMerge1])); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.chkMerge1]));
w6.TopAttach = ((uint)(1)); w6.TopAttach = ((uint)(1));
w6.BottomAttach = ((uint)(2)); w6.BottomAttach = ((uint)(2));
w6.LeftAttach = ((uint)(4)); w6.LeftAttach = ((uint)(4));
@ -114,14 +132,14 @@ namespace DMX2
w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4));
w6.YOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.chkMerge2 = new global::Gtk.CheckButton (); this.chkMerge2 = new global::Gtk.CheckButton();
this.chkMerge2.CanFocus = true; this.chkMerge2.CanFocus = true;
this.chkMerge2.Name = "chkMerge2"; this.chkMerge2.Name = "chkMerge2";
this.chkMerge2.Label = ""; this.chkMerge2.Label = "";
this.chkMerge2.DrawIndicator = true; this.chkMerge2.DrawIndicator = true;
this.chkMerge2.UseUnderline = true; this.chkMerge2.UseUnderline = true;
this.table1.Add (this.chkMerge2); this.table1.Add(this.chkMerge2);
global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkMerge2])); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.chkMerge2]));
w7.TopAttach = ((uint)(2)); w7.TopAttach = ((uint)(2));
w7.BottomAttach = ((uint)(3)); w7.BottomAttach = ((uint)(3));
w7.LeftAttach = ((uint)(4)); w7.LeftAttach = ((uint)(4));
@ -129,115 +147,116 @@ namespace DMX2
w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4));
w7.YOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label2 = new global::Gtk.Label (); this.label2 = new global::Gtk.Label();
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.LabelProp = "Etat"; this.label2.LabelProp = "Etat";
this.table1.Add (this.label2); this.table1.Add(this.label2);
global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4));
w8.YOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label3 = new global::Gtk.Label (); this.label3 = new global::Gtk.Label();
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.LabelProp = "Univer associé"; this.label3.LabelProp = "Univer associé";
this.table1.Add (this.label3); this.table1.Add(this.label3);
global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
w9.LeftAttach = ((uint)(1)); w9.LeftAttach = ((uint)(1));
w9.RightAttach = ((uint)(2)); w9.RightAttach = ((uint)(2));
w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4));
w9.YOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label4 = new global::Gtk.Label (); this.label4 = new global::Gtk.Label();
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.LabelProp = "Break"; this.label4.LabelProp = "Break";
this.table1.Add (this.label4); this.table1.Add(this.label4);
global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
w10.LeftAttach = ((uint)(2)); w10.LeftAttach = ((uint)(2));
w10.RightAttach = ((uint)(3)); w10.RightAttach = ((uint)(3));
w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4));
w10.YOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label5 = new global::Gtk.Label (); this.label5 = new global::Gtk.Label();
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.LabelProp = "MAB"; this.label5.LabelProp = "MAB";
this.table1.Add (this.label5); this.table1.Add(this.label5);
global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
w11.LeftAttach = ((uint)(3)); w11.LeftAttach = ((uint)(3));
w11.RightAttach = ((uint)(4)); w11.RightAttach = ((uint)(4));
w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4));
w11.YOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label6 = new global::Gtk.Label (); this.label6 = new global::Gtk.Label();
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.LabelProp = "Block 1"; this.label6.LabelProp = "Block 1";
this.table1.Add (this.label6); this.table1.Add(this.label6);
global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label6]));
w12.TopAttach = ((uint)(1)); w12.TopAttach = ((uint)(1));
w12.BottomAttach = ((uint)(2)); w12.BottomAttach = ((uint)(2));
w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4));
w12.YOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label7 = new global::Gtk.Label (); this.label7 = new global::Gtk.Label();
this.label7.Name = "label7"; this.label7.Name = "label7";
this.label7.LabelProp = "Block 2"; this.label7.LabelProp = "Block 2";
this.table1.Add (this.label7); this.table1.Add(this.label7);
global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label7]));
w13.TopAttach = ((uint)(2)); w13.TopAttach = ((uint)(2));
w13.BottomAttach = ((uint)(3)); w13.BottomAttach = ((uint)(3));
w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4));
w13.YOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label8 = new global::Gtk.Label (); this.label8 = new global::Gtk.Label();
this.label8.Name = "label8"; this.label8.Name = "label8";
this.label8.LabelProp = "Merge"; this.label8.LabelProp = "Merge";
this.table1.Add (this.label8); this.table1.Add(this.label8);
global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label8]));
w14.LeftAttach = ((uint)(4)); w14.LeftAttach = ((uint)(4));
w14.RightAttach = ((uint)(5)); w14.RightAttach = ((uint)(5));
w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4));
w14.YOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4));
this.vbox2.Add (this.table1); this.vbox2.Add(this.table1);
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1]));
w15.Position = 1; w15.Position = 1;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.btnValider = new global::Gtk.Button (); this.btnValider = new global::Gtk.Button();
this.btnValider.CanFocus = true; this.btnValider.CanFocus = true;
this.btnValider.Name = "btnValider"; this.btnValider.Name = "btnValider";
this.btnValider.UseUnderline = true; this.btnValider.UseUnderline = true;
this.btnValider.Label = "Valider"; this.btnValider.Label = "Valider";
this.hbox1.Add (this.btnValider); this.hbox1.Add(this.btnValider);
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnValider])); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnValider]));
w16.Position = 1; w16.Position = 1;
w16.Expand = false; w16.Expand = false;
w16.Fill = false; w16.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.btnInit = new global::Gtk.Button (); this.btnInit = new global::Gtk.Button();
this.btnInit.CanFocus = true; this.btnInit.CanFocus = true;
this.btnInit.Name = "btnInit"; this.btnInit.Name = "btnInit";
this.btnInit.UseUnderline = true; this.btnInit.UseUnderline = true;
this.btnInit.Label = "Init Boitier"; this.btnInit.Label = "Init Boitier";
this.hbox1.Add (this.btnInit); this.hbox1.Add(this.btnInit);
global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnInit])); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnInit]));
w17.Position = 2; w17.Position = 2;
w17.Expand = false; w17.Expand = false;
w17.Fill = false; w17.Fill = false;
this.vbox2.Add (this.hbox1); this.vbox2.Add(this.hbox1);
global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
w18.PackType = ((global::Gtk.PackType)(1)); w18.PackType = ((global::Gtk.PackType)(1));
w18.Position = 2; w18.Position = 2;
w18.Expand = false; w18.Expand = false;
w18.Fill = false; w18.Fill = false;
this.Add (this.vbox2); this.Add(this.vbox2);
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.Hide (); this.Hide();
this.btnValider.Clicked += new global::System.EventHandler (this.OnButtonValider); this.btnValider.Clicked += new global::System.EventHandler(this.OnButtonValider);
this.btnInit.Clicked += new global::System.EventHandler (this.OnBtnInitClicked); this.btnInit.Clicked += new global::System.EventHandler(this.OnBtnInitClicked);
} }
} }
} }

View file

@ -5,60 +5,81 @@ namespace DMX2
public partial class DriverBoitierV3UI public partial class DriverBoitierV3UI
{ {
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.Label label1;
private global::Gtk.Label labelT;
private global::Gtk.Table table1; private global::Gtk.Table table1;
private global::Gtk.Entry caseBrk; private global::Gtk.Entry caseBrk;
private global::Gtk.Entry caseCircuits; private global::Gtk.Entry caseCircuits;
private global::Gtk.Entry caseDMXInt; private global::Gtk.Entry caseDMXInt;
private global::Gtk.Entry caseMab; private global::Gtk.Entry caseMab;
private global::Gtk.Entry caseUSBRef; private global::Gtk.Entry caseUSBRef;
private global::Gtk.ComboBox cbUnivers1; private global::Gtk.ComboBox cbUnivers1;
private global::Gtk.CheckButton chkMerge1; private global::Gtk.CheckButton chkMerge1;
private global::Gtk.CheckButton chkSync; private global::Gtk.CheckButton chkSync;
private global::Gtk.Label label10; private global::Gtk.Label label10;
private global::Gtk.Label label3; private global::Gtk.Label label3;
private global::Gtk.Label label4; private global::Gtk.Label label4;
private global::Gtk.Label label5; private global::Gtk.Label label5;
private global::Gtk.Label label8; private global::Gtk.Label label8;
private global::Gtk.Label label9; private global::Gtk.Label label9;
private global::Gtk.Label labelsync; private global::Gtk.Label labelsync;
private global::Gtk.Label lblDMX; private global::Gtk.Label lblDMX;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.Button btnValider; private global::Gtk.Button btnValider;
private global::Gtk.Button btnInit; private global::Gtk.Button btnInit;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.DriverBoitierV3UI // Widget DMX2.DriverBoitierV3UI
global::Stetic.BinContainer.Attach (this); global::Stetic.BinContainer.Attach(this);
this.Name = "DMX2.DriverBoitierV3UI"; this.Name = "DMX2.DriverBoitierV3UI";
// Container child DMX2.DriverBoitierV3UI.Gtk.Container+ContainerChild // Container child DMX2.DriverBoitierV3UI.Gtk.Container+ContainerChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.label1 = new global::Gtk.Label (); this.labelT = new global::Gtk.Label();
this.label1.Name = "label1"; this.labelT.Name = "labelT";
this.label1.LabelProp = "Driver V3"; this.labelT.LabelProp = "Driver V3";
this.vbox2.Add (this.label1); this.vbox2.Add(this.labelT);
global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.labelT]));
w1.Position = 0; w1.Position = 0;
w1.Expand = false; w1.Expand = false;
w1.Fill = false; w1.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.table1 = new global::Gtk.Table (((uint)(5)), ((uint)(4)), false); this.table1 = new global::Gtk.Table(((uint)(5)), ((uint)(4)), false);
this.table1.Name = "table1"; this.table1.Name = "table1";
this.table1.RowSpacing = ((uint)(6)); this.table1.RowSpacing = ((uint)(6));
this.table1.ColumnSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.caseBrk = new global::Gtk.Entry (); this.caseBrk = new global::Gtk.Entry();
this.caseBrk.CanFocus = true; this.caseBrk.CanFocus = true;
this.caseBrk.Name = "caseBrk"; this.caseBrk.Name = "caseBrk";
this.caseBrk.IsEditable = true; this.caseBrk.IsEditable = true;
this.caseBrk.InvisibleChar = '•'; this.caseBrk.InvisibleChar = '•';
this.table1.Add (this.caseBrk); this.table1.Add(this.caseBrk);
global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.caseBrk])); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.caseBrk]));
w2.TopAttach = ((uint)(1)); w2.TopAttach = ((uint)(1));
w2.BottomAttach = ((uint)(2)); w2.BottomAttach = ((uint)(2));
w2.LeftAttach = ((uint)(1)); w2.LeftAttach = ((uint)(1));
@ -66,50 +87,50 @@ namespace DMX2
w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4));
w2.YOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.caseCircuits = new global::Gtk.Entry (); this.caseCircuits = new global::Gtk.Entry();
this.caseCircuits.CanFocus = true; this.caseCircuits.CanFocus = true;
this.caseCircuits.Name = "caseCircuits"; this.caseCircuits.Name = "caseCircuits";
this.caseCircuits.IsEditable = true; this.caseCircuits.IsEditable = true;
this.caseCircuits.InvisibleChar = '•'; this.caseCircuits.InvisibleChar = '•';
this.table1.Add (this.caseCircuits); this.table1.Add(this.caseCircuits);
global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.caseCircuits])); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.caseCircuits]));
w3.LeftAttach = ((uint)(3)); w3.LeftAttach = ((uint)(3));
w3.RightAttach = ((uint)(4)); w3.RightAttach = ((uint)(4));
w3.YOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.caseDMXInt = new global::Gtk.Entry (); this.caseDMXInt = new global::Gtk.Entry();
this.caseDMXInt.CanFocus = true; this.caseDMXInt.CanFocus = true;
this.caseDMXInt.Name = "caseDMXInt"; this.caseDMXInt.Name = "caseDMXInt";
this.caseDMXInt.IsEditable = true; this.caseDMXInt.IsEditable = true;
this.caseDMXInt.InvisibleChar = '•'; this.caseDMXInt.InvisibleChar = '•';
this.table1.Add (this.caseDMXInt); this.table1.Add(this.caseDMXInt);
global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.caseDMXInt])); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.caseDMXInt]));
w4.TopAttach = ((uint)(3)); w4.TopAttach = ((uint)(3));
w4.BottomAttach = ((uint)(4)); w4.BottomAttach = ((uint)(4));
w4.LeftAttach = ((uint)(3)); w4.LeftAttach = ((uint)(3));
w4.RightAttach = ((uint)(4)); w4.RightAttach = ((uint)(4));
w4.YOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.caseMab = new global::Gtk.Entry (); this.caseMab = new global::Gtk.Entry();
this.caseMab.CanFocus = true; this.caseMab.CanFocus = true;
this.caseMab.Name = "caseMab"; this.caseMab.Name = "caseMab";
this.caseMab.IsEditable = true; this.caseMab.IsEditable = true;
this.caseMab.InvisibleChar = '•'; this.caseMab.InvisibleChar = '•';
this.table1.Add (this.caseMab); this.table1.Add(this.caseMab);
global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.caseMab])); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.caseMab]));
w5.TopAttach = ((uint)(1)); w5.TopAttach = ((uint)(1));
w5.BottomAttach = ((uint)(2)); w5.BottomAttach = ((uint)(2));
w5.LeftAttach = ((uint)(3)); w5.LeftAttach = ((uint)(3));
w5.RightAttach = ((uint)(4)); w5.RightAttach = ((uint)(4));
w5.YOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.caseUSBRef = new global::Gtk.Entry (); this.caseUSBRef = new global::Gtk.Entry();
this.caseUSBRef.CanFocus = true; this.caseUSBRef.CanFocus = true;
this.caseUSBRef.Name = "caseUSBRef"; this.caseUSBRef.Name = "caseUSBRef";
this.caseUSBRef.IsEditable = true; this.caseUSBRef.IsEditable = true;
this.caseUSBRef.InvisibleChar = '•'; this.caseUSBRef.InvisibleChar = '•';
this.table1.Add (this.caseUSBRef); this.table1.Add(this.caseUSBRef);
global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.caseUSBRef])); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.caseUSBRef]));
w6.TopAttach = ((uint)(3)); w6.TopAttach = ((uint)(3));
w6.BottomAttach = ((uint)(4)); w6.BottomAttach = ((uint)(4));
w6.LeftAttach = ((uint)(1)); w6.LeftAttach = ((uint)(1));
@ -117,37 +138,37 @@ namespace DMX2
w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4));
w6.YOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.cbUnivers1 = global::Gtk.ComboBox.NewText (); this.cbUnivers1 = global::Gtk.ComboBox.NewText();
this.cbUnivers1.Name = "cbUnivers1"; this.cbUnivers1.Name = "cbUnivers1";
this.table1.Add (this.cbUnivers1); this.table1.Add(this.cbUnivers1);
global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.cbUnivers1])); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.cbUnivers1]));
w7.LeftAttach = ((uint)(1)); w7.LeftAttach = ((uint)(1));
w7.RightAttach = ((uint)(2)); w7.RightAttach = ((uint)(2));
w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4));
w7.YOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.chkMerge1 = new global::Gtk.CheckButton (); this.chkMerge1 = new global::Gtk.CheckButton();
this.chkMerge1.CanFocus = true; this.chkMerge1.CanFocus = true;
this.chkMerge1.Name = "chkMerge1"; this.chkMerge1.Name = "chkMerge1";
this.chkMerge1.Label = ""; this.chkMerge1.Label = "";
this.chkMerge1.DrawIndicator = true; this.chkMerge1.DrawIndicator = true;
this.chkMerge1.UseUnderline = true; this.chkMerge1.UseUnderline = true;
this.table1.Add (this.chkMerge1); this.table1.Add(this.chkMerge1);
global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkMerge1])); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.chkMerge1]));
w8.TopAttach = ((uint)(2)); w8.TopAttach = ((uint)(2));
w8.BottomAttach = ((uint)(3)); w8.BottomAttach = ((uint)(3));
w8.LeftAttach = ((uint)(3)); w8.LeftAttach = ((uint)(3));
w8.RightAttach = ((uint)(4)); w8.RightAttach = ((uint)(4));
w8.YOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.chkSync = new global::Gtk.CheckButton (); this.chkSync = new global::Gtk.CheckButton();
this.chkSync.CanFocus = true; this.chkSync.CanFocus = true;
this.chkSync.Name = "chkSync"; this.chkSync.Name = "chkSync";
this.chkSync.Label = ""; this.chkSync.Label = "";
this.chkSync.DrawIndicator = true; this.chkSync.DrawIndicator = true;
this.chkSync.UseUnderline = true; this.chkSync.UseUnderline = true;
this.table1.Add (this.chkSync); this.table1.Add(this.chkSync);
global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.chkSync])); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.chkSync]));
w9.TopAttach = ((uint)(2)); w9.TopAttach = ((uint)(2));
w9.BottomAttach = ((uint)(3)); w9.BottomAttach = ((uint)(3));
w9.LeftAttach = ((uint)(1)); w9.LeftAttach = ((uint)(1));
@ -155,39 +176,39 @@ namespace DMX2
w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4));
w9.YOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label10 = new global::Gtk.Label (); this.label10 = new global::Gtk.Label();
this.label10.Name = "label10"; this.label10.Name = "label10";
this.label10.LabelProp = "Freq. USB (ms)"; this.label10.LabelProp = "Freq. USB (ms)";
this.table1.Add (this.label10); this.table1.Add(this.label10);
global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10])); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.label10]));
w10.TopAttach = ((uint)(3)); w10.TopAttach = ((uint)(3));
w10.BottomAttach = ((uint)(4)); w10.BottomAttach = ((uint)(4));
w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4));
w10.YOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label3 = new global::Gtk.Label (); this.label3 = new global::Gtk.Label();
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.LabelProp = "Univer associé"; this.label3.LabelProp = "Univer associé";
this.table1.Add (this.label3); this.table1.Add(this.label3);
global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.label3]));
w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4));
w11.YOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label4 = new global::Gtk.Label (); this.label4 = new global::Gtk.Label();
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.LabelProp = "Break (µs)"; this.label4.LabelProp = "Break (µs)";
this.table1.Add (this.label4); this.table1.Add(this.label4);
global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.label4]));
w12.TopAttach = ((uint)(1)); w12.TopAttach = ((uint)(1));
w12.BottomAttach = ((uint)(2)); w12.BottomAttach = ((uint)(2));
w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4));
w12.YOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label5 = new global::Gtk.Label (); this.label5 = new global::Gtk.Label();
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.LabelProp = "MAB (µs)"; this.label5.LabelProp = "MAB (µs)";
this.table1.Add (this.label5); this.table1.Add(this.label5);
global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
w13.TopAttach = ((uint)(1)); w13.TopAttach = ((uint)(1));
w13.BottomAttach = ((uint)(2)); w13.BottomAttach = ((uint)(2));
w13.LeftAttach = ((uint)(2)); w13.LeftAttach = ((uint)(2));
@ -195,11 +216,11 @@ namespace DMX2
w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.XOptions = ((global::Gtk.AttachOptions)(4));
w13.YOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label8 = new global::Gtk.Label (); this.label8 = new global::Gtk.Label();
this.label8.Name = "label8"; this.label8.Name = "label8";
this.label8.LabelProp = "Merge"; this.label8.LabelProp = "Merge";
this.table1.Add (this.label8); this.table1.Add(this.label8);
global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.label8]));
w14.TopAttach = ((uint)(2)); w14.TopAttach = ((uint)(2));
w14.BottomAttach = ((uint)(3)); w14.BottomAttach = ((uint)(3));
w14.LeftAttach = ((uint)(2)); w14.LeftAttach = ((uint)(2));
@ -207,83 +228,84 @@ namespace DMX2
w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.XOptions = ((global::Gtk.AttachOptions)(4));
w14.YOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.label9 = new global::Gtk.Label (); this.label9 = new global::Gtk.Label();
this.label9.Name = "label9"; this.label9.Name = "label9";
this.label9.LabelProp = "Circuits"; this.label9.LabelProp = "Circuits";
this.table1.Add (this.label9); this.table1.Add(this.label9);
global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.label9]));
w15.LeftAttach = ((uint)(2)); w15.LeftAttach = ((uint)(2));
w15.RightAttach = ((uint)(3)); w15.RightAttach = ((uint)(3));
w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4));
w15.YOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.labelsync = new global::Gtk.Label (); this.labelsync = new global::Gtk.Label();
this.labelsync.Name = "labelsync"; this.labelsync.Name = "labelsync";
this.labelsync.LabelProp = "Syncro\nDMX<->USB"; this.labelsync.LabelProp = "Syncro\nDMX<->USB";
this.table1.Add (this.labelsync); this.table1.Add(this.labelsync);
global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelsync])); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.labelsync]));
w16.TopAttach = ((uint)(2)); w16.TopAttach = ((uint)(2));
w16.BottomAttach = ((uint)(3)); w16.BottomAttach = ((uint)(3));
w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4));
w16.YOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.lblDMX = new global::Gtk.Label (); this.lblDMX = new global::Gtk.Label();
this.lblDMX.Name = "lblDMX"; this.lblDMX.Name = "lblDMX";
this.lblDMX.LabelProp = "Intervale entre\ntrames DMX (ms)"; this.lblDMX.LabelProp = "Intervale entre\ntrames DMX (ms)";
this.table1.Add (this.lblDMX); this.table1.Add(this.lblDMX);
global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.lblDMX])); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.lblDMX]));
w17.TopAttach = ((uint)(3)); w17.TopAttach = ((uint)(3));
w17.BottomAttach = ((uint)(4)); w17.BottomAttach = ((uint)(4));
w17.LeftAttach = ((uint)(2)); w17.LeftAttach = ((uint)(2));
w17.RightAttach = ((uint)(3)); w17.RightAttach = ((uint)(3));
w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.XOptions = ((global::Gtk.AttachOptions)(4));
w17.YOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4));
this.vbox2.Add (this.table1); this.vbox2.Add(this.table1);
global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table1])); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1]));
w18.Position = 1; w18.Position = 1;
w18.Expand = false; w18.Expand = false;
w18.Fill = false; w18.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.btnValider = new global::Gtk.Button (); this.btnValider = new global::Gtk.Button();
this.btnValider.CanFocus = true; this.btnValider.CanFocus = true;
this.btnValider.Name = "btnValider"; this.btnValider.Name = "btnValider";
this.btnValider.UseUnderline = true; this.btnValider.UseUnderline = true;
this.btnValider.Label = "Valider"; this.btnValider.Label = "Valider";
this.hbox1.Add (this.btnValider); this.hbox1.Add(this.btnValider);
global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnValider])); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnValider]));
w19.Position = 1; w19.Position = 1;
w19.Expand = false; w19.Expand = false;
w19.Fill = false; w19.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.btnInit = new global::Gtk.Button (); this.btnInit = new global::Gtk.Button();
this.btnInit.CanFocus = true; this.btnInit.CanFocus = true;
this.btnInit.Name = "btnInit"; this.btnInit.Name = "btnInit";
this.btnInit.UseUnderline = true; this.btnInit.UseUnderline = true;
this.btnInit.Label = "Init Boitier"; this.btnInit.Label = "Init Boitier";
this.hbox1.Add (this.btnInit); this.hbox1.Add(this.btnInit);
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnInit])); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnInit]));
w20.Position = 2; w20.Position = 2;
w20.Expand = false; w20.Expand = false;
w20.Fill = false; w20.Fill = false;
this.vbox2.Add (this.hbox1); this.vbox2.Add(this.hbox1);
global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
w21.PackType = ((global::Gtk.PackType)(1)); w21.PackType = ((global::Gtk.PackType)(1));
w21.Position = 2; w21.Position = 2;
w21.Expand = false; w21.Expand = false;
w21.Fill = false; w21.Fill = false;
this.Add (this.vbox2); this.Add(this.vbox2);
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.Hide (); this.Hide();
this.chkSync.Toggled += new global::System.EventHandler (this.OnChkSyncToggled); this.chkSync.Toggled += new global::System.EventHandler(this.OnChkSyncToggled);
this.caseUSBRef.Changed += new global::System.EventHandler (this.OnCaseUSBRefChanged); this.caseUSBRef.Changed += new global::System.EventHandler(this.OnCaseUSBRefChanged);
this.btnValider.Clicked += new global::System.EventHandler (this.OnButtonValider); this.btnValider.Clicked += new global::System.EventHandler(this.OnButtonValider);
this.btnInit.Clicked += new global::System.EventHandler (this.OnBtnInitClicked); this.btnInit.Clicked += new global::System.EventHandler(this.OnBtnInitClicked);
} }
} }
} }

View file

@ -5,42 +5,69 @@ namespace DMX2
public partial class EditionUnivers public partial class EditionUnivers
{ {
private global::Gtk.UIManager UIManager; private global::Gtk.UIManager UIManager;
private global::Gtk.HBox hbox2; private global::Gtk.HBox hbox2;
private global::Gtk.Label label1;
private global::Gtk.Label labelU;
private global::Gtk.ComboBox cbUnivers; private global::Gtk.ComboBox cbUnivers;
private global::Gtk.HBox hbox3; private global::Gtk.HBox hbox3;
private global::Gtk.Button btAdd; private global::Gtk.Button btAdd;
private global::Gtk.Button btDel; private global::Gtk.Button btDel;
private global::Gtk.Button btReset; private global::Gtk.Button btReset;
private global::Gtk.Button btPatchDroit; private global::Gtk.Button btPatchDroit;
private global::Gtk.HSeparator hseparator1; private global::Gtk.HSeparator hseparator1;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.ToggleButton btAllume; private global::Gtk.ToggleButton btAllume;
private global::Gtk.SpinButton spinDimmer; private global::Gtk.SpinButton spinDimmer;
private global::Gtk.Label label6; private global::Gtk.Label label6;
private global::Gtk.ComboBox cbCircuit; private global::Gtk.ComboBox cbCircuit;
private global::Gtk.ComboBox cbFT; private global::Gtk.ComboBox cbFT;
private global::Gtk.Label lbParam1; private global::Gtk.Label lbParam1;
private global::Gtk.Entry txtParam1; private global::Gtk.Entry txtParam1;
private global::Gtk.Label lbParam2; private global::Gtk.Label lbParam2;
private global::Gtk.Entry txtParam2; private global::Gtk.Entry txtParam2;
private global::Gtk.Notebook notebook1; private global::Gtk.Notebook notebook1;
private global::Gtk.ScrolledWindow GtkScrolledWindow; private global::Gtk.ScrolledWindow GtkScrolledWindow;
private global::Gtk.TreeView tvDimm; private global::Gtk.TreeView tvDimm;
private global::Gtk.Label label2; private global::Gtk.Label label2;
private global::Gtk.ScrolledWindow GtkScrolledWindow1; private global::Gtk.ScrolledWindow GtkScrolledWindow1;
private global::Gtk.TreeView tvCircuits; private global::Gtk.TreeView tvCircuits;
private global::Gtk.Label label5; private global::Gtk.Label label5;
private global::Gtk.Button buttonCancel; private global::Gtk.Button buttonCancel;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.EditionUnivers // Widget DMX2.EditionUnivers
this.UIManager = new global::Gtk.UIManager (); this.UIManager = new global::Gtk.UIManager();
global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
this.UIManager.InsertActionGroup (w1, 0); this.UIManager.InsertActionGroup(w1, 0);
this.AddAccelGroup (this.UIManager.AccelGroup); this.AddAccelGroup(this.UIManager.AccelGroup);
this.Name = "DMX2.EditionUnivers"; this.Name = "DMX2.EditionUnivers";
this.TypeHint = ((global::Gdk.WindowTypeHint)(5)); this.TypeHint = ((global::Gdk.WindowTypeHint)(5));
this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.WindowPosition = ((global::Gtk.WindowPosition)(4));
@ -49,341 +76,282 @@ namespace DMX2
w2.Name = "dialog1_VBox"; w2.Name = "dialog1_VBox";
w2.BorderWidth = ((uint)(2)); w2.BorderWidth = ((uint)(2));
// Container child dialog1_VBox.Gtk.Box+BoxChild // Container child dialog1_VBox.Gtk.Box+BoxChild
this.hbox2 = new global::Gtk.HBox (); this.hbox2 = new global::Gtk.HBox();
this.hbox2.Name = "hbox2"; this.hbox2.Name = "hbox2";
this.hbox2.Spacing = 6; this.hbox2.Spacing = 6;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.label1 = new global::Gtk.Label (); this.labelU = new global::Gtk.Label();
this.label1.Name = "label1"; this.labelU.Name = "labelU";
this.label1.LabelProp = "Univers :"; this.labelU.LabelProp = "Univers :";
this.hbox2.Add (this.label1); this.hbox2.Add(this.labelU);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.labelU]));
w3.Position = 0; w3.Position = 0;
w3.Expand = false; w3.Expand = false;
w3.Fill = false; w3.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.cbUnivers = global::Gtk.ComboBox.NewText (); this.cbUnivers = global::Gtk.ComboBox.NewText();
this.cbUnivers.Name = "cbUnivers"; this.cbUnivers.Name = "cbUnivers";
this.hbox2.Add (this.cbUnivers); this.hbox2.Add(this.cbUnivers);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.cbUnivers])); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.cbUnivers]));
w4.Position = 1; w4.Position = 1;
w4.Expand = false; w4.Expand = false;
w4.Fill = false; w4.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.hbox3 = new global::Gtk.HBox (); this.hbox3 = new global::Gtk.HBox();
this.hbox3.Name = "hbox3"; this.hbox3.Name = "hbox3";
this.hbox3.Spacing = 6; this.hbox3.Spacing = 6;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btAdd = new global::Gtk.Button (); this.btAdd = new global::Gtk.Button();
this.btAdd.CanFocus = true; this.btAdd.CanFocus = true;
this.btAdd.Name = "btAdd"; this.btAdd.Name = "btAdd";
this.btAdd.UseUnderline = true; this.btAdd.UseUnderline = true;
// Container child btAdd.Gtk.Container+ContainerChild this.btAdd.Label = "Nouvel Univers";
global::Gtk.Alignment w5 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w5 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w5.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
global::Gtk.HBox w6 = new global::Gtk.HBox (); this.btAdd.Image = w5;
w6.Spacing = 2; this.hbox3.Add(this.btAdd);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btAdd]));
global::Gtk.Image w7 = new global::Gtk.Image (); w6.Position = 0;
w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu); w6.Expand = false;
w6.Add (w7); w6.Fill = false;
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w9 = new global::Gtk.Label ();
w9.LabelProp = "Nouvel Univers";
w9.UseUnderline = true;
w6.Add (w9);
w5.Add (w6);
this.btAdd.Add (w5);
this.hbox3.Add (this.btAdd);
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btAdd]));
w13.Position = 0;
w13.Expand = false;
w13.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btDel = new global::Gtk.Button (); this.btDel = new global::Gtk.Button();
this.btDel.Sensitive = false; this.btDel.Sensitive = false;
this.btDel.CanFocus = true; this.btDel.CanFocus = true;
this.btDel.Name = "btDel"; this.btDel.Name = "btDel";
this.btDel.UseUnderline = true; this.btDel.UseUnderline = true;
// Container child btDel.Gtk.Container+ContainerChild this.btDel.Label = "Supprimer";
global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w7 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu);
global::Gtk.HBox w15 = new global::Gtk.HBox (); this.btDel.Image = w7;
w15.Spacing = 2; this.hbox3.Add(this.btDel);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btDel]));
global::Gtk.Image w16 = new global::Gtk.Image (); w8.Position = 1;
w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Menu); w8.Expand = false;
w15.Add (w16); w8.Fill = false;
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w18 = new global::Gtk.Label ();
w18.LabelProp = "Supprimer";
w18.UseUnderline = true;
w15.Add (w18);
w14.Add (w15);
this.btDel.Add (w14);
this.hbox3.Add (this.btDel);
global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btDel]));
w22.Position = 1;
w22.Expand = false;
w22.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btReset = new global::Gtk.Button (); this.btReset = new global::Gtk.Button();
this.btReset.CanFocus = true; this.btReset.CanFocus = true;
this.btReset.Name = "btReset"; this.btReset.Name = "btReset";
this.btReset.UseUnderline = true; this.btReset.UseUnderline = true;
// Container child btReset.Gtk.Container+ContainerChild this.btReset.Label = "Réinitialiser";
global::Gtk.Alignment w23 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w9 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu);
global::Gtk.HBox w24 = new global::Gtk.HBox (); this.btReset.Image = w9;
w24.Spacing = 2; this.hbox3.Add(this.btReset);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btReset]));
global::Gtk.Image w25 = new global::Gtk.Image (); w10.PackType = ((global::Gtk.PackType)(1));
w25.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); w10.Position = 3;
w24.Add (w25); w10.Expand = false;
// Container child GtkHBox.Gtk.Container+ContainerChild w10.Fill = false;
global::Gtk.Label w27 = new global::Gtk.Label ();
w27.LabelProp = "Réinitialiser";
w27.UseUnderline = true;
w24.Add (w27);
w23.Add (w24);
this.btReset.Add (w23);
this.hbox3.Add (this.btReset);
global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btReset]));
w31.PackType = ((global::Gtk.PackType)(1));
w31.Position = 3;
w31.Expand = false;
w31.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btPatchDroit = new global::Gtk.Button (); this.btPatchDroit = new global::Gtk.Button();
this.btPatchDroit.CanFocus = true; this.btPatchDroit.CanFocus = true;
this.btPatchDroit.Name = "btPatchDroit"; this.btPatchDroit.Name = "btPatchDroit";
this.btPatchDroit.UseUnderline = true; this.btPatchDroit.UseUnderline = true;
// Container child btPatchDroit.Gtk.Container+ContainerChild this.btPatchDroit.Label = "Patch Droit";
global::Gtk.Alignment w32 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w11 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-sort-ascending", global::Gtk.IconSize.Menu);
global::Gtk.HBox w33 = new global::Gtk.HBox (); this.btPatchDroit.Image = w11;
w33.Spacing = 2; this.hbox3.Add(this.btPatchDroit);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btPatchDroit]));
global::Gtk.Image w34 = new global::Gtk.Image (); w12.PackType = ((global::Gtk.PackType)(1));
w34.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-sort-ascending", global::Gtk.IconSize.Menu); w12.Position = 4;
w33.Add (w34); w12.Expand = false;
// Container child GtkHBox.Gtk.Container+ContainerChild w12.Fill = false;
global::Gtk.Label w36 = new global::Gtk.Label (); this.hbox2.Add(this.hbox3);
w36.LabelProp = "Patch Droit"; global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.hbox3]));
w36.UseUnderline = true; w13.Position = 2;
w33.Add (w36); w2.Add(this.hbox2);
w32.Add (w33); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(w2[this.hbox2]));
this.btPatchDroit.Add (w32); w14.Position = 0;
this.hbox3.Add (this.btPatchDroit); w14.Expand = false;
global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btPatchDroit])); w14.Fill = false;
w40.PackType = ((global::Gtk.PackType)(1));
w40.Position = 4;
w40.Expand = false;
w40.Fill = false;
this.hbox2.Add (this.hbox3);
global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.hbox3]));
w41.Position = 2;
w2.Add (this.hbox2);
global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(w2 [this.hbox2]));
w42.Position = 0;
w42.Expand = false;
w42.Fill = false;
// Container child dialog1_VBox.Gtk.Box+BoxChild // Container child dialog1_VBox.Gtk.Box+BoxChild
this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1 = new global::Gtk.HSeparator();
this.hseparator1.HeightRequest = 24; this.hseparator1.HeightRequest = 24;
this.hseparator1.Name = "hseparator1"; this.hseparator1.Name = "hseparator1";
w2.Add (this.hseparator1); w2.Add(this.hseparator1);
global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(w2 [this.hseparator1])); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(w2[this.hseparator1]));
w43.Position = 1; w15.Position = 1;
w43.Expand = false; w15.Expand = false;
w43.Fill = false; w15.Fill = false;
// Container child dialog1_VBox.Gtk.Box+BoxChild // Container child dialog1_VBox.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.btAllume = new global::Gtk.ToggleButton (); this.btAllume = new global::Gtk.ToggleButton();
this.btAllume.CanFocus = true; this.btAllume.CanFocus = true;
this.btAllume.Name = "btAllume"; this.btAllume.Name = "btAllume";
this.btAllume.UseUnderline = true; this.btAllume.UseUnderline = true;
// Container child btAllume.Gtk.Container+ContainerChild this.btAllume.Label = "Allumer !";
global::Gtk.Alignment w44 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w16 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-find", global::Gtk.IconSize.Menu);
global::Gtk.HBox w45 = new global::Gtk.HBox (); this.btAllume.Image = w16;
w45.Spacing = 2; this.hbox1.Add(this.btAllume);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btAllume]));
global::Gtk.Image w46 = new global::Gtk.Image (); w17.Position = 0;
w46.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-find", global::Gtk.IconSize.Menu); w17.Expand = false;
w45.Add (w46); w17.Fill = false;
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w48 = new global::Gtk.Label ();
w48.LabelProp = "Allumer !";
w48.UseUnderline = true;
w45.Add (w48);
w44.Add (w45);
this.btAllume.Add (w44);
this.hbox1.Add (this.btAllume);
global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btAllume]));
w52.Position = 0;
w52.Expand = false;
w52.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.spinDimmer = new global::Gtk.SpinButton (1, 512, 1); this.spinDimmer = new global::Gtk.SpinButton(1D, 512D, 1D);
this.spinDimmer.CanFocus = true; this.spinDimmer.CanFocus = true;
this.spinDimmer.Name = "spinDimmer"; this.spinDimmer.Name = "spinDimmer";
this.spinDimmer.Adjustment.PageIncrement = 10; this.spinDimmer.Adjustment.PageIncrement = 10D;
this.spinDimmer.ClimbRate = 1; this.spinDimmer.ClimbRate = 1D;
this.spinDimmer.Numeric = true; this.spinDimmer.Numeric = true;
this.spinDimmer.Value = 1; this.spinDimmer.Value = 1D;
this.hbox1.Add (this.spinDimmer); this.hbox1.Add(this.spinDimmer);
global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.spinDimmer])); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.spinDimmer]));
w53.Position = 1; w18.Position = 1;
w53.Expand = false; w18.Expand = false;
w53.Fill = false; w18.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.label6 = new global::Gtk.Label (); this.label6 = new global::Gtk.Label();
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.LabelProp = "Circuit :"; this.label6.LabelProp = "Circuit :";
this.hbox1.Add (this.label6); this.hbox1.Add(this.label6);
global::Gtk.Box.BoxChild w54 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label6])); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.label6]));
w54.Position = 2; w19.Position = 2;
w54.Expand = false; w19.Expand = false;
w54.Fill = false; w19.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.cbCircuit = global::Gtk.ComboBox.NewText (); this.cbCircuit = global::Gtk.ComboBox.NewText();
this.cbCircuit.Name = "cbCircuit"; this.cbCircuit.Name = "cbCircuit";
this.hbox1.Add (this.cbCircuit); this.hbox1.Add(this.cbCircuit);
global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cbCircuit])); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cbCircuit]));
w55.Position = 3; w20.Position = 3;
w55.Expand = false; w20.Expand = false;
w55.Fill = false; w20.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.cbFT = global::Gtk.ComboBox.NewText (); this.cbFT = global::Gtk.ComboBox.NewText();
this.cbFT.Name = "cbFT"; this.cbFT.Name = "cbFT";
this.hbox1.Add (this.cbFT); this.hbox1.Add(this.cbFT);
global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cbFT])); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.cbFT]));
w56.Position = 4; w21.Position = 4;
w56.Expand = false; w21.Expand = false;
w56.Fill = false; w21.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.lbParam1 = new global::Gtk.Label (); this.lbParam1 = new global::Gtk.Label();
this.lbParam1.Name = "lbParam1"; this.lbParam1.Name = "lbParam1";
this.lbParam1.LabelProp = "param 1"; this.lbParam1.LabelProp = "param 1";
this.hbox1.Add (this.lbParam1); this.hbox1.Add(this.lbParam1);
global::Gtk.Box.BoxChild w57 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.lbParam1])); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lbParam1]));
w57.Position = 5; w22.Position = 5;
w57.Expand = false; w22.Expand = false;
w57.Fill = false; w22.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.txtParam1 = new global::Gtk.Entry (); this.txtParam1 = new global::Gtk.Entry();
this.txtParam1.CanFocus = true; this.txtParam1.CanFocus = true;
this.txtParam1.Name = "txtParam1"; this.txtParam1.Name = "txtParam1";
this.txtParam1.IsEditable = true; this.txtParam1.IsEditable = true;
this.txtParam1.InvisibleChar = '•'; this.txtParam1.InvisibleChar = '•';
this.hbox1.Add (this.txtParam1); this.hbox1.Add(this.txtParam1);
global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.txtParam1])); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.txtParam1]));
w58.Position = 6; w23.Position = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.lbParam2 = new global::Gtk.Label (); this.lbParam2 = new global::Gtk.Label();
this.lbParam2.Name = "lbParam2"; this.lbParam2.Name = "lbParam2";
this.lbParam2.LabelProp = "param2"; this.lbParam2.LabelProp = "param2";
this.hbox1.Add (this.lbParam2); this.hbox1.Add(this.lbParam2);
global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.lbParam2])); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.lbParam2]));
w59.Position = 7; w24.Position = 7;
w59.Expand = false; w24.Expand = false;
w59.Fill = false; w24.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.txtParam2 = new global::Gtk.Entry (); this.txtParam2 = new global::Gtk.Entry();
this.txtParam2.CanFocus = true; this.txtParam2.CanFocus = true;
this.txtParam2.Name = "txtParam2"; this.txtParam2.Name = "txtParam2";
this.txtParam2.IsEditable = true; this.txtParam2.IsEditable = true;
this.txtParam2.InvisibleChar = '•'; this.txtParam2.InvisibleChar = '•';
this.hbox1.Add (this.txtParam2); this.hbox1.Add(this.txtParam2);
global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.txtParam2])); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.txtParam2]));
w60.Position = 8; w25.Position = 8;
w2.Add (this.hbox1); w2.Add(this.hbox1);
global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(w2 [this.hbox1])); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(w2[this.hbox1]));
w61.Position = 2; w26.Position = 2;
w61.Expand = false; w26.Expand = false;
w61.Fill = false; w26.Fill = false;
// Container child dialog1_VBox.Gtk.Box+BoxChild // Container child dialog1_VBox.Gtk.Box+BoxChild
this.notebook1 = new global::Gtk.Notebook (); this.notebook1 = new global::Gtk.Notebook();
this.notebook1.CanFocus = true; this.notebook1.CanFocus = true;
this.notebook1.Name = "notebook1"; this.notebook1.Name = "notebook1";
this.notebook1.CurrentPage = 0; this.notebook1.CurrentPage = 0;
// Container child notebook1.Gtk.Notebook+NotebookChild // Container child notebook1.Gtk.Notebook+NotebookChild
this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.Name = "GtkScrolledWindow";
this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
this.tvDimm = new global::Gtk.TreeView (); this.tvDimm = new global::Gtk.TreeView();
this.tvDimm.CanFocus = true; this.tvDimm.CanFocus = true;
this.tvDimm.Name = "tvDimm"; this.tvDimm.Name = "tvDimm";
this.GtkScrolledWindow.Add (this.tvDimm); this.GtkScrolledWindow.Add(this.tvDimm);
this.notebook1.Add (this.GtkScrolledWindow); this.notebook1.Add(this.GtkScrolledWindow);
// Notebook tab // Notebook tab
this.label2 = new global::Gtk.Label (); this.label2 = new global::Gtk.Label();
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.LabelProp = "Patch"; this.label2.LabelProp = "Patch";
this.notebook1.SetTabLabel (this.GtkScrolledWindow, this.label2); this.notebook1.SetTabLabel(this.GtkScrolledWindow, this.label2);
this.label2.ShowAll (); this.label2.ShowAll();
// Container child notebook1.Gtk.Notebook+NotebookChild // Container child notebook1.Gtk.Notebook+NotebookChild
this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
this.tvCircuits = new global::Gtk.TreeView (); this.tvCircuits = new global::Gtk.TreeView();
this.tvCircuits.CanFocus = true; this.tvCircuits.CanFocus = true;
this.tvCircuits.Name = "tvCircuits"; this.tvCircuits.Name = "tvCircuits";
this.GtkScrolledWindow1.Add (this.tvCircuits); this.GtkScrolledWindow1.Add(this.tvCircuits);
this.notebook1.Add (this.GtkScrolledWindow1); this.notebook1.Add(this.GtkScrolledWindow1);
global::Gtk.Notebook.NotebookChild w65 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1 [this.GtkScrolledWindow1])); global::Gtk.Notebook.NotebookChild w30 = ((global::Gtk.Notebook.NotebookChild)(this.notebook1[this.GtkScrolledWindow1]));
w65.Position = 1; w30.Position = 1;
// Notebook tab // Notebook tab
this.label5 = new global::Gtk.Label (); this.label5 = new global::Gtk.Label();
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.LabelProp = "Patch Rapide"; this.label5.LabelProp = "Patch Rapide";
this.notebook1.SetTabLabel (this.GtkScrolledWindow1, this.label5); this.notebook1.SetTabLabel(this.GtkScrolledWindow1, this.label5);
this.label5.ShowAll (); this.label5.ShowAll();
w2.Add (this.notebook1); w2.Add(this.notebook1);
global::Gtk.Box.BoxChild w66 = ((global::Gtk.Box.BoxChild)(w2 [this.notebook1])); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(w2[this.notebook1]));
w66.Position = 3; w31.Position = 3;
// Internal child DMX2.EditionUnivers.ActionArea // Internal child DMX2.EditionUnivers.ActionArea
global::Gtk.HButtonBox w67 = this.ActionArea; global::Gtk.HButtonBox w32 = this.ActionArea;
w67.Name = "dialog1_ActionArea"; w32.Name = "dialog1_ActionArea";
w67.Spacing = 10; w32.Spacing = 10;
w67.BorderWidth = ((uint)(5)); w32.BorderWidth = ((uint)(5));
w67.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); w32.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonCancel = new global::Gtk.Button (); this.buttonCancel = new global::Gtk.Button();
this.buttonCancel.CanDefault = true; this.buttonCancel.CanDefault = true;
this.buttonCancel.CanFocus = true; this.buttonCancel.CanFocus = true;
this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.UseStock = true; this.buttonCancel.UseStock = true;
this.buttonCancel.UseUnderline = true; this.buttonCancel.UseUnderline = true;
this.buttonCancel.Label = "gtk-close"; this.buttonCancel.Label = "gtk-close";
this.AddActionWidget (this.buttonCancel, -7); this.AddActionWidget(this.buttonCancel, -7);
global::Gtk.ButtonBox.ButtonBoxChild w68 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w67 [this.buttonCancel])); global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w32[this.buttonCancel]));
w68.Expand = false; w33.Expand = false;
w68.Fill = false; w33.Fill = false;
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.DefaultWidth = 771; this.DefaultWidth = 771;
this.DefaultHeight = 483; this.DefaultHeight = 483;
this.Show (); this.Show();
this.cbUnivers.Changed += new global::System.EventHandler (this.OnCbUniversChanged); this.cbUnivers.Changed += new global::System.EventHandler(this.OnCbUniversChanged);
this.btAdd.Clicked += new global::System.EventHandler (this.OnBtAddClicked); this.btAdd.Clicked += new global::System.EventHandler(this.OnBtAddClicked);
this.btPatchDroit.Clicked += new global::System.EventHandler (this.OnBtPatchDroitClicked); this.btPatchDroit.Clicked += new global::System.EventHandler(this.OnBtPatchDroitClicked);
this.btReset.Clicked += new global::System.EventHandler (this.OnBtResetClicked); this.btReset.Clicked += new global::System.EventHandler(this.OnBtResetClicked);
this.btAllume.Clicked += new global::System.EventHandler (this.OnBtAllumeClicked); this.btAllume.Clicked += new global::System.EventHandler(this.OnBtAllumeClicked);
this.spinDimmer.ValueChanged += new global::System.EventHandler (this.OnSpinDimmerValueChanged); this.spinDimmer.ValueChanged += new global::System.EventHandler(this.OnSpinDimmerValueChanged);
this.cbCircuit.Changed += new global::System.EventHandler (this.OnCbCircuitChanged); this.cbCircuit.Changed += new global::System.EventHandler(this.OnCbCircuitChanged);
this.cbFT.Changed += new global::System.EventHandler (this.OnCbFTChanged); this.cbFT.Changed += new global::System.EventHandler(this.OnCbFTChanged);
this.txtParam1.Changed += new global::System.EventHandler (this.OnTxtParam1Changed); this.txtParam1.Changed += new global::System.EventHandler(this.OnTxtParam1Changed);
this.txtParam2.Changed += new global::System.EventHandler (this.OnTxtParam2Changed); this.txtParam2.Changed += new global::System.EventHandler(this.OnTxtParam2Changed);
this.tvDimm.CursorChanged += new global::System.EventHandler (this.OnTvDimmCursorChanged); this.tvDimm.CursorChanged += new global::System.EventHandler(this.OnTvDimmCursorChanged);
this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnButtonCancelClicked);
} }
} }
} }

View file

@ -5,23 +5,29 @@ namespace DMX2
public partial class GestionCircuits public partial class GestionCircuits
{ {
private global::Gtk.UIManager UIManager; private global::Gtk.UIManager UIManager;
private global::Gtk.Action addAction; private global::Gtk.Action addAction;
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.Toolbar toolbar1; private global::Gtk.Toolbar toolbar1;
private global::Gtk.ScrolledWindow GtkScrolledWindow; private global::Gtk.ScrolledWindow GtkScrolledWindow;
private global::Gtk.TreeView listeCircuits; private global::Gtk.TreeView listeCircuits;
private global::Gtk.Button buttonOk; private global::Gtk.Button buttonOk;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.GestionCircuits // Widget DMX2.GestionCircuits
this.UIManager = new global::Gtk.UIManager (); this.UIManager = new global::Gtk.UIManager();
global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
this.addAction = new global::Gtk.Action ("addAction", null, null, "gtk-add"); this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add");
w1.Add (this.addAction, null); w1.Add(this.addAction, null);
this.UIManager.InsertActionGroup (w1, 0); this.UIManager.InsertActionGroup(w1, 0);
this.AddAccelGroup (this.UIManager.AccelGroup); this.AddAccelGroup(this.UIManager.AccelGroup);
this.Name = "DMX2.GestionCircuits"; this.Name = "DMX2.GestionCircuits";
this.Title = "Circuits"; this.Title = "Circuits";
this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.TypeHint = ((global::Gdk.WindowTypeHint)(1));
@ -33,63 +39,65 @@ namespace DMX2
w2.Name = "dialog1_VBox"; w2.Name = "dialog1_VBox";
w2.BorderWidth = ((uint)(2)); w2.BorderWidth = ((uint)(2));
// Container child dialog1_VBox.Gtk.Box+BoxChild // Container child dialog1_VBox.Gtk.Box+BoxChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.UIManager.AddUiFromString ("<ui><toolbar name='toolbar1'><toolitem name='addAction' action='addAction'/></toolbar></ui>"); this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'addAction\' action=\'addAction\'/></too" +
this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); "lbar></ui>");
this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
this.toolbar1.Name = "toolbar1"; this.toolbar1.Name = "toolbar1";
this.toolbar1.ShowArrow = false; this.toolbar1.ShowArrow = false;
this.vbox2.Add (this.toolbar1); this.vbox2.Add(this.toolbar1);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.toolbar1])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.toolbar1]));
w3.Position = 0; w3.Position = 0;
w3.Expand = false; w3.Expand = false;
w3.Fill = false; w3.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.Name = "GtkScrolledWindow";
this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
this.listeCircuits = new global::Gtk.TreeView (); this.listeCircuits = new global::Gtk.TreeView();
this.listeCircuits.CanFocus = true; this.listeCircuits.CanFocus = true;
this.listeCircuits.Name = "listeCircuits"; this.listeCircuits.Name = "listeCircuits";
this.listeCircuits.EnableSearch = false; this.listeCircuits.EnableSearch = false;
this.listeCircuits.Reorderable = true; this.listeCircuits.Reorderable = true;
this.GtkScrolledWindow.Add (this.listeCircuits); this.GtkScrolledWindow.Add(this.listeCircuits);
this.vbox2.Add (this.GtkScrolledWindow); this.vbox2.Add(this.GtkScrolledWindow);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
w5.Position = 1; w5.Position = 1;
w2.Add (this.vbox2); w2.Add(this.vbox2);
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w2 [this.vbox2])); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(w2[this.vbox2]));
w6.Position = 0; w6.Position = 0;
// Internal child DMX2.GestionCircuits.ActionArea // Internal child DMX2.GestionCircuits.ActionArea
global::Gtk.HButtonBox w7 = this.ActionArea; global::Gtk.HButtonBox w7 = this.ActionArea;
w7.Name = "dialog1_ActionArea"; w7.Name = "dialog_ActionArea";
w7.Spacing = 10; w7.Spacing = 10;
w7.BorderWidth = ((uint)(5)); w7.BorderWidth = ((uint)(5));
w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); w7.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild // Container child dialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonOk = new global::Gtk.Button (); this.buttonOk = new global::Gtk.Button();
this.buttonOk.CanDefault = true; this.buttonOk.CanDefault = true;
this.buttonOk.CanFocus = true; this.buttonOk.CanFocus = true;
this.buttonOk.Name = "buttonOk"; this.buttonOk.Name = "buttonOk";
this.buttonOk.UseStock = true; this.buttonOk.UseStock = true;
this.buttonOk.UseUnderline = true; this.buttonOk.UseUnderline = true;
this.buttonOk.Label = "gtk-close"; this.buttonOk.Label = "gtk-close";
this.AddActionWidget (this.buttonOk, -7); this.AddActionWidget(this.buttonOk, -7);
global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7 [this.buttonOk])); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk]));
w8.Expand = false; w8.Expand = false;
w8.Fill = false; w8.Fill = false;
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.DefaultWidth = 400; this.DefaultWidth = 400;
this.DefaultHeight = 456; this.DefaultHeight = 456;
this.buttonOk.HasDefault = true; this.buttonOk.HasDefault = true;
this.Hide (); this.Hide();
this.Response += new global::Gtk.ResponseHandler (this.OnResp); this.Response += new global::Gtk.ResponseHandler(this.OnResp);
this.addAction.Activated += new global::System.EventHandler (this.OnAddActionActivated); this.addAction.Activated += new global::System.EventHandler(this.OnAddActionActivated);
} }
} }
} }

View file

@ -5,19 +5,28 @@ namespace DMX2
public partial class GestionDriversUI public partial class GestionDriversUI
{ {
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.TreeView listeUsb; private global::Gtk.TreeView listeUsb;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.ComboBox comboDriver; private global::Gtk.ComboBox comboDriver;
private global::Gtk.Button btnDisconnect; private global::Gtk.Button btnDisconnect;
private global::Gtk.Button btnConnect; private global::Gtk.Button btnConnect;
private global::Gtk.Frame frmDrvUI; private global::Gtk.Frame frmDrvUI;
private global::Gtk.Alignment frmDrvChild; private global::Gtk.Alignment frmDrvChild;
private global::Gtk.Label GtkLabel2; private global::Gtk.Label GtkLabel2;
private global::Gtk.Button buttonOk; private global::Gtk.Button buttonOk;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.GestionDriversUI // Widget DMX2.GestionDriversUI
this.Name = "DMX2.GestionDriversUI"; this.Name = "DMX2.GestionDriversUI";
this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.WindowPosition = ((global::Gtk.WindowPosition)(4));
@ -26,81 +35,81 @@ namespace DMX2
w1.Name = "dialog1_VBox"; w1.Name = "dialog1_VBox";
w1.BorderWidth = ((uint)(2)); w1.BorderWidth = ((uint)(2));
// Container child dialog1_VBox.Gtk.Box+BoxChild // Container child dialog1_VBox.Gtk.Box+BoxChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.listeUsb = new global::Gtk.TreeView (); this.listeUsb = new global::Gtk.TreeView();
this.listeUsb.HeightRequest = 87; this.listeUsb.HeightRequest = 87;
this.listeUsb.CanFocus = true; this.listeUsb.CanFocus = true;
this.listeUsb.Name = "listeUsb"; this.listeUsb.Name = "listeUsb";
this.vbox2.Add (this.listeUsb); this.vbox2.Add(this.listeUsb);
global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.listeUsb])); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.listeUsb]));
w2.Position = 0; w2.Position = 0;
w2.Expand = false; w2.Expand = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.comboDriver = global::Gtk.ComboBox.NewText (); this.comboDriver = global::Gtk.ComboBox.NewText();
this.comboDriver.Sensitive = false; this.comboDriver.Sensitive = false;
this.comboDriver.Name = "comboDriver"; this.comboDriver.Name = "comboDriver";
this.hbox1.Add (this.comboDriver); this.hbox1.Add(this.comboDriver);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboDriver])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.comboDriver]));
w3.Position = 0; w3.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.btnDisconnect = new global::Gtk.Button (); this.btnDisconnect = new global::Gtk.Button();
this.btnDisconnect.Sensitive = false; this.btnDisconnect.Sensitive = false;
this.btnDisconnect.CanFocus = true; this.btnDisconnect.CanFocus = true;
this.btnDisconnect.Name = "btnDisconnect"; this.btnDisconnect.Name = "btnDisconnect";
this.btnDisconnect.UseStock = true; this.btnDisconnect.UseStock = true;
this.btnDisconnect.UseUnderline = true; this.btnDisconnect.UseUnderline = true;
this.btnDisconnect.Label = "gtk-disconnect"; this.btnDisconnect.Label = "gtk-disconnect";
this.hbox1.Add (this.btnDisconnect); this.hbox1.Add(this.btnDisconnect);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnDisconnect])); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnDisconnect]));
w4.PackType = ((global::Gtk.PackType)(1)); w4.PackType = ((global::Gtk.PackType)(1));
w4.Position = 1; w4.Position = 1;
w4.Expand = false; w4.Expand = false;
w4.Fill = false; w4.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.btnConnect = new global::Gtk.Button (); this.btnConnect = new global::Gtk.Button();
this.btnConnect.Sensitive = false; this.btnConnect.Sensitive = false;
this.btnConnect.CanFocus = true; this.btnConnect.CanFocus = true;
this.btnConnect.Name = "btnConnect"; this.btnConnect.Name = "btnConnect";
this.btnConnect.UseStock = true; this.btnConnect.UseStock = true;
this.btnConnect.UseUnderline = true; this.btnConnect.UseUnderline = true;
this.btnConnect.Label = "gtk-connect"; this.btnConnect.Label = "gtk-connect";
this.hbox1.Add (this.btnConnect); this.hbox1.Add(this.btnConnect);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnConnect])); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.btnConnect]));
w5.PackType = ((global::Gtk.PackType)(1)); w5.PackType = ((global::Gtk.PackType)(1));
w5.Position = 2; w5.Position = 2;
w5.Expand = false; w5.Expand = false;
w5.Fill = false; w5.Fill = false;
this.vbox2.Add (this.hbox1); this.vbox2.Add(this.hbox1);
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
w6.Position = 1; w6.Position = 1;
w6.Expand = false; w6.Expand = false;
w6.Fill = false; w6.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.frmDrvUI = new global::Gtk.Frame (); this.frmDrvUI = new global::Gtk.Frame();
this.frmDrvUI.HeightRequest = 200; this.frmDrvUI.HeightRequest = 200;
this.frmDrvUI.Name = "frmDrvUI"; this.frmDrvUI.Name = "frmDrvUI";
this.frmDrvUI.ShadowType = ((global::Gtk.ShadowType)(1)); this.frmDrvUI.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child frmDrvUI.Gtk.Container+ContainerChild // Container child frmDrvUI.Gtk.Container+ContainerChild
this.frmDrvChild = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.frmDrvChild = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.frmDrvChild.Name = "frmDrvChild"; this.frmDrvChild.Name = "frmDrvChild";
this.frmDrvChild.LeftPadding = ((uint)(12)); this.frmDrvChild.LeftPadding = ((uint)(12));
this.frmDrvUI.Add (this.frmDrvChild); this.frmDrvUI.Add(this.frmDrvChild);
this.GtkLabel2 = new global::Gtk.Label (); this.GtkLabel2 = new global::Gtk.Label();
this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.Name = "GtkLabel2";
this.GtkLabel2.UseMarkup = true; this.GtkLabel2.UseMarkup = true;
this.frmDrvUI.LabelWidget = this.GtkLabel2; this.frmDrvUI.LabelWidget = this.GtkLabel2;
this.vbox2.Add (this.frmDrvUI); this.vbox2.Add(this.frmDrvUI);
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.frmDrvUI])); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.frmDrvUI]));
w8.Position = 2; w8.Position = 2;
w1.Add (this.vbox2); w1.Add(this.vbox2);
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox2])); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(w1[this.vbox2]));
w9.Position = 0; w9.Position = 0;
// Internal child DMX2.GestionDriversUI.ActionArea // Internal child DMX2.GestionDriversUI.ActionArea
global::Gtk.HButtonBox w10 = this.ActionArea; global::Gtk.HButtonBox w10 = this.ActionArea;
@ -109,27 +118,28 @@ namespace DMX2
w10.BorderWidth = ((uint)(5)); w10.BorderWidth = ((uint)(5));
w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); w10.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonOk = new global::Gtk.Button (); this.buttonOk = new global::Gtk.Button();
this.buttonOk.CanDefault = true; this.buttonOk.CanDefault = true;
this.buttonOk.CanFocus = true; this.buttonOk.CanFocus = true;
this.buttonOk.Name = "buttonOk"; this.buttonOk.Name = "buttonOk";
this.buttonOk.UseStock = true; this.buttonOk.UseStock = true;
this.buttonOk.UseUnderline = true; this.buttonOk.UseUnderline = true;
this.buttonOk.Label = "gtk-close"; this.buttonOk.Label = "gtk-close";
this.AddActionWidget (this.buttonOk, -7); this.AddActionWidget(this.buttonOk, -7);
global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10 [this.buttonOk])); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w10[this.buttonOk]));
w11.Expand = false; w11.Expand = false;
w11.Fill = false; w11.Fill = false;
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.DefaultWidth = 488; this.DefaultWidth = 488;
this.DefaultHeight = 420; this.DefaultHeight = 420;
this.Show (); this.Show();
this.listeUsb.CursorChanged += new global::System.EventHandler (this.OnListeUsbCursorChanged); this.listeUsb.CursorChanged += new global::System.EventHandler(this.OnListeUsbCursorChanged);
this.btnConnect.Clicked += new global::System.EventHandler (this.OnBtnConnectClicked); this.btnConnect.Clicked += new global::System.EventHandler(this.OnBtnConnectClicked);
this.btnDisconnect.Clicked += new global::System.EventHandler (this.OnBtnDisConnectClicked); this.btnDisconnect.Clicked += new global::System.EventHandler(this.OnBtnDisConnectClicked);
this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked);
} }
} }
} }

View file

@ -5,43 +5,76 @@ namespace DMX2
public partial class GestionMidiUI public partial class GestionMidiUI
{ {
private global::Gtk.Table table1; private global::Gtk.Table table1;
private global::Gtk.Frame frame2; private global::Gtk.Frame frame2;
private global::Gtk.Alignment GtkAlignment3; private global::Gtk.Alignment GtkAlignment3;
private global::Gtk.Table table2; private global::Gtk.Table table2;
private global::Gtk.CheckButton chkFourteenBits; private global::Gtk.CheckButton chkFourteenBits;
private global::Gtk.CheckButton chkPg; private global::Gtk.CheckButton chkPg;
private global::Gtk.Label label3; private global::Gtk.Label label3;
private global::Gtk.Label label4; private global::Gtk.Label label4;
private global::Gtk.Label label5; private global::Gtk.Label label5;
private global::Gtk.Label label6; private global::Gtk.Label label6;
private global::Gtk.SpinButton spinMax14b; private global::Gtk.SpinButton spinMax14b;
private global::Gtk.SpinButton spinNbPage; private global::Gtk.SpinButton spinNbPage;
private global::Gtk.SpinButton spinPageDown; private global::Gtk.SpinButton spinPageDown;
private global::Gtk.SpinButton spinPageUp; private global::Gtk.SpinButton spinPageUp;
private global::Gtk.SpinButton spinUPCh; private global::Gtk.SpinButton spinUPCh;
private global::Gtk.Label GtkLabel6;
private global::Gtk.Label GtkLabelT;
private global::Gtk.Frame frame3; private global::Gtk.Frame frame3;
private global::Gtk.Alignment GtkAlignment2; private global::Gtk.Alignment GtkAlignment2;
private global::Gtk.VBox vbox5; private global::Gtk.VBox vbox5;
private global::Gtk.CheckButton chkFB; private global::Gtk.CheckButton chkFB;
private global::Gtk.Label GtkLabel3; private global::Gtk.Label GtkLabel3;
private global::Gtk.HButtonBox hbuttonbox2; private global::Gtk.HButtonBox hbuttonbox2;
private global::Gtk.Button btnActiv; private global::Gtk.Button btnActiv;
private global::Gtk.Button btnDesactiv; private global::Gtk.Button btnDesactiv;
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.Label label1; private global::Gtk.Label label1;
private global::Gtk.ScrolledWindow GtkScrolledWindow; private global::Gtk.ScrolledWindow GtkScrolledWindow;
private global::Gtk.TreeView listDetect; private global::Gtk.TreeView listDetect;
private global::Gtk.VBox vbox3; private global::Gtk.VBox vbox3;
private global::Gtk.Label label2; private global::Gtk.Label label2;
private global::Gtk.ScrolledWindow GtkScrolledWindow1; private global::Gtk.ScrolledWindow GtkScrolledWindow1;
private global::Gtk.TreeView listKnown; private global::Gtk.TreeView listKnown;
private global::Gtk.Button btnClearEvents; private global::Gtk.Button btnClearEvents;
private global::Gtk.Button buttonClose; private global::Gtk.Button buttonClose;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.GestionMidiUI // Widget DMX2.GestionMidiUI
this.Name = "DMX2.GestionMidiUI"; this.Name = "DMX2.GestionMidiUI";
this.Title = "Connexions Midi"; this.Title = "Connexions Midi";
@ -51,102 +84,102 @@ namespace DMX2
w1.Name = "dialog1_VBox"; w1.Name = "dialog1_VBox";
w1.BorderWidth = ((uint)(2)); w1.BorderWidth = ((uint)(2));
// Container child dialog1_VBox.Gtk.Box+BoxChild // Container child dialog1_VBox.Gtk.Box+BoxChild
this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
this.table1.Name = "table1"; this.table1.Name = "table1";
this.table1.RowSpacing = ((uint)(6)); this.table1.RowSpacing = ((uint)(6));
this.table1.ColumnSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.frame2 = new global::Gtk.Frame (); this.frame2 = new global::Gtk.Frame();
this.frame2.Name = "frame2"; this.frame2.Name = "frame2";
this.frame2.ShadowType = ((global::Gtk.ShadowType)(1)); this.frame2.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child frame2.Gtk.Container+ContainerChild // Container child frame2.Gtk.Container+ContainerChild
this.GtkAlignment3 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.Name = "GtkAlignment3";
this.GtkAlignment3.LeftPadding = ((uint)(12)); this.GtkAlignment3.LeftPadding = ((uint)(12));
// Container child GtkAlignment3.Gtk.Container+ContainerChild // Container child GtkAlignment3.Gtk.Container+ContainerChild
this.table2 = new global::Gtk.Table (((uint)(6)), ((uint)(2)), false); this.table2 = new global::Gtk.Table(((uint)(6)), ((uint)(2)), false);
this.table2.Name = "table2"; this.table2.Name = "table2";
this.table2.RowSpacing = ((uint)(6)); this.table2.RowSpacing = ((uint)(6));
this.table2.ColumnSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.chkFourteenBits = new global::Gtk.CheckButton (); this.chkFourteenBits = new global::Gtk.CheckButton();
this.chkFourteenBits.CanFocus = true; this.chkFourteenBits.CanFocus = true;
this.chkFourteenBits.Name = "chkFourteenBits"; this.chkFourteenBits.Name = "chkFourteenBits";
this.chkFourteenBits.Label = "Mode 14bits (CC 1 à 32)"; this.chkFourteenBits.Label = "Mode 14bits (CC 1 à 32)";
this.chkFourteenBits.DrawIndicator = true; this.chkFourteenBits.DrawIndicator = true;
this.chkFourteenBits.UseUnderline = true; this.chkFourteenBits.UseUnderline = true;
this.table2.Add (this.chkFourteenBits); this.table2.Add(this.chkFourteenBits);
global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkFourteenBits])); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2[this.chkFourteenBits]));
w2.TopAttach = ((uint)(4)); w2.TopAttach = ((uint)(4));
w2.BottomAttach = ((uint)(5)); w2.BottomAttach = ((uint)(5));
w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4));
w2.YOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.chkPg = new global::Gtk.CheckButton (); this.chkPg = new global::Gtk.CheckButton();
this.chkPg.CanFocus = true; this.chkPg.CanFocus = true;
this.chkPg.Name = "chkPg"; this.chkPg.Name = "chkPg";
this.chkPg.Label = "ne pas paginer ce canal :"; this.chkPg.Label = "ne pas paginer ce canal :";
this.chkPg.DrawIndicator = true; this.chkPg.DrawIndicator = true;
this.chkPg.UseUnderline = true; this.chkPg.UseUnderline = true;
this.table2.Add (this.chkPg); this.table2.Add(this.chkPg);
global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.chkPg])); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2[this.chkPg]));
w3.TopAttach = ((uint)(1)); w3.TopAttach = ((uint)(1));
w3.BottomAttach = ((uint)(2)); w3.BottomAttach = ((uint)(2));
w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.XOptions = ((global::Gtk.AttachOptions)(4));
w3.YOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.label3 = new global::Gtk.Label (); this.label3 = new global::Gtk.Label();
this.label3.Name = "label3"; this.label3.Name = "label3";
this.label3.Xalign = 0F; this.label3.Xalign = 0F;
this.label3.LabelProp = "Nombre de pages"; this.label3.LabelProp = "Nombre de pages";
this.table2.Add (this.label3); this.table2.Add(this.label3);
global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2[this.label3]));
w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.XOptions = ((global::Gtk.AttachOptions)(4));
w4.YOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.label4 = new global::Gtk.Label (); this.label4 = new global::Gtk.Label();
this.label4.Name = "label4"; this.label4.Name = "label4";
this.label4.Xalign = 0F; this.label4.Xalign = 0F;
this.label4.LabelProp = "CC page suivante :"; this.label4.LabelProp = "CC page suivante :";
this.table2.Add (this.label4); this.table2.Add(this.label4);
global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.label4])); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2[this.label4]));
w5.TopAttach = ((uint)(2)); w5.TopAttach = ((uint)(2));
w5.BottomAttach = ((uint)(3)); w5.BottomAttach = ((uint)(3));
w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4));
w5.YOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.label5 = new global::Gtk.Label (); this.label5 = new global::Gtk.Label();
this.label5.Name = "label5"; this.label5.Name = "label5";
this.label5.Xalign = 0F; this.label5.Xalign = 0F;
this.label5.LabelProp = "CC page précédente :"; this.label5.LabelProp = "CC page précédente :";
this.table2.Add (this.label5); this.table2.Add(this.label5);
global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5])); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2[this.label5]));
w6.TopAttach = ((uint)(3)); w6.TopAttach = ((uint)(3));
w6.BottomAttach = ((uint)(4)); w6.BottomAttach = ((uint)(4));
w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.XOptions = ((global::Gtk.AttachOptions)(4));
w6.YOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.label6 = new global::Gtk.Label (); this.label6 = new global::Gtk.Label();
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Xpad = 20; this.label6.Xpad = 20;
this.label6.Xalign = 0F; this.label6.Xalign = 0F;
this.label6.LabelProp = "Valeur entrée max :"; this.label6.LabelProp = "Valeur entrée max :";
this.table2.Add (this.label6); this.table2.Add(this.label6);
global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6])); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2[this.label6]));
w7.TopAttach = ((uint)(5)); w7.TopAttach = ((uint)(5));
w7.BottomAttach = ((uint)(6)); w7.BottomAttach = ((uint)(6));
w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.XOptions = ((global::Gtk.AttachOptions)(4));
w7.YOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.spinMax14b = new global::Gtk.SpinButton (1, 16383, 1); this.spinMax14b = new global::Gtk.SpinButton(1D, 16383D, 1D);
this.spinMax14b.CanFocus = true; this.spinMax14b.CanFocus = true;
this.spinMax14b.Name = "spinMax14b"; this.spinMax14b.Name = "spinMax14b";
this.spinMax14b.Adjustment.PageIncrement = 10; this.spinMax14b.Adjustment.PageIncrement = 10D;
this.spinMax14b.ClimbRate = 1; this.spinMax14b.ClimbRate = 1D;
this.spinMax14b.Numeric = true; this.spinMax14b.Numeric = true;
this.spinMax14b.Value = 127; this.spinMax14b.Value = 127D;
this.table2.Add (this.spinMax14b); this.table2.Add(this.spinMax14b);
global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.spinMax14b])); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2[this.spinMax14b]));
w8.TopAttach = ((uint)(5)); w8.TopAttach = ((uint)(5));
w8.BottomAttach = ((uint)(6)); w8.BottomAttach = ((uint)(6));
w8.LeftAttach = ((uint)(1)); w8.LeftAttach = ((uint)(1));
@ -154,29 +187,29 @@ namespace DMX2
w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4));
w8.YOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.spinNbPage = new global::Gtk.SpinButton (1, 99, 1); this.spinNbPage = new global::Gtk.SpinButton(1D, 99D, 1D);
this.spinNbPage.CanFocus = true; this.spinNbPage.CanFocus = true;
this.spinNbPage.Name = "spinNbPage"; this.spinNbPage.Name = "spinNbPage";
this.spinNbPage.Adjustment.PageIncrement = 10; this.spinNbPage.Adjustment.PageIncrement = 10D;
this.spinNbPage.ClimbRate = 1; this.spinNbPage.ClimbRate = 1D;
this.spinNbPage.Numeric = true; this.spinNbPage.Numeric = true;
this.spinNbPage.Value = 8; this.spinNbPage.Value = 8D;
this.table2.Add (this.spinNbPage); this.table2.Add(this.spinNbPage);
global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.spinNbPage])); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2[this.spinNbPage]));
w9.LeftAttach = ((uint)(1)); w9.LeftAttach = ((uint)(1));
w9.RightAttach = ((uint)(2)); w9.RightAttach = ((uint)(2));
w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.XOptions = ((global::Gtk.AttachOptions)(4));
w9.YOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.spinPageDown = new global::Gtk.SpinButton (1, 127, 1); this.spinPageDown = new global::Gtk.SpinButton(1D, 127D, 1D);
this.spinPageDown.CanFocus = true; this.spinPageDown.CanFocus = true;
this.spinPageDown.Name = "spinPageDown"; this.spinPageDown.Name = "spinPageDown";
this.spinPageDown.Adjustment.PageIncrement = 10; this.spinPageDown.Adjustment.PageIncrement = 10D;
this.spinPageDown.ClimbRate = 1; this.spinPageDown.ClimbRate = 1D;
this.spinPageDown.Numeric = true; this.spinPageDown.Numeric = true;
this.spinPageDown.Value = 126; this.spinPageDown.Value = 126D;
this.table2.Add (this.spinPageDown); this.table2.Add(this.spinPageDown);
global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.spinPageDown])); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2[this.spinPageDown]));
w10.TopAttach = ((uint)(3)); w10.TopAttach = ((uint)(3));
w10.BottomAttach = ((uint)(4)); w10.BottomAttach = ((uint)(4));
w10.LeftAttach = ((uint)(1)); w10.LeftAttach = ((uint)(1));
@ -184,15 +217,15 @@ namespace DMX2
w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.XOptions = ((global::Gtk.AttachOptions)(4));
w10.YOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.spinPageUp = new global::Gtk.SpinButton (1, 127, 1); this.spinPageUp = new global::Gtk.SpinButton(1D, 127D, 1D);
this.spinPageUp.CanFocus = true; this.spinPageUp.CanFocus = true;
this.spinPageUp.Name = "spinPageUp"; this.spinPageUp.Name = "spinPageUp";
this.spinPageUp.Adjustment.PageIncrement = 10; this.spinPageUp.Adjustment.PageIncrement = 10D;
this.spinPageUp.ClimbRate = 1; this.spinPageUp.ClimbRate = 1D;
this.spinPageUp.Numeric = true; this.spinPageUp.Numeric = true;
this.spinPageUp.Value = 127; this.spinPageUp.Value = 127D;
this.table2.Add (this.spinPageUp); this.table2.Add(this.spinPageUp);
global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.spinPageUp])); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2[this.spinPageUp]));
w11.TopAttach = ((uint)(2)); w11.TopAttach = ((uint)(2));
w11.BottomAttach = ((uint)(3)); w11.BottomAttach = ((uint)(3));
w11.LeftAttach = ((uint)(1)); w11.LeftAttach = ((uint)(1));
@ -200,249 +233,226 @@ namespace DMX2
w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4));
w11.YOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table2.Gtk.Table+TableChild // Container child table2.Gtk.Table+TableChild
this.spinUPCh = new global::Gtk.SpinButton (1, 16, 1); this.spinUPCh = new global::Gtk.SpinButton(1D, 16D, 1D);
this.spinUPCh.CanFocus = true; this.spinUPCh.CanFocus = true;
this.spinUPCh.Name = "spinUPCh"; this.spinUPCh.Name = "spinUPCh";
this.spinUPCh.Adjustment.PageIncrement = 1; this.spinUPCh.Adjustment.PageIncrement = 1D;
this.spinUPCh.ClimbRate = 1; this.spinUPCh.ClimbRate = 1D;
this.spinUPCh.Numeric = true; this.spinUPCh.Numeric = true;
this.spinUPCh.Value = 1; this.spinUPCh.Value = 1D;
this.table2.Add (this.spinUPCh); this.table2.Add(this.spinUPCh);
global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.spinUPCh])); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2[this.spinUPCh]));
w12.TopAttach = ((uint)(1)); w12.TopAttach = ((uint)(1));
w12.BottomAttach = ((uint)(2)); w12.BottomAttach = ((uint)(2));
w12.LeftAttach = ((uint)(1)); w12.LeftAttach = ((uint)(1));
w12.RightAttach = ((uint)(2)); w12.RightAttach = ((uint)(2));
w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4));
w12.YOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4));
this.GtkAlignment3.Add (this.table2); this.GtkAlignment3.Add(this.table2);
this.frame2.Add (this.GtkAlignment3); this.frame2.Add(this.GtkAlignment3);
this.GtkLabel6 = new global::Gtk.Label (); this.GtkLabelT = new global::Gtk.Label();
this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabelT.Name = "GtkLabelT";
this.GtkLabel6.LabelProp = "<b>Options Midi</b>"; this.GtkLabelT.LabelProp = "<b>Options Midi</b>";
this.GtkLabel6.UseMarkup = true; this.GtkLabelT.UseMarkup = true;
this.frame2.LabelWidget = this.GtkLabel6; this.frame2.LabelWidget = this.GtkLabelT;
this.table1.Add (this.frame2); this.table1.Add(this.frame2);
global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.frame2])); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.frame2]));
w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.XOptions = ((global::Gtk.AttachOptions)(4));
w15.YOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.frame3 = new global::Gtk.Frame (); this.frame3 = new global::Gtk.Frame();
this.frame3.Name = "frame3"; this.frame3.Name = "frame3";
this.frame3.ShadowType = ((global::Gtk.ShadowType)(1)); this.frame3.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child frame3.Gtk.Container+ContainerChild // Container child frame3.Gtk.Container+ContainerChild
this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.Name = "GtkAlignment2";
this.GtkAlignment2.LeftPadding = ((uint)(12)); this.GtkAlignment2.LeftPadding = ((uint)(12));
// Container child GtkAlignment2.Gtk.Container+ContainerChild // Container child GtkAlignment2.Gtk.Container+ContainerChild
this.vbox5 = new global::Gtk.VBox (); this.vbox5 = new global::Gtk.VBox();
this.vbox5.Name = "vbox5"; this.vbox5.Name = "vbox5";
this.vbox5.Spacing = 6; this.vbox5.Spacing = 6;
// Container child vbox5.Gtk.Box+BoxChild // Container child vbox5.Gtk.Box+BoxChild
this.chkFB = new global::Gtk.CheckButton (); this.chkFB = new global::Gtk.CheckButton();
this.chkFB.Sensitive = false; this.chkFB.Sensitive = false;
this.chkFB.CanFocus = true; this.chkFB.CanFocus = true;
this.chkFB.Name = "chkFB"; this.chkFB.Name = "chkFB";
this.chkFB.Label = "Feedback\n(interface motorisée)"; this.chkFB.Label = "Feedback\n(interface motorisée)";
this.chkFB.DrawIndicator = true; this.chkFB.DrawIndicator = true;
this.chkFB.UseUnderline = true; this.chkFB.UseUnderline = true;
this.vbox5.Add (this.chkFB); this.vbox5.Add(this.chkFB);
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.chkFB])); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.chkFB]));
w16.Position = 0; w16.Position = 0;
w16.Expand = false; w16.Expand = false;
w16.Fill = false; w16.Fill = false;
this.GtkAlignment2.Add (this.vbox5); this.GtkAlignment2.Add(this.vbox5);
this.frame3.Add (this.GtkAlignment2); this.frame3.Add(this.GtkAlignment2);
this.GtkLabel3 = new global::Gtk.Label (); this.GtkLabel3 = new global::Gtk.Label();
this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.Name = "GtkLabel3";
this.GtkLabel3.LabelProp = "<b>Options de l'interface</b>"; this.GtkLabel3.LabelProp = "<b>Options de l\'interface</b>";
this.GtkLabel3.UseMarkup = true; this.GtkLabel3.UseMarkup = true;
this.frame3.LabelWidget = this.GtkLabel3; this.frame3.LabelWidget = this.GtkLabel3;
this.table1.Add (this.frame3); this.table1.Add(this.frame3);
global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.frame3])); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.frame3]));
w19.TopAttach = ((uint)(2)); w19.TopAttach = ((uint)(2));
w19.BottomAttach = ((uint)(3)); w19.BottomAttach = ((uint)(3));
w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4));
w19.YOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.hbuttonbox2 = new global::Gtk.HButtonBox (); this.hbuttonbox2 = new global::Gtk.HButtonBox();
this.hbuttonbox2.Name = "hbuttonbox2"; this.hbuttonbox2.Name = "hbuttonbox2";
// Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
this.btnActiv = new global::Gtk.Button (); this.btnActiv = new global::Gtk.Button();
this.btnActiv.Sensitive = false; this.btnActiv.Sensitive = false;
this.btnActiv.CanFocus = true; this.btnActiv.CanFocus = true;
this.btnActiv.Name = "btnActiv"; this.btnActiv.Name = "btnActiv";
this.btnActiv.UseUnderline = true; this.btnActiv.UseUnderline = true;
// Container child btnActiv.Gtk.Container+ContainerChild this.btnActiv.Label = "Activer";
global::Gtk.Alignment w20 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w20 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w20.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-down", global::Gtk.IconSize.Menu);
global::Gtk.HBox w21 = new global::Gtk.HBox (); this.btnActiv.Image = w20;
w21.Spacing = 2; this.hbuttonbox2.Add(this.btnActiv);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btnActiv]));
global::Gtk.Image w22 = new global::Gtk.Image (); w21.Expand = false;
w22.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-down", global::Gtk.IconSize.Menu); w21.Fill = false;
w21.Add (w22);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w24 = new global::Gtk.Label ();
w24.LabelProp = "Activer";
w24.UseUnderline = true;
w21.Add (w24);
w20.Add (w21);
this.btnActiv.Add (w20);
this.hbuttonbox2.Add (this.btnActiv);
global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.btnActiv]));
w28.Expand = false;
w28.Fill = false;
// Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild // Container child hbuttonbox2.Gtk.ButtonBox+ButtonBoxChild
this.btnDesactiv = new global::Gtk.Button (); this.btnDesactiv = new global::Gtk.Button();
this.btnDesactiv.Sensitive = false; this.btnDesactiv.Sensitive = false;
this.btnDesactiv.CanFocus = true; this.btnDesactiv.CanFocus = true;
this.btnDesactiv.Name = "btnDesactiv"; this.btnDesactiv.Name = "btnDesactiv";
this.btnDesactiv.UseUnderline = true; this.btnDesactiv.UseUnderline = true;
// Container child btnDesactiv.Gtk.Container+ContainerChild this.btnDesactiv.Label = "Désactiver";
global::Gtk.Alignment w29 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w22 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-up", global::Gtk.IconSize.Menu);
global::Gtk.HBox w30 = new global::Gtk.HBox (); this.btnDesactiv.Image = w22;
w30.Spacing = 2; this.hbuttonbox2.Add(this.btnDesactiv);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2[this.btnDesactiv]));
global::Gtk.Image w31 = new global::Gtk.Image (); w23.Position = 1;
w31.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-up", global::Gtk.IconSize.Menu); w23.Expand = false;
w30.Add (w31); w23.Fill = false;
// Container child GtkHBox.Gtk.Container+ContainerChild this.table1.Add(this.hbuttonbox2);
global::Gtk.Label w33 = new global::Gtk.Label (); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1[this.hbuttonbox2]));
w33.LabelProp = "Désactiver"; w24.TopAttach = ((uint)(1));
w33.UseUnderline = true; w24.BottomAttach = ((uint)(2));
w30.Add (w33); w24.LeftAttach = ((uint)(1));
w29.Add (w30); w24.RightAttach = ((uint)(2));
this.btnDesactiv.Add (w29); w24.XOptions = ((global::Gtk.AttachOptions)(0));
this.hbuttonbox2.Add (this.btnDesactiv); w24.YOptions = ((global::Gtk.AttachOptions)(4));
global::Gtk.ButtonBox.ButtonBoxChild w37 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox2 [this.btnDesactiv]));
w37.Position = 1;
w37.Expand = false;
w37.Fill = false;
this.table1.Add (this.hbuttonbox2);
global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.hbuttonbox2]));
w38.TopAttach = ((uint)(1));
w38.BottomAttach = ((uint)(2));
w38.LeftAttach = ((uint)(1));
w38.RightAttach = ((uint)(2));
w38.XOptions = ((global::Gtk.AttachOptions)(0));
w38.YOptions = ((global::Gtk.AttachOptions)(4));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.label1 = new global::Gtk.Label (); this.label1 = new global::Gtk.Label();
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Xalign = 0F; this.label1.Xalign = 0F;
this.label1.LabelProp = "Interfaces disponibles :"; this.label1.LabelProp = "Interfaces disponibles :";
this.vbox2.Add (this.label1); this.vbox2.Add(this.label1);
global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1]));
w39.Position = 0; w25.Position = 0;
w39.Expand = false; w25.Expand = false;
w39.Fill = false; w25.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.Name = "GtkScrolledWindow";
this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
this.listDetect = new global::Gtk.TreeView (); this.listDetect = new global::Gtk.TreeView();
this.listDetect.CanFocus = true; this.listDetect.CanFocus = true;
this.listDetect.Name = "listDetect"; this.listDetect.Name = "listDetect";
this.listDetect.HeadersVisible = false; this.listDetect.HeadersVisible = false;
this.GtkScrolledWindow.Add (this.listDetect); this.GtkScrolledWindow.Add(this.listDetect);
this.vbox2.Add (this.GtkScrolledWindow); this.vbox2.Add(this.GtkScrolledWindow);
global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
w41.Position = 1; w27.Position = 1;
this.table1.Add (this.vbox2); this.table1.Add(this.vbox2);
global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2])); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox2]));
w42.LeftAttach = ((uint)(1)); w28.LeftAttach = ((uint)(1));
w42.RightAttach = ((uint)(2)); w28.RightAttach = ((uint)(2));
// Container child table1.Gtk.Table+TableChild // Container child table1.Gtk.Table+TableChild
this.vbox3 = new global::Gtk.VBox (); this.vbox3 = new global::Gtk.VBox();
this.vbox3.Name = "vbox3"; this.vbox3.Name = "vbox3";
this.vbox3.Spacing = 6; this.vbox3.Spacing = 6;
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.label2 = new global::Gtk.Label (); this.label2 = new global::Gtk.Label();
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Xalign = 0F; this.label2.Xalign = 0F;
this.label2.LabelProp = "Interfaces selectionnées : "; this.label2.LabelProp = "Interfaces selectionnées : ";
this.vbox3.Add (this.label2); this.vbox3.Add(this.label2);
global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.label2]));
w43.Position = 0; w29.Position = 0;
w43.Expand = false; w29.Expand = false;
w43.Fill = false; w29.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
this.listKnown = new global::Gtk.TreeView (); this.listKnown = new global::Gtk.TreeView();
this.listKnown.CanFocus = true; this.listKnown.CanFocus = true;
this.listKnown.Name = "listKnown"; this.listKnown.Name = "listKnown";
this.listKnown.HeadersVisible = false; this.listKnown.HeadersVisible = false;
this.GtkScrolledWindow1.Add (this.listKnown); this.GtkScrolledWindow1.Add(this.listKnown);
this.vbox3.Add (this.GtkScrolledWindow1); this.vbox3.Add(this.GtkScrolledWindow1);
global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.GtkScrolledWindow1])); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.GtkScrolledWindow1]));
w45.Position = 1; w31.Position = 1;
this.table1.Add (this.vbox3); this.table1.Add(this.vbox3);
global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox3])); global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1[this.vbox3]));
w46.TopAttach = ((uint)(2)); w32.TopAttach = ((uint)(2));
w46.BottomAttach = ((uint)(3)); w32.BottomAttach = ((uint)(3));
w46.LeftAttach = ((uint)(1)); w32.LeftAttach = ((uint)(1));
w46.RightAttach = ((uint)(2)); w32.RightAttach = ((uint)(2));
w1.Add (this.table1); w1.Add(this.table1);
global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(w1[this.table1]));
w47.Position = 0; w33.Position = 0;
// Internal child DMX2.GestionMidiUI.ActionArea // Internal child DMX2.GestionMidiUI.ActionArea
global::Gtk.HButtonBox w48 = this.ActionArea; global::Gtk.HButtonBox w34 = this.ActionArea;
w48.Name = "dialog1_ActionArea"; w34.Name = "dialog1_ActionArea";
w48.Spacing = 10; w34.Spacing = 10;
w48.BorderWidth = ((uint)(5)); w34.BorderWidth = ((uint)(5));
w48.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); w34.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.btnClearEvents = new global::Gtk.Button (); this.btnClearEvents = new global::Gtk.Button();
this.btnClearEvents.CanFocus = true; this.btnClearEvents.CanFocus = true;
this.btnClearEvents.Name = "btnClearEvents"; this.btnClearEvents.Name = "btnClearEvents";
this.btnClearEvents.UseUnderline = true; this.btnClearEvents.UseUnderline = true;
this.btnClearEvents.Label = "Delier tout les évenements"; this.btnClearEvents.Label = "Delier tout les évenements";
this.AddActionWidget (this.btnClearEvents, 0); this.AddActionWidget(this.btnClearEvents, 0);
global::Gtk.ButtonBox.ButtonBoxChild w49 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.btnClearEvents])); global::Gtk.ButtonBox.ButtonBoxChild w35 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w34[this.btnClearEvents]));
w49.Expand = false; w35.Expand = false;
w49.Fill = false; w35.Fill = false;
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonClose = new global::Gtk.Button (); this.buttonClose = new global::Gtk.Button();
this.buttonClose.CanDefault = true; this.buttonClose.CanDefault = true;
this.buttonClose.CanFocus = true; this.buttonClose.CanFocus = true;
this.buttonClose.Name = "buttonClose"; this.buttonClose.Name = "buttonClose";
this.buttonClose.UseStock = true; this.buttonClose.UseStock = true;
this.buttonClose.UseUnderline = true; this.buttonClose.UseUnderline = true;
this.buttonClose.Label = "gtk-close"; this.buttonClose.Label = "gtk-close";
this.AddActionWidget (this.buttonClose, -7); this.AddActionWidget(this.buttonClose, -7);
global::Gtk.ButtonBox.ButtonBoxChild w50 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.buttonClose])); global::Gtk.ButtonBox.ButtonBoxChild w36 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w34[this.buttonClose]));
w50.Position = 1; w36.Position = 1;
w50.Expand = false; w36.Expand = false;
w50.Fill = false; w36.Fill = false;
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.DefaultWidth = 838; this.DefaultWidth = 838;
this.DefaultHeight = 567; this.DefaultHeight = 567;
this.Show (); this.Show();
this.listKnown.CursorChanged += new global::System.EventHandler (this.OnListKnownCursorChanged); this.listKnown.CursorChanged += new global::System.EventHandler(this.OnListKnownCursorChanged);
this.listDetect.CursorChanged += new global::System.EventHandler (this.OnListDetectCursorChanged); this.listDetect.CursorChanged += new global::System.EventHandler(this.OnListDetectCursorChanged);
this.btnActiv.Clicked += new global::System.EventHandler (this.OnBtnActivClicked); this.btnActiv.Clicked += new global::System.EventHandler(this.OnBtnActivClicked);
this.btnDesactiv.Clicked += new global::System.EventHandler (this.OnBtnDesactivClicked); this.btnDesactiv.Clicked += new global::System.EventHandler(this.OnBtnDesactivClicked);
this.chkFB.Toggled += new global::System.EventHandler (this.OnChkFBToggled); this.chkFB.Toggled += new global::System.EventHandler(this.OnChkFBToggled);
this.spinUPCh.ValueChanged += new global::System.EventHandler (this.OnSpinUPChValueChanged); this.spinUPCh.ValueChanged += new global::System.EventHandler(this.OnSpinUPChValueChanged);
this.spinPageUp.ValueChanged += new global::System.EventHandler (this.OnSpinPageUpValueChanged); this.spinPageUp.ValueChanged += new global::System.EventHandler(this.OnSpinPageUpValueChanged);
this.spinPageDown.ValueChanged += new global::System.EventHandler (this.OnSpinPageDownValueChanged); this.spinPageDown.ValueChanged += new global::System.EventHandler(this.OnSpinPageDownValueChanged);
this.spinMax14b.ValueChanged += new global::System.EventHandler (this.OnSpinMax14bValueChanged); this.spinMax14b.ValueChanged += new global::System.EventHandler(this.OnSpinMax14bValueChanged);
this.chkPg.Toggled += new global::System.EventHandler (this.OnChkPgToggled); this.chkPg.Toggled += new global::System.EventHandler(this.OnChkPgToggled);
this.chkFourteenBits.Toggled += new global::System.EventHandler (this.OnChkFourteenBitsToggled); this.chkFourteenBits.Toggled += new global::System.EventHandler(this.OnChkFourteenBitsToggled);
this.btnClearEvents.Clicked += new global::System.EventHandler (this.OnBtnClearEventsClicked); this.btnClearEvents.Clicked += new global::System.EventHandler(this.OnBtnClearEventsClicked);
this.buttonClose.Clicked += new global::System.EventHandler (this.OnButtonCloseClicked); this.buttonClose.Clicked += new global::System.EventHandler(this.OnButtonCloseClicked);
} }
} }
} }

View file

@ -5,325 +5,325 @@ namespace DMX2
public partial class MainWindow public partial class MainWindow
{ {
private global::Gtk.UIManager UIManager; private global::Gtk.UIManager UIManager;
private global::Gtk.Action openAction; private global::Gtk.Action openAction;
private global::Gtk.Action saveAction; private global::Gtk.Action saveAction;
private global::Gtk.Action saveAsAction; private global::Gtk.Action saveAsAction;
private global::Gtk.Action quitAction; private global::Gtk.Action quitAction;
private global::Gtk.Action closeAction; private global::Gtk.Action closeAction;
private global::Gtk.Action TestAction; private global::Gtk.Action TestAction;
private global::Gtk.Action circAction; private global::Gtk.Action circAction;
private global::Gtk.Action propertiesAction; private global::Gtk.Action propertiesAction;
private global::Gtk.Action FichierAction; private global::Gtk.Action FichierAction;
private global::Gtk.Action newAction; private global::Gtk.Action newAction;
private global::Gtk.Action seqLinAction; private global::Gtk.Action seqLinAction;
private global::Gtk.Action fullscreenAction; private global::Gtk.Action fullscreenAction;
private global::Gtk.Action fullscreenAction1; private global::Gtk.Action fullscreenAction1;
private global::Gtk.Action showAllAction; private global::Gtk.Action showAllAction;
private global::Gtk.Action universAction; private global::Gtk.Action universAction;
private global::Gtk.Action connectAction; private global::Gtk.Action connectAction;
private global::Gtk.Action seqMacroAction; private global::Gtk.Action seqMacroAction;
private global::Gtk.Action selectColorAction; private global::Gtk.Action selectColorAction;
private global::Gtk.Action aboutAction; private global::Gtk.Action aboutAction;
private global::Gtk.Action midiAction; private global::Gtk.Action midiAction;
private global::Gtk.Action connectAction1; private global::Gtk.Action connectAction1;
private global::Gtk.Action selectColorAction1; private global::Gtk.Action selectColorAction1;
private global::Gtk.Action seqSonAction; private global::Gtk.Action seqSonAction;
private global::Gtk.Action selectColorAction2; private global::Gtk.Action selectColorAction2;
private global::Gtk.Action seqMidiAction; private global::Gtk.Action seqMidiAction;
private global::Gtk.VBox vbox1; private global::Gtk.VBox vbox1;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.Button btnGo; private global::Gtk.Button btnGo;
private global::Gtk.Button btnGoBack; private global::Gtk.Button btnGoBack;
private global::Gtk.Button btnAjoutLigne; private global::Gtk.Button btnAjoutLigne;
private global::Gtk.Button btnRetireLigne; private global::Gtk.Button btnRetireLigne;
private global::Gtk.ToggleButton btnBlackOut; private global::Gtk.ToggleButton btnBlackOut;
private global::Gtk.ToggleButton btnPause; private global::Gtk.ToggleButton btnPause;
private global::Gtk.EventBox evBBox; private global::Gtk.EventBox evBBox;
private global::Gtk.Label timeLabel; private global::Gtk.Label timeLabel;
private global::Gtk.VScale masterScale; private global::Gtk.VScale masterScale;
private global::Gtk.EventBox evBBox1; private global::Gtk.EventBox evBBox1;
private global::Gtk.VBox vbox3; private global::Gtk.VBox vbox3;
private global::Gtk.Label lblPage; private global::Gtk.Label lblPage;
private global::Gtk.Label lblpagesmall; private global::Gtk.Label lblpagesmall;
private global::Gtk.VSeparator vseparator1; private global::Gtk.VSeparator vseparator1;
private global::Gtk.HPaned hpaned1; private global::Gtk.HPaned hpaned1;
private global::Gtk.HPaned hpaned2; private global::Gtk.HPaned hpaned2;
private global::Gtk.VBox vbox4; private global::Gtk.VBox vbox4;
private global::Gtk.EventBox evBBox2; private global::Gtk.EventBox evBBox2;
private global::Gtk.VBox vbox5; private global::Gtk.VBox vbox5;
private global::Gtk.Label labelMasterPos; private global::Gtk.Label labelMasterPos;
private global::Gtk.Label labelMasterNext; private global::Gtk.Label labelMasterNext;
private global::Gtk.ScrolledWindow GtkScrolledWindow2; private global::Gtk.ScrolledWindow GtkScrolledWindow2;
private global::Gtk.NodeView MatriceUI; private global::Gtk.NodeView MatriceUI;
private global::Gtk.ScrolledWindow scrolledwindow2; private global::Gtk.ScrolledWindow scrolledwindow2;
private global::Gtk.VBox vboxCircuits; private global::Gtk.VBox vboxCircuits;
private global::Gtk.HSeparator hseparator1; private global::Gtk.HSeparator hseparator1;
private global::Gtk.HBox hbox4; private global::Gtk.HBox hbox4;
private global::Gtk.Toolbar toolbar7; private global::Gtk.Toolbar toolbar7;
private global::Gtk.EventBox evInfo; private global::Gtk.EventBox evInfo;
private global::Gtk.Label lblInfo; private global::Gtk.Label lblInfo;
private global::Gtk.Toolbar toolbar8; private global::Gtk.Toolbar toolbar8;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.MainWindow // Widget DMX2.MainWindow
this.UIManager = new global::Gtk.UIManager (); this.UIManager = new global::Gtk.UIManager();
global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
this.openAction = new global::Gtk.Action ("openAction", "_Ouvrir", "Ouvrir", "gtk-open"); this.openAction = new global::Gtk.Action("openAction", "_Ouvrir", "Ouvrir", "gtk-open");
this.openAction.ShortLabel = "_Ouvrir"; this.openAction.ShortLabel = "_Ouvrir";
w1.Add (this.openAction, null); w1.Add(this.openAction, null);
this.saveAction = new global::Gtk.Action ("saveAction", null, "Enregistrer", "gtk-save"); this.saveAction = new global::Gtk.Action("saveAction", null, "Enregistrer", "gtk-save");
this.saveAction.Sensitive = false; this.saveAction.Sensitive = false;
w1.Add (this.saveAction, null); w1.Add(this.saveAction, null);
this.saveAsAction = new global::Gtk.Action ("saveAsAction", null, "Enregistrer sous ...", "gtk-save-as"); this.saveAsAction = new global::Gtk.Action("saveAsAction", null, "Enregistrer sous ...", "gtk-save-as");
this.saveAsAction.Sensitive = false; this.saveAsAction.Sensitive = false;
w1.Add (this.saveAsAction, null); w1.Add(this.saveAsAction, null);
this.quitAction = new global::Gtk.Action ("quitAction", null, "Quitter", "gtk-quit"); this.quitAction = new global::Gtk.Action("quitAction", null, "Quitter", "gtk-quit");
w1.Add (this.quitAction, null); w1.Add(this.quitAction, null);
this.closeAction = new global::Gtk.Action ("closeAction", null, "Fermer", "gtk-close"); this.closeAction = new global::Gtk.Action("closeAction", null, "Fermer", "gtk-close");
this.closeAction.Sensitive = false; this.closeAction.Sensitive = false;
w1.Add (this.closeAction, null); w1.Add(this.closeAction, null);
this.TestAction = new global::Gtk.Action ("TestAction", "Test", null, null); this.TestAction = new global::Gtk.Action("TestAction", "Test", null, null);
this.TestAction.ShortLabel = "Test"; this.TestAction.ShortLabel = "Test";
w1.Add (this.TestAction, null); w1.Add(this.TestAction, null);
this.circAction = new global::Gtk.Action ("circAction", "Gestion des Circuits", "Gestion des Circuits", "circuits"); this.circAction = new global::Gtk.Action("circAction", "Gestion des Circuits", "Gestion des Circuits", "circuits");
this.circAction.Sensitive = false; this.circAction.Sensitive = false;
this.circAction.ShortLabel = "Circuits"; this.circAction.ShortLabel = "Circuits";
w1.Add (this.circAction, null); w1.Add(this.circAction, null);
this.propertiesAction = new global::Gtk.Action ("propertiesAction", "Circuits", null, "gtk-properties"); this.propertiesAction = new global::Gtk.Action("propertiesAction", "Circuits", null, "gtk-properties");
this.propertiesAction.ShortLabel = "Circuits"; this.propertiesAction.ShortLabel = "Circuits";
w1.Add (this.propertiesAction, null); w1.Add(this.propertiesAction, null);
this.FichierAction = new global::Gtk.Action ("FichierAction", "_Fichier", null, null); this.FichierAction = new global::Gtk.Action("FichierAction", "_Fichier", null, null);
this.FichierAction.ShortLabel = "_Fichier"; this.FichierAction.ShortLabel = "_Fichier";
w1.Add (this.FichierAction, null); w1.Add(this.FichierAction, null);
this.newAction = new global::Gtk.Action ("newAction", null, "Nouvelle Conduite", "gtk-new"); this.newAction = new global::Gtk.Action("newAction", null, "Nouvelle Conduite", "gtk-new");
w1.Add (this.newAction, null); w1.Add(this.newAction, null);
this.seqLinAction = new global::Gtk.Action ("seqLinAction", "Ajout Sequenceur", "Ajouter un sequenceur lineraire", "tirettes"); this.seqLinAction = new global::Gtk.Action("seqLinAction", "Ajout Sequenceur", "Ajouter un sequenceur lineraire", "tirettes");
this.seqLinAction.Sensitive = false; this.seqLinAction.Sensitive = false;
this.seqLinAction.ShortLabel = "Ajout Sequenceur"; this.seqLinAction.ShortLabel = "Ajout Sequenceur";
w1.Add (this.seqLinAction, null); w1.Add(this.seqLinAction, null);
this.fullscreenAction = new global::Gtk.Action ("fullscreenAction", "_Plein écran", null, "gtk-fullscreen"); this.fullscreenAction = new global::Gtk.Action("fullscreenAction", "_Plein écran", null, "gtk-fullscreen");
this.fullscreenAction.ShortLabel = "_Plein écran"; this.fullscreenAction.ShortLabel = "_Plein écran";
w1.Add (this.fullscreenAction, null); w1.Add(this.fullscreenAction, null);
this.fullscreenAction1 = new global::Gtk.Action ("fullscreenAction1", "_Plein écran", "Plein Ecran", "gtk-fullscreen"); this.fullscreenAction1 = new global::Gtk.Action("fullscreenAction1", "_Plein écran", "Plein Ecran", "gtk-fullscreen");
this.fullscreenAction1.ShortLabel = "_Plein écran"; this.fullscreenAction1.ShortLabel = "_Plein écran";
w1.Add (this.fullscreenAction1, null); w1.Add(this.fullscreenAction1, null);
this.showAllAction = new global::Gtk.Action ("showAllAction", "ShowAll", "Tout réafficher", "gtk-refresh"); this.showAllAction = new global::Gtk.Action("showAllAction", "ShowAll", "Tout réafficher", "gtk-refresh");
this.showAllAction.Sensitive = false; this.showAllAction.Sensitive = false;
this.showAllAction.ShortLabel = "ShowAll"; this.showAllAction.ShortLabel = "ShowAll";
w1.Add (this.showAllAction, null); w1.Add(this.showAllAction, null);
this.universAction = new global::Gtk.Action ("universAction", "Univers", "Gestion des Univers", "gtk-execute"); this.universAction = new global::Gtk.Action("universAction", "Univers", "Gestion des Univers", "gtk-execute");
this.universAction.Sensitive = false; this.universAction.Sensitive = false;
this.universAction.ShortLabel = "Univers"; this.universAction.ShortLabel = "Univers";
w1.Add (this.universAction, null); w1.Add(this.universAction, null);
this.connectAction = new global::Gtk.Action ("connectAction", null, "Connecter d\'un boitier", "gtk-connect"); this.connectAction = new global::Gtk.Action("connectAction", null, "Connecter d\'un boitier", "gtk-connect");
w1.Add (this.connectAction, null); w1.Add(this.connectAction, null);
this.seqMacroAction = new global::Gtk.Action ("seqMacroAction", null, "Ajouter un sequenceur macro", "gtk-index"); this.seqMacroAction = new global::Gtk.Action("seqMacroAction", null, "Ajouter un sequenceur macro", "gtk-index");
this.seqMacroAction.Sensitive = false; this.seqMacroAction.Sensitive = false;
w1.Add (this.seqMacroAction, null); w1.Add(this.seqMacroAction, null);
this.selectColorAction = new global::Gtk.Action ("selectColorAction", null, "Recharger le theme", "gtk-select-color"); this.selectColorAction = new global::Gtk.Action("selectColorAction", null, "Recharger le theme", "gtk-select-color");
w1.Add (this.selectColorAction, null); w1.Add(this.selectColorAction, null);
this.aboutAction = new global::Gtk.Action ("aboutAction", null, null, "gtk-about"); this.aboutAction = new global::Gtk.Action("aboutAction", null, null, "gtk-about");
w1.Add (this.aboutAction, null); w1.Add(this.aboutAction, null);
this.midiAction = new global::Gtk.Action ("midiAction", null, null, "gtk-preferences"); this.midiAction = new global::Gtk.Action("midiAction", null, null, "gtk-preferences");
w1.Add (this.midiAction, null); w1.Add(this.midiAction, null);
this.connectAction1 = new global::Gtk.Action ("connectAction1", "Connection Midi", null, "gtk-connect"); this.connectAction1 = new global::Gtk.Action("connectAction1", "Connection Midi", null, "gtk-connect");
this.connectAction1.ShortLabel = "Connection Midi"; this.connectAction1.ShortLabel = "Connection Midi";
w1.Add (this.connectAction1, null); w1.Add(this.connectAction1, null);
this.selectColorAction1 = new global::Gtk.Action ("selectColorAction1", null, null, "gtk-select-color"); this.selectColorAction1 = new global::Gtk.Action("selectColorAction1", null, null, "gtk-select-color");
w1.Add (this.selectColorAction1, null); w1.Add(this.selectColorAction1, null);
this.seqSonAction = new global::Gtk.Action ("seqSonAction", null, null, "gtk-cdrom"); this.seqSonAction = new global::Gtk.Action("seqSonAction", null, null, "gtk-cdrom");
this.seqSonAction.Sensitive = false; this.seqSonAction.Sensitive = false;
w1.Add (this.seqSonAction, null); w1.Add(this.seqSonAction, null);
this.selectColorAction2 = new global::Gtk.Action ("selectColorAction2", null, null, "gtk-select-color"); this.selectColorAction2 = new global::Gtk.Action("selectColorAction2", null, null, "gtk-select-color");
this.selectColorAction2.Visible = false; this.selectColorAction2.Visible = false;
this.selectColorAction2.VisibleHorizontal = false; this.selectColorAction2.VisibleHorizontal = false;
this.selectColorAction2.VisibleVertical = false; this.selectColorAction2.VisibleVertical = false;
this.selectColorAction2.VisibleOverflown = false; this.selectColorAction2.VisibleOverflown = false;
w1.Add (this.selectColorAction2, null); w1.Add(this.selectColorAction2, null);
this.seqMidiAction = new global::Gtk.Action ("seqMidiAction", null, null, "MidiSeq"); this.seqMidiAction = new global::Gtk.Action("seqMidiAction", null, null, "MidiSeq");
this.seqMidiAction.Sensitive = false; this.seqMidiAction.Sensitive = false;
w1.Add (this.seqMidiAction, null); w1.Add(this.seqMidiAction, null);
this.UIManager.InsertActionGroup (w1, 0); this.UIManager.InsertActionGroup(w1, 0);
this.AddAccelGroup (this.UIManager.AccelGroup); this.AddAccelGroup(this.UIManager.AccelGroup);
this.Name = "DMX2.MainWindow"; this.Name = "DMX2.MainWindow";
this.Title = "MainWindow"; this.Title = "MainWindow";
this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.WindowPosition = ((global::Gtk.WindowPosition)(4));
this.BorderWidth = ((uint)(3)); this.BorderWidth = ((uint)(3));
// Container child DMX2.MainWindow.Gtk.Container+ContainerChild // Container child DMX2.MainWindow.Gtk.Container+ContainerChild
this.vbox1 = new global::Gtk.VBox (); this.vbox1 = new global::Gtk.VBox();
this.vbox1.Name = "vbox1"; this.vbox1.Name = "vbox1";
this.vbox1.Spacing = 6; this.vbox1.Spacing = 6;
// Container child vbox1.Gtk.Box+BoxChild // Container child vbox1.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.btnGo = new global::Gtk.Button (); this.btnGo = new global::Gtk.Button();
this.btnGo.CanFocus = true; this.btnGo.CanFocus = true;
this.btnGo.Name = "btnGo"; this.btnGo.Name = "btnGo";
this.btnGo.UseUnderline = true; this.btnGo.UseUnderline = true;
global::Gtk.Image w2 = new global::Gtk.Image (); global::Gtk.Image w2 = new global::Gtk.Image();
w2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-goto-last", global::Gtk.IconSize.Dnd); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-goto-last", global::Gtk.IconSize.Dnd);
this.btnGo.Image = w2; this.btnGo.Image = w2;
this.vbox2.Add (this.btnGo); this.vbox2.Add(this.btnGo);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnGo])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnGo]));
w3.Position = 0; w3.Position = 0;
w3.Expand = false; w3.Expand = false;
w3.Fill = false; w3.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.btnGoBack = new global::Gtk.Button (); this.btnGoBack = new global::Gtk.Button();
this.btnGoBack.CanFocus = true; this.btnGoBack.CanFocus = true;
this.btnGoBack.Name = "btnGoBack"; this.btnGoBack.Name = "btnGoBack";
this.btnGoBack.UseUnderline = true; this.btnGoBack.UseUnderline = true;
global::Gtk.Image w4 = new global::Gtk.Image (); global::Gtk.Image w4 = new global::Gtk.Image();
w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-goto-first", global::Gtk.IconSize.Dnd); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-goto-first", global::Gtk.IconSize.Dnd);
this.btnGoBack.Image = w4; this.btnGoBack.Image = w4;
this.vbox2.Add (this.btnGoBack); this.vbox2.Add(this.btnGoBack);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnGoBack])); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnGoBack]));
w5.Position = 1; w5.Position = 1;
w5.Expand = false; w5.Expand = false;
w5.Fill = false; w5.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.btnAjoutLigne = new global::Gtk.Button (); this.btnAjoutLigne = new global::Gtk.Button();
this.btnAjoutLigne.TooltipMarkup = "Ajoute ligne sous\ncelle selectionnée"; this.btnAjoutLigne.TooltipMarkup = "Ajoute ligne sous\ncelle selectionnée";
this.btnAjoutLigne.CanFocus = true; this.btnAjoutLigne.CanFocus = true;
this.btnAjoutLigne.Name = "btnAjoutLigne"; this.btnAjoutLigne.Name = "btnAjoutLigne";
this.btnAjoutLigne.UseUnderline = true; this.btnAjoutLigne.UseUnderline = true;
global::Gtk.Image w6 = new global::Gtk.Image (); global::Gtk.Image w6 = new global::Gtk.Image();
w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Dnd); w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Dnd);
this.btnAjoutLigne.Image = w6; this.btnAjoutLigne.Image = w6;
this.vbox2.Add (this.btnAjoutLigne); this.vbox2.Add(this.btnAjoutLigne);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnAjoutLigne])); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnAjoutLigne]));
w7.Position = 2; w7.Position = 2;
w7.Expand = false; w7.Expand = false;
w7.Fill = false; w7.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.btnRetireLigne = new global::Gtk.Button (); this.btnRetireLigne = new global::Gtk.Button();
this.btnRetireLigne.TooltipMarkup = "Retire la ligne selectionnée"; this.btnRetireLigne.TooltipMarkup = "Retire la ligne selectionnée";
this.btnRetireLigne.CanFocus = true; this.btnRetireLigne.CanFocus = true;
this.btnRetireLigne.Name = "btnRetireLigne"; this.btnRetireLigne.Name = "btnRetireLigne";
this.btnRetireLigne.UseUnderline = true; this.btnRetireLigne.UseUnderline = true;
global::Gtk.Image w8 = new global::Gtk.Image (); global::Gtk.Image w8 = new global::Gtk.Image();
w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-remove", global::Gtk.IconSize.Dnd); w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Dnd);
this.btnRetireLigne.Image = w8; this.btnRetireLigne.Image = w8;
this.vbox2.Add (this.btnRetireLigne); this.vbox2.Add(this.btnRetireLigne);
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnRetireLigne])); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnRetireLigne]));
w9.Position = 3; w9.Position = 3;
w9.Expand = false; w9.Expand = false;
w9.Fill = false; w9.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.btnBlackOut = new global::Gtk.ToggleButton (); this.btnBlackOut = new global::Gtk.ToggleButton();
this.btnBlackOut.TooltipMarkup = "Blackout"; this.btnBlackOut.TooltipMarkup = "Blackout";
this.btnBlackOut.CanFocus = true; this.btnBlackOut.CanFocus = true;
this.btnBlackOut.Name = "btnBlackOut"; this.btnBlackOut.Name = "btnBlackOut";
this.btnBlackOut.UseUnderline = true; this.btnBlackOut.UseUnderline = true;
global::Gtk.Image w10 = new global::Gtk.Image (); global::Gtk.Image w10 = new global::Gtk.Image();
w10.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-no", global::Gtk.IconSize.Dnd); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-no", global::Gtk.IconSize.Dnd);
this.btnBlackOut.Image = w10; this.btnBlackOut.Image = w10;
this.vbox2.Add (this.btnBlackOut); this.vbox2.Add(this.btnBlackOut);
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnBlackOut])); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnBlackOut]));
w11.Position = 4; w11.Position = 4;
w11.Expand = false; w11.Expand = false;
w11.Fill = false; w11.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.btnPause = new global::Gtk.ToggleButton (); this.btnPause = new global::Gtk.ToggleButton();
this.btnPause.TooltipMarkup = "Pause"; this.btnPause.TooltipMarkup = "Pause";
this.btnPause.CanFocus = true; this.btnPause.CanFocus = true;
this.btnPause.Name = "btnPause"; this.btnPause.Name = "btnPause";
this.btnPause.UseUnderline = true; this.btnPause.UseUnderline = true;
global::Gtk.Image w12 = new global::Gtk.Image (); global::Gtk.Image w12 = new global::Gtk.Image();
w12.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-pause", global::Gtk.IconSize.Dnd); w12.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-pause", global::Gtk.IconSize.Dnd);
this.btnPause.Image = w12; this.btnPause.Image = w12;
this.vbox2.Add (this.btnPause); this.vbox2.Add(this.btnPause);
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.btnPause])); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btnPause]));
w13.Position = 5; w13.Position = 5;
w13.Expand = false; w13.Expand = false;
w13.Fill = false; w13.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.evBBox = new global::Gtk.EventBox (); this.evBBox = new global::Gtk.EventBox();
this.evBBox.Name = "evBBox"; this.evBBox.Name = "evBBox";
// Container child evBBox.Gtk.Container+ContainerChild // Container child evBBox.Gtk.Container+ContainerChild
this.timeLabel = new global::Gtk.Label (); this.timeLabel = new global::Gtk.Label();
this.timeLabel.Name = "timeLabel"; this.timeLabel.Name = "timeLabel";
this.timeLabel.Ypad = 8; this.timeLabel.Ypad = 8;
this.timeLabel.LabelProp = "<big>0.00</big>"; this.timeLabel.LabelProp = "<big>0.00</big>";
this.timeLabel.UseMarkup = true; this.timeLabel.UseMarkup = true;
this.timeLabel.Justify = ((global::Gtk.Justification)(2)); this.timeLabel.Justify = ((global::Gtk.Justification)(2));
this.timeLabel.Angle = 90D; this.timeLabel.Angle = 90D;
this.evBBox.Add (this.timeLabel); this.evBBox.Add(this.timeLabel);
this.vbox2.Add (this.evBBox); this.vbox2.Add(this.evBBox);
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.evBBox])); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.evBBox]));
w15.Position = 6; w15.Position = 6;
w15.Expand = false; w15.Expand = false;
w15.Fill = false; w15.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.masterScale = new global::Gtk.VScale (null); this.masterScale = new global::Gtk.VScale(null);
this.masterScale.TooltipMarkup = "Master"; this.masterScale.TooltipMarkup = "Master";
this.masterScale.HeightRequest = 75; this.masterScale.HeightRequest = 75;
this.masterScale.Name = "masterScale"; this.masterScale.Name = "masterScale";
@ -335,234 +335,235 @@ namespace DMX2
this.masterScale.DrawValue = true; this.masterScale.DrawValue = true;
this.masterScale.Digits = 0; this.masterScale.Digits = 0;
this.masterScale.ValuePos = ((global::Gtk.PositionType)(2)); this.masterScale.ValuePos = ((global::Gtk.PositionType)(2));
this.vbox2.Add (this.masterScale); this.vbox2.Add(this.masterScale);
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.masterScale])); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.masterScale]));
w16.Position = 7; w16.Position = 7;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.evBBox1 = new global::Gtk.EventBox (); this.evBBox1 = new global::Gtk.EventBox();
this.evBBox1.Name = "evBBox1"; this.evBBox1.Name = "evBBox1";
// Container child evBBox1.Gtk.Container+ContainerChild // Container child evBBox1.Gtk.Container+ContainerChild
this.vbox3 = new global::Gtk.VBox (); this.vbox3 = new global::Gtk.VBox();
this.vbox3.Name = "vbox3"; this.vbox3.Name = "vbox3";
this.vbox3.Spacing = 6; this.vbox3.Spacing = 6;
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.lblPage = new global::Gtk.Label (); this.lblPage = new global::Gtk.Label();
this.lblPage.Name = "lblPage"; this.lblPage.Name = "lblPage";
this.lblPage.LabelProp = "0"; this.lblPage.LabelProp = "0";
this.vbox3.Add (this.lblPage); this.vbox3.Add(this.lblPage);
global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lblPage])); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.lblPage]));
w17.Position = 0; w17.Position = 0;
w17.Expand = false; w17.Expand = false;
w17.Fill = false; w17.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.lblpagesmall = new global::Gtk.Label (); this.lblpagesmall = new global::Gtk.Label();
this.lblpagesmall.HeightRequest = 28; this.lblpagesmall.HeightRequest = 28;
this.lblpagesmall.Name = "lblpagesmall"; this.lblpagesmall.Name = "lblpagesmall";
this.lblpagesmall.LabelProp = "midi\npage"; this.lblpagesmall.LabelProp = "midi\npage";
this.lblpagesmall.UseMarkup = true; this.lblpagesmall.UseMarkup = true;
this.vbox3.Add (this.lblpagesmall); this.vbox3.Add(this.lblpagesmall);
global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.lblpagesmall])); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.lblpagesmall]));
w18.Position = 1; w18.Position = 1;
w18.Fill = false; w18.Fill = false;
this.evBBox1.Add (this.vbox3); this.evBBox1.Add(this.vbox3);
this.vbox2.Add (this.evBBox1); this.vbox2.Add(this.evBBox1);
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.evBBox1])); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.evBBox1]));
w20.Position = 8; w20.Position = 8;
w20.Expand = false; w20.Expand = false;
w20.Fill = false; w20.Fill = false;
this.hbox1.Add (this.vbox2); this.hbox1.Add(this.vbox2);
global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox2])); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox2]));
w21.Position = 0; w21.Position = 0;
w21.Expand = false; w21.Expand = false;
w21.Fill = false; w21.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.vseparator1 = new global::Gtk.VSeparator (); this.vseparator1 = new global::Gtk.VSeparator();
this.vseparator1.Name = "vseparator1"; this.vseparator1.Name = "vseparator1";
this.hbox1.Add (this.vseparator1); this.hbox1.Add(this.vseparator1);
global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vseparator1])); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vseparator1]));
w22.Position = 1; w22.Position = 1;
w22.Expand = false; w22.Expand = false;
w22.Fill = false; w22.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.hpaned1 = new global::Gtk.HPaned (); this.hpaned1 = new global::Gtk.HPaned();
this.hpaned1.CanFocus = true; this.hpaned1.CanFocus = true;
this.hpaned1.Name = "hpaned1"; this.hpaned1.Name = "hpaned1";
this.hpaned1.Position = 776; this.hpaned1.Position = 776;
// Container child hpaned1.Gtk.Paned+PanedChild // Container child hpaned1.Gtk.Paned+PanedChild
this.hpaned2 = new global::Gtk.HPaned (); this.hpaned2 = new global::Gtk.HPaned();
this.hpaned2.CanFocus = true; this.hpaned2.CanFocus = true;
this.hpaned2.Name = "hpaned2"; this.hpaned2.Name = "hpaned2";
this.hpaned2.Position = 177; this.hpaned2.Position = 177;
// Container child hpaned2.Gtk.Paned+PanedChild // Container child hpaned2.Gtk.Paned+PanedChild
this.vbox4 = new global::Gtk.VBox (); this.vbox4 = new global::Gtk.VBox();
this.vbox4.Name = "vbox4"; this.vbox4.Name = "vbox4";
this.vbox4.Spacing = 6; this.vbox4.Spacing = 6;
// Container child vbox4.Gtk.Box+BoxChild // Container child vbox4.Gtk.Box+BoxChild
this.evBBox2 = new global::Gtk.EventBox (); this.evBBox2 = new global::Gtk.EventBox();
this.evBBox2.Name = "evBBox2"; this.evBBox2.Name = "evBBox2";
// Container child evBBox2.Gtk.Container+ContainerChild // Container child evBBox2.Gtk.Container+ContainerChild
this.vbox5 = new global::Gtk.VBox (); this.vbox5 = new global::Gtk.VBox();
this.vbox5.Name = "vbox5"; this.vbox5.Name = "vbox5";
this.vbox5.Spacing = 6; this.vbox5.Spacing = 6;
// Container child vbox5.Gtk.Box+BoxChild // Container child vbox5.Gtk.Box+BoxChild
this.labelMasterPos = new global::Gtk.Label (); this.labelMasterPos = new global::Gtk.Label();
this.labelMasterPos.Name = "labelMasterPos"; this.labelMasterPos.Name = "labelMasterPos";
this.labelMasterPos.Xpad = 4; this.labelMasterPos.Xpad = 4;
this.labelMasterPos.Ypad = 1; this.labelMasterPos.Ypad = 1;
this.labelMasterPos.Xalign = 0F; this.labelMasterPos.Xalign = 0F;
this.labelMasterPos.LabelProp = "\t"; this.labelMasterPos.LabelProp = "\t";
this.vbox5.Add (this.labelMasterPos); this.vbox5.Add(this.labelMasterPos);
global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.labelMasterPos])); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.labelMasterPos]));
w23.Position = 0; w23.Position = 0;
w23.Expand = false; w23.Expand = false;
w23.Fill = false; w23.Fill = false;
// Container child vbox5.Gtk.Box+BoxChild // Container child vbox5.Gtk.Box+BoxChild
this.labelMasterNext = new global::Gtk.Label (); this.labelMasterNext = new global::Gtk.Label();
this.labelMasterNext.Name = "labelMasterNext"; this.labelMasterNext.Name = "labelMasterNext";
this.labelMasterNext.Xpad = 20; this.labelMasterNext.Xpad = 20;
this.labelMasterNext.Xalign = 0F; this.labelMasterNext.Xalign = 0F;
this.labelMasterNext.LabelProp = "\t"; this.labelMasterNext.LabelProp = "\t";
this.vbox5.Add (this.labelMasterNext); this.vbox5.Add(this.labelMasterNext);
global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.labelMasterNext])); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.labelMasterNext]));
w24.Position = 1; w24.Position = 1;
w24.Expand = false; w24.Expand = false;
w24.Fill = false; w24.Fill = false;
this.evBBox2.Add (this.vbox5); this.evBBox2.Add(this.vbox5);
this.vbox4.Add (this.evBBox2); this.vbox4.Add(this.evBBox2);
global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.evBBox2])); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.evBBox2]));
w26.Position = 0; w26.Position = 0;
w26.Expand = false; w26.Expand = false;
w26.Fill = false; w26.Fill = false;
// Container child vbox4.Gtk.Box+BoxChild // Container child vbox4.Gtk.Box+BoxChild
this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow2.Gtk.Container+ContainerChild // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
this.MatriceUI = new global::Gtk.NodeView (); this.MatriceUI = new global::Gtk.NodeView();
this.MatriceUI.CanFocus = true; this.MatriceUI.CanFocus = true;
this.MatriceUI.Name = "MatriceUI"; this.MatriceUI.Name = "MatriceUI";
this.MatriceUI.RulesHint = true; this.MatriceUI.RulesHint = true;
this.GtkScrolledWindow2.Add (this.MatriceUI); this.GtkScrolledWindow2.Add(this.MatriceUI);
this.vbox4.Add (this.GtkScrolledWindow2); this.vbox4.Add(this.GtkScrolledWindow2);
global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.GtkScrolledWindow2])); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkScrolledWindow2]));
w28.Position = 1; w28.Position = 1;
this.hpaned2.Add (this.vbox4); this.hpaned2.Add(this.vbox4);
global::Gtk.Paned.PanedChild w29 = ((global::Gtk.Paned.PanedChild)(this.hpaned2 [this.vbox4])); global::Gtk.Paned.PanedChild w29 = ((global::Gtk.Paned.PanedChild)(this.hpaned2[this.vbox4]));
w29.Resize = false; w29.Resize = false;
this.hpaned1.Add (this.hpaned2); this.hpaned1.Add(this.hpaned2);
global::Gtk.Paned.PanedChild w30 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.hpaned2])); global::Gtk.Paned.PanedChild w30 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.hpaned2]));
w30.Resize = false; w30.Resize = false;
// Container child hpaned1.Gtk.Paned+PanedChild // Container child hpaned1.Gtk.Paned+PanedChild
this.scrolledwindow2 = new global::Gtk.ScrolledWindow (); this.scrolledwindow2 = new global::Gtk.ScrolledWindow();
this.scrolledwindow2.WidthRequest = 150; this.scrolledwindow2.WidthRequest = 150;
this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.CanFocus = true;
this.scrolledwindow2.Name = "scrolledwindow2"; this.scrolledwindow2.Name = "scrolledwindow2";
this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1)); this.scrolledwindow2.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child scrolledwindow2.Gtk.Container+ContainerChild // Container child scrolledwindow2.Gtk.Container+ContainerChild
global::Gtk.Viewport w31 = new global::Gtk.Viewport (); global::Gtk.Viewport w31 = new global::Gtk.Viewport();
w31.ShadowType = ((global::Gtk.ShadowType)(0)); w31.ShadowType = ((global::Gtk.ShadowType)(0));
// Container child GtkViewport1.Gtk.Container+ContainerChild // Container child GtkViewport1.Gtk.Container+ContainerChild
this.vboxCircuits = new global::Gtk.VBox (); this.vboxCircuits = new global::Gtk.VBox();
this.vboxCircuits.Name = "vboxCircuits"; this.vboxCircuits.Name = "vboxCircuits";
this.vboxCircuits.Spacing = 2; this.vboxCircuits.Spacing = 2;
w31.Add (this.vboxCircuits); w31.Add(this.vboxCircuits);
this.scrolledwindow2.Add (w31); this.scrolledwindow2.Add(w31);
this.hpaned1.Add (this.scrolledwindow2); this.hpaned1.Add(this.scrolledwindow2);
global::Gtk.Paned.PanedChild w34 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.scrolledwindow2])); global::Gtk.Paned.PanedChild w34 = ((global::Gtk.Paned.PanedChild)(this.hpaned1[this.scrolledwindow2]));
w34.Resize = false; w34.Resize = false;
w34.Shrink = false; w34.Shrink = false;
this.hbox1.Add (this.hpaned1); this.hbox1.Add(this.hpaned1);
global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.hpaned1])); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hpaned1]));
w35.Position = 2; w35.Position = 2;
this.vbox1.Add (this.hbox1); this.vbox1.Add(this.hbox1);
global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
w36.Position = 0; w36.Position = 0;
// Container child vbox1.Gtk.Box+BoxChild // Container child vbox1.Gtk.Box+BoxChild
this.hseparator1 = new global::Gtk.HSeparator (); this.hseparator1 = new global::Gtk.HSeparator();
this.hseparator1.Name = "hseparator1"; this.hseparator1.Name = "hseparator1";
this.vbox1.Add (this.hseparator1); this.vbox1.Add(this.hseparator1);
global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hseparator1])); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hseparator1]));
w37.Position = 1; w37.Position = 1;
w37.Expand = false; w37.Expand = false;
w37.Fill = false; w37.Fill = false;
// Container child vbox1.Gtk.Box+BoxChild // Container child vbox1.Gtk.Box+BoxChild
this.hbox4 = new global::Gtk.HBox (); this.hbox4 = new global::Gtk.HBox();
this.hbox4.Name = "hbox4"; this.hbox4.Name = "hbox4";
this.hbox4.Spacing = 6; this.hbox4.Spacing = 6;
// Container child hbox4.Gtk.Box+BoxChild // 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'/><toolitem name='seqSonAction' action='seqSonAction'/><toolitem name='seqMidiAction' action='seqMidiAction'/><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'/><toolitem name='seqMidiAction' action='seqMidiAction'/><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 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar7")));
this.toolbar7.Name = "toolbar7"; this.toolbar7.Name = "toolbar7";
this.toolbar7.ShowArrow = false; this.toolbar7.ShowArrow = false;
this.toolbar7.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar7.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.hbox4.Add (this.toolbar7); this.hbox4.Add(this.toolbar7);
global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.toolbar7])); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.toolbar7]));
w38.Position = 0; w38.Position = 0;
w38.Expand = false; w38.Expand = false;
w38.Fill = false; w38.Fill = false;
// Container child hbox4.Gtk.Box+BoxChild // Container child hbox4.Gtk.Box+BoxChild
this.evInfo = new global::Gtk.EventBox (); this.evInfo = new global::Gtk.EventBox();
this.evInfo.Name = "evInfo"; this.evInfo.Name = "evInfo";
// Container child evInfo.Gtk.Container+ContainerChild // Container child evInfo.Gtk.Container+ContainerChild
this.lblInfo = new global::Gtk.Label (); this.lblInfo = new global::Gtk.Label();
this.lblInfo.Name = "lblInfo"; this.lblInfo.Name = "lblInfo";
this.lblInfo.LabelProp = "info"; this.lblInfo.LabelProp = "info";
this.evInfo.Add (this.lblInfo); this.evInfo.Add(this.lblInfo);
this.hbox4.Add (this.evInfo); this.hbox4.Add(this.evInfo);
global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.evInfo])); global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.evInfo]));
w40.Position = 1; w40.Position = 1;
// Container child hbox4.Gtk.Box+BoxChild // Container child hbox4.Gtk.Box+BoxChild
this.UIManager.AddUiFromString (@"<ui><toolbar name='toolbar8'><toolitem name='newAction' action='newAction'/><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='saveAsAction' action='saveAsAction'/><toolitem name='closeAction' action='closeAction'/><toolitem name='aboutAction' action='aboutAction'/><toolitem name='quitAction' action='quitAction'/><toolitem name='selectColorAction2' action='selectColorAction2'/></toolbar></ui>"); this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar8'><toolitem name='newAction' action='newAction'/><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='saveAsAction' action='saveAsAction'/><toolitem name='closeAction' action='closeAction'/><toolitem name='aboutAction' action='aboutAction'/><toolitem name='quitAction' action='quitAction'/><toolitem name='selectColorAction2' action='selectColorAction2'/></toolbar></ui>");
this.toolbar8 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar8"))); this.toolbar8 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar8")));
this.toolbar8.Name = "toolbar8"; this.toolbar8.Name = "toolbar8";
this.toolbar8.ShowArrow = false; this.toolbar8.ShowArrow = false;
this.toolbar8.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar8.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.hbox4.Add (this.toolbar8); this.hbox4.Add(this.toolbar8);
global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.toolbar8])); global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.toolbar8]));
w41.Position = 2; w41.Position = 2;
w41.Expand = false; w41.Expand = false;
w41.Fill = false; w41.Fill = false;
this.vbox1.Add (this.hbox4); this.vbox1.Add(this.hbox4);
global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4]));
w42.Position = 2; w42.Position = 2;
w42.Expand = false; w42.Expand = false;
w42.Fill = false; w42.Fill = false;
this.Add (this.vbox1); this.Add(this.vbox1);
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.DefaultWidth = 1027; this.DefaultWidth = 1027;
this.DefaultHeight = 709; this.DefaultHeight = 709;
this.Show (); this.Show();
this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
this.openAction.Activated += new global::System.EventHandler (this.OnOpenActionActivated); this.openAction.Activated += new global::System.EventHandler(this.OnOpenActionActivated);
this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated);
this.saveAsAction.Activated += new global::System.EventHandler (this.OnSaveAsActionActivated); this.saveAsAction.Activated += new global::System.EventHandler(this.OnSaveAsActionActivated);
this.quitAction.Activated += new global::System.EventHandler (this.OnQuitActionActivated); this.quitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated);
this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.closeAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated);
this.circAction.Activated += new global::System.EventHandler (this.OnCircuitsActionActivated); this.circAction.Activated += new global::System.EventHandler(this.OnCircuitsActionActivated);
this.newAction.Activated += new global::System.EventHandler (this.OnNewActionActivated); this.newAction.Activated += new global::System.EventHandler(this.OnNewActionActivated);
this.seqLinAction.Activated += new global::System.EventHandler (this.OnSeqLinActionActivated); this.seqLinAction.Activated += new global::System.EventHandler(this.OnSeqLinActionActivated);
this.fullscreenAction1.Activated += new global::System.EventHandler (this.OnFullscreenAction1Activated); this.fullscreenAction1.Activated += new global::System.EventHandler(this.OnFullscreenAction1Activated);
this.showAllAction.Activated += new global::System.EventHandler (this.OnShowAllActionActivated); this.showAllAction.Activated += new global::System.EventHandler(this.OnShowAllActionActivated);
this.universAction.Activated += new global::System.EventHandler (this.OnUniversActionActivated); this.universAction.Activated += new global::System.EventHandler(this.OnUniversActionActivated);
this.connectAction.Activated += new global::System.EventHandler (this.OnConnectActionActivated); this.connectAction.Activated += new global::System.EventHandler(this.OnConnectActionActivated);
this.seqMacroAction.Activated += new global::System.EventHandler (this.OnSeqMacroActionActivated); this.seqMacroAction.Activated += new global::System.EventHandler(this.OnSeqMacroActionActivated);
this.selectColorAction.Activated += new global::System.EventHandler (this.OnSelectColorActionActivated); this.selectColorAction.Activated += new global::System.EventHandler(this.OnSelectColorActionActivated);
this.aboutAction.Activated += new global::System.EventHandler (this.OnAboutActionActivated); this.aboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated);
this.midiAction.Activated += new global::System.EventHandler (this.OnMidiActionActivated); this.midiAction.Activated += new global::System.EventHandler(this.OnMidiActionActivated);
this.selectColorAction1.Activated += new global::System.EventHandler (this.OnSelectColorActionActivated); this.selectColorAction1.Activated += new global::System.EventHandler(this.OnSelectColorActionActivated);
this.seqSonAction.Activated += new global::System.EventHandler (this.OnSeqSonActionActivated); this.seqSonAction.Activated += new global::System.EventHandler(this.OnSeqSonActionActivated);
this.selectColorAction2.Activated += new global::System.EventHandler (this.OnSelectColorActionActivated); this.selectColorAction2.Activated += new global::System.EventHandler(this.OnSelectColorActionActivated);
this.seqMidiAction.Activated += new global::System.EventHandler (this.OnSeqMidiActionActivated); this.seqMidiAction.Activated += new global::System.EventHandler(this.OnSeqMidiActionActivated);
this.btnGo.Clicked += new global::System.EventHandler (this.OnBtnGoClicked); this.btnGo.Clicked += new global::System.EventHandler(this.OnBtnGoClicked);
this.btnGoBack.Clicked += new global::System.EventHandler (this.OnBtnGoBackClicked); this.btnGoBack.Clicked += new global::System.EventHandler(this.OnBtnGoBackClicked);
this.btnAjoutLigne.Clicked += new global::System.EventHandler (this.OnBtnAjoutLigneClicked); this.btnAjoutLigne.Clicked += new global::System.EventHandler(this.OnBtnAjoutLigneClicked);
this.btnRetireLigne.Clicked += new global::System.EventHandler (this.OnBtnRetireLigneClicked); this.btnRetireLigne.Clicked += new global::System.EventHandler(this.OnBtnRetireLigneClicked);
this.btnBlackOut.Toggled += new global::System.EventHandler (this.OnBtnBlackOutToggled); this.btnBlackOut.Toggled += new global::System.EventHandler(this.OnBtnBlackOutToggled);
this.btnPause.Toggled += new global::System.EventHandler (this.OnBtnPauseToggled); this.btnPause.Toggled += new global::System.EventHandler(this.OnBtnPauseToggled);
this.masterScale.ValueChanged += new global::System.EventHandler (this.OnMasterScaleValueChanged); this.masterScale.ValueChanged += new global::System.EventHandler(this.OnMasterScaleValueChanged);
this.MatriceUI.CursorChanged += new global::System.EventHandler (this.OnMatriceUICursorChanged); this.MatriceUI.CursorChanged += new global::System.EventHandler(this.OnMatriceUICursorChanged);
} }
} }
} }

View file

@ -5,23 +5,36 @@ namespace DMX2
public partial class SelSeqCircuits public partial class SelSeqCircuits
{ {
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.ScrolledWindow GtkScrolledWindow; private global::Gtk.ScrolledWindow GtkScrolledWindow;
private global::Gtk.TreeView listeToutCircuits; private global::Gtk.TreeView listeToutCircuits;
private global::Gtk.VButtonBox vbuttonbox1;
private global::Gtk.VButtonBox vbuttonbox;
private global::Gtk.Button ajtBut; private global::Gtk.Button ajtBut;
private global::Gtk.Button supBt; private global::Gtk.Button supBt;
private global::Gtk.Button supToutBut; private global::Gtk.Button supToutBut;
private global::Gtk.Button button90; private global::Gtk.Button button90;
private global::Gtk.Button mvHautBt; private global::Gtk.Button mvHautBt;
private global::Gtk.Button mvBasBt; private global::Gtk.Button mvBasBt;
private global::Gtk.ScrolledWindow GtkScrolledWindow1; private global::Gtk.ScrolledWindow GtkScrolledWindow1;
private global::Gtk.TreeView listeSelCircuits; private global::Gtk.TreeView listeSelCircuits;
private global::Gtk.Button buttonCancel; private global::Gtk.Button buttonCancel;
private global::Gtk.Button buttonOk; private global::Gtk.Button buttonOk;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.SelSeqCircuits // Widget DMX2.SelSeqCircuits
this.Name = "DMX2.SelSeqCircuits"; this.Name = "DMX2.SelSeqCircuits";
this.Title = "Selection des Circuits"; this.Title = "Selection des Circuits";
@ -35,229 +48,169 @@ namespace DMX2
w1.Name = "dialog1_VBox"; w1.Name = "dialog1_VBox";
w1.BorderWidth = ((uint)(2)); w1.BorderWidth = ((uint)(2));
// Container child dialog1_VBox.Gtk.Box+BoxChild // Container child dialog1_VBox.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.Name = "GtkScrolledWindow";
this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
this.listeToutCircuits = new global::Gtk.TreeView (); this.listeToutCircuits = new global::Gtk.TreeView();
this.listeToutCircuits.CanFocus = true; this.listeToutCircuits.CanFocus = true;
this.listeToutCircuits.Name = "listeToutCircuits"; this.listeToutCircuits.Name = "listeToutCircuits";
this.GtkScrolledWindow.Add (this.listeToutCircuits); this.GtkScrolledWindow.Add(this.listeToutCircuits);
this.hbox1.Add (this.GtkScrolledWindow); this.hbox1.Add(this.GtkScrolledWindow);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
w3.Position = 0; w3.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.vbuttonbox1 = new global::Gtk.VButtonBox (); this.vbuttonbox = new global::Gtk.VButtonBox();
this.vbuttonbox1.Name = "vbuttonbox1"; this.vbuttonbox.Name = "vbuttonbox";
this.vbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); this.vbuttonbox.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3));
// Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
this.ajtBut = new global::Gtk.Button (); this.ajtBut = new global::Gtk.Button();
this.ajtBut.CanFocus = true; this.ajtBut.CanFocus = true;
this.ajtBut.Name = "ajtBut"; this.ajtBut.Name = "ajtBut";
this.ajtBut.UseUnderline = true; this.ajtBut.UseUnderline = true;
// Container child ajtBut.Gtk.Container+ContainerChild this.ajtBut.Label = "Ajouter";
global::Gtk.Alignment w4 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w4 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w4.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-forward", global::Gtk.IconSize.Menu);
global::Gtk.HBox w5 = new global::Gtk.HBox (); this.ajtBut.Image = w4;
w5.Spacing = 2; this.vbuttonbox.Add(this.ajtBut);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.ajtBut]));
global::Gtk.Image w6 = new global::Gtk.Image (); w5.Expand = false;
w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Menu); w5.Fill = false;
w5.Add (w6); // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
// Container child GtkHBox.Gtk.Container+ContainerChild this.supBt = new global::Gtk.Button();
global::Gtk.Label w8 = new global::Gtk.Label ();
w8.LabelProp = "Ajouter";
w8.UseUnderline = true;
w5.Add (w8);
w4.Add (w5);
this.ajtBut.Add (w4);
this.vbuttonbox1.Add (this.ajtBut);
global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.ajtBut]));
w12.Expand = false;
w12.Fill = false;
// Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.supBt = new global::Gtk.Button ();
this.supBt.CanFocus = true; this.supBt.CanFocus = true;
this.supBt.Name = "supBt"; this.supBt.Name = "supBt";
this.supBt.UseUnderline = true; this.supBt.UseUnderline = true;
// Container child supBt.Gtk.Container+ContainerChild this.supBt.Label = "Enlever";
global::Gtk.Alignment w13 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w6 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w6.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu);
global::Gtk.HBox w14 = new global::Gtk.HBox (); this.supBt.Image = w6;
w14.Spacing = 2; this.vbuttonbox.Add(this.supBt);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.supBt]));
global::Gtk.Image w15 = new global::Gtk.Image (); w7.Position = 1;
w15.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Menu); w7.Expand = false;
w14.Add (w15); w7.Fill = false;
// Container child GtkHBox.Gtk.Container+ContainerChild // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
global::Gtk.Label w17 = new global::Gtk.Label (); this.supToutBut = new global::Gtk.Button();
w17.LabelProp = "Enlever";
w17.UseUnderline = true;
w14.Add (w17);
w13.Add (w14);
this.supBt.Add (w13);
this.vbuttonbox1.Add (this.supBt);
global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.supBt]));
w21.Position = 1;
w21.Expand = false;
w21.Fill = false;
// Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.supToutBut = new global::Gtk.Button ();
this.supToutBut.CanFocus = true; this.supToutBut.CanFocus = true;
this.supToutBut.Name = "supToutBut"; this.supToutBut.Name = "supToutBut";
this.supToutBut.UseUnderline = true; this.supToutBut.UseUnderline = true;
// Container child supToutBut.Gtk.Container+ContainerChild this.supToutBut.Label = "Tout Enlever";
global::Gtk.Alignment w22 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w8 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w8.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-back", global::Gtk.IconSize.Menu);
global::Gtk.HBox w23 = new global::Gtk.HBox (); this.supToutBut.Image = w8;
w23.Spacing = 2; this.vbuttonbox.Add(this.supToutBut);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.supToutBut]));
global::Gtk.Image w24 = new global::Gtk.Image (); w9.Position = 2;
w24.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-back", global::Gtk.IconSize.Menu); w9.Expand = false;
w23.Add (w24); w9.Fill = false;
// Container child GtkHBox.Gtk.Container+ContainerChild // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
global::Gtk.Label w26 = new global::Gtk.Label (); this.button90 = new global::Gtk.Button();
w26.LabelProp = "Tout Enlever";
w26.UseUnderline = true;
w23.Add (w26);
w22.Add (w23);
this.supToutBut.Add (w22);
this.vbuttonbox1.Add (this.supToutBut);
global::Gtk.ButtonBox.ButtonBoxChild w30 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.supToutBut]));
w30.Position = 2;
w30.Expand = false;
w30.Fill = false;
// Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.button90 = new global::Gtk.Button ();
this.button90.Sensitive = false; this.button90.Sensitive = false;
this.button90.CanFocus = true; this.button90.CanFocus = true;
this.button90.Name = "button90"; this.button90.Name = "button90";
this.button90.UseUnderline = true; this.button90.UseUnderline = true;
this.button90.Relief = ((global::Gtk.ReliefStyle)(2)); this.button90.Relief = ((global::Gtk.ReliefStyle)(2));
this.button90.Label = ""; this.vbuttonbox.Add(this.button90);
this.vbuttonbox1.Add (this.button90); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.button90]));
global::Gtk.ButtonBox.ButtonBoxChild w31 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.button90])); w10.Position = 3;
w31.Position = 3; w10.Expand = false;
w31.Expand = false; w10.Fill = false;
w31.Fill = false; // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
// Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.mvHautBt = new global::Gtk.Button();
this.mvHautBt = new global::Gtk.Button ();
this.mvHautBt.CanFocus = true; this.mvHautBt.CanFocus = true;
this.mvHautBt.Name = "mvHautBt"; this.mvHautBt.Name = "mvHautBt";
this.mvHautBt.UseUnderline = true; this.mvHautBt.UseUnderline = true;
// Container child mvHautBt.Gtk.Container+ContainerChild this.mvHautBt.Label = "Monter";
global::Gtk.Alignment w32 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w11 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-up", global::Gtk.IconSize.Menu);
global::Gtk.HBox w33 = new global::Gtk.HBox (); this.mvHautBt.Image = w11;
w33.Spacing = 2; this.vbuttonbox.Add(this.mvHautBt);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.mvHautBt]));
global::Gtk.Image w34 = new global::Gtk.Image (); w12.Position = 4;
w34.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-up", global::Gtk.IconSize.Menu); w12.Expand = false;
w33.Add (w34); w12.Fill = false;
// Container child GtkHBox.Gtk.Container+ContainerChild // Container child vbuttonbox.Gtk.ButtonBox+ButtonBoxChild
global::Gtk.Label w36 = new global::Gtk.Label (); this.mvBasBt = new global::Gtk.Button();
w36.LabelProp = "Monter";
w36.UseUnderline = true;
w33.Add (w36);
w32.Add (w33);
this.mvHautBt.Add (w32);
this.vbuttonbox1.Add (this.mvHautBt);
global::Gtk.ButtonBox.ButtonBoxChild w40 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.mvHautBt]));
w40.Position = 4;
w40.Expand = false;
w40.Fill = false;
// Container child vbuttonbox1.Gtk.ButtonBox+ButtonBoxChild
this.mvBasBt = new global::Gtk.Button ();
this.mvBasBt.CanFocus = true; this.mvBasBt.CanFocus = true;
this.mvBasBt.Name = "mvBasBt"; this.mvBasBt.Name = "mvBasBt";
this.mvBasBt.UseUnderline = true; this.mvBasBt.UseUnderline = true;
// Container child mvBasBt.Gtk.Container+ContainerChild this.mvBasBt.Label = "Descendre";
global::Gtk.Alignment w41 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); global::Gtk.Image w13 = new global::Gtk.Image();
// Container child GtkAlignment.Gtk.Container+ContainerChild w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-go-down", global::Gtk.IconSize.Menu);
global::Gtk.HBox w42 = new global::Gtk.HBox (); this.mvBasBt.Image = w13;
w42.Spacing = 2; this.vbuttonbox.Add(this.mvBasBt);
// Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox[this.mvBasBt]));
global::Gtk.Image w43 = new global::Gtk.Image (); w14.Position = 5;
w43.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-down", global::Gtk.IconSize.Menu); w14.Expand = false;
w42.Add (w43); w14.Fill = false;
// Container child GtkHBox.Gtk.Container+ContainerChild this.hbox1.Add(this.vbuttonbox);
global::Gtk.Label w45 = new global::Gtk.Label (); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbuttonbox]));
w45.LabelProp = "Descendre"; w15.Position = 1;
w45.UseUnderline = true; w15.Expand = false;
w42.Add (w45); w15.Fill = false;
w41.Add (w42);
this.mvBasBt.Add (w41);
this.vbuttonbox1.Add (this.mvBasBt);
global::Gtk.ButtonBox.ButtonBoxChild w49 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox1 [this.mvBasBt]));
w49.Position = 5;
w49.Expand = false;
w49.Fill = false;
this.hbox1.Add (this.vbuttonbox1);
global::Gtk.Box.BoxChild w50 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbuttonbox1]));
w50.Position = 1;
w50.Expand = false;
w50.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
this.listeSelCircuits = new global::Gtk.TreeView (); this.listeSelCircuits = new global::Gtk.TreeView();
this.listeSelCircuits.CanFocus = true; this.listeSelCircuits.CanFocus = true;
this.listeSelCircuits.Name = "listeSelCircuits"; this.listeSelCircuits.Name = "listeSelCircuits";
this.GtkScrolledWindow1.Add (this.listeSelCircuits); this.GtkScrolledWindow1.Add(this.listeSelCircuits);
this.hbox1.Add (this.GtkScrolledWindow1); this.hbox1.Add(this.GtkScrolledWindow1);
global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow1])); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow1]));
w52.Position = 2; w17.Position = 2;
w1.Add (this.hbox1); w1.Add(this.hbox1);
global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox1])); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1[this.hbox1]));
w53.Position = 0; w18.Position = 0;
// Internal child DMX2.SelSeqCircuits.ActionArea // Internal child DMX2.SelSeqCircuits.ActionArea
global::Gtk.HButtonBox w54 = this.ActionArea; global::Gtk.HButtonBox w19 = this.ActionArea;
w54.Name = "dialog1_ActionArea"; w19.Name = "dialog1_ActionArea";
w54.Spacing = 10; w19.Spacing = 10;
w54.BorderWidth = ((uint)(5)); w19.BorderWidth = ((uint)(5));
w54.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); w19.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonCancel = new global::Gtk.Button (); this.buttonCancel = new global::Gtk.Button();
this.buttonCancel.CanDefault = true; this.buttonCancel.CanDefault = true;
this.buttonCancel.CanFocus = true; this.buttonCancel.CanFocus = true;
this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Name = "buttonCancel";
this.buttonCancel.UseStock = true; this.buttonCancel.UseStock = true;
this.buttonCancel.UseUnderline = true; this.buttonCancel.UseUnderline = true;
this.buttonCancel.Label = "gtk-cancel"; this.buttonCancel.Label = "gtk-cancel";
this.AddActionWidget (this.buttonCancel, -6); this.AddActionWidget(this.buttonCancel, -6);
global::Gtk.ButtonBox.ButtonBoxChild w55 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w54 [this.buttonCancel])); global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19[this.buttonCancel]));
w55.Expand = false; w20.Expand = false;
w55.Fill = false; w20.Fill = false;
// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
this.buttonOk = new global::Gtk.Button (); this.buttonOk = new global::Gtk.Button();
this.buttonOk.CanDefault = true; this.buttonOk.CanDefault = true;
this.buttonOk.CanFocus = true; this.buttonOk.CanFocus = true;
this.buttonOk.Name = "buttonOk"; this.buttonOk.Name = "buttonOk";
this.buttonOk.UseStock = true; this.buttonOk.UseStock = true;
this.buttonOk.UseUnderline = true; this.buttonOk.UseUnderline = true;
this.buttonOk.Label = "gtk-ok"; this.buttonOk.Label = "gtk-ok";
this.AddActionWidget (this.buttonOk, -5); this.AddActionWidget(this.buttonOk, -5);
global::Gtk.ButtonBox.ButtonBoxChild w56 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w54 [this.buttonOk])); global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19[this.buttonOk]));
w56.Position = 1; w21.Position = 1;
w56.Expand = false; w21.Expand = false;
w56.Fill = false; w21.Fill = false;
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
this.DefaultWidth = 740; this.DefaultWidth = 740;
this.DefaultHeight = 587; this.DefaultHeight = 587;
this.Hide (); this.Hide();
this.ajtBut.Clicked += new global::System.EventHandler (this.OnAjtButClicked); this.ajtBut.Clicked += new global::System.EventHandler(this.OnAjtButClicked);
this.supBt.Clicked += new global::System.EventHandler (this.OnSupBtClicked); this.supBt.Clicked += new global::System.EventHandler(this.OnSupBtClicked);
this.supToutBut.Clicked += new global::System.EventHandler (this.OnSupToutButClicked); this.supToutBut.Clicked += new global::System.EventHandler(this.OnSupToutButClicked);
this.mvHautBt.Clicked += new global::System.EventHandler (this.OnMvHautBtClicked); this.mvHautBt.Clicked += new global::System.EventHandler(this.OnMvHautBtClicked);
this.mvBasBt.Clicked += new global::System.EventHandler (this.OnMvBasBtClicked); this.mvBasBt.Clicked += new global::System.EventHandler(this.OnMvBasBtClicked);
} }
} }
} }

View file

@ -5,116 +5,149 @@ namespace DMX2
public partial class SeqLinUI public partial class SeqLinUI
{ {
private global::Gtk.UIManager UIManager; private global::Gtk.UIManager UIManager;
private global::Gtk.Action goBackAction; private global::Gtk.Action goBackAction;
private global::Gtk.Action goForwardAction; private global::Gtk.Action goForwardAction;
private global::Gtk.Action applyAction; private global::Gtk.Action applyAction;
private global::Gtk.Action mediaPauseAction; private global::Gtk.Action mediaPauseAction;
private global::Gtk.Action mediaNextAction; private global::Gtk.Action mediaNextAction;
private global::Gtk.Action saveAction; private global::Gtk.Action saveAction;
private global::Gtk.Action saveAfterAction; private global::Gtk.Action saveAfterAction;
private global::Gtk.Action deleteAction; private global::Gtk.Action deleteAction;
private global::Gtk.Action moveUpAction; private global::Gtk.Action moveUpAction;
private global::Gtk.Action moveDownAction; private global::Gtk.Action moveDownAction;
private global::Gtk.Action circuitsAction; private global::Gtk.Action circuitsAction;
private global::Gtk.Action closeAction; private global::Gtk.Action closeAction;
private global::Gtk.ToggleAction pourcentBtn; private global::Gtk.ToggleAction pourcentBtn;
private global::Gtk.Frame frame1; private global::Gtk.Frame frame1;
private global::Gtk.Alignment GtkAlignment; private global::Gtk.Alignment GtkAlignment;
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.VBox vbox4; private global::Gtk.VBox vbox4;
private global::Gtk.EventBox evBBox; private global::Gtk.EventBox evBBox;
private global::Gtk.HBox hbox2; private global::Gtk.HBox hbox2;
private global::Gtk.Label posLabel; private global::Gtk.Label posLabel;
private global::Gtk.Label timeLabel; private global::Gtk.Label timeLabel;
private global::Gtk.HScale seqMasterScale; private global::Gtk.HScale seqMasterScale;
private global::Gtk.ProgressBar pbTrans; private global::Gtk.ProgressBar pbTrans;
private global::Gtk.ProgressBar pbDuree; private global::Gtk.ProgressBar pbDuree;
private global::Gtk.Toolbar toolbar1; private global::Gtk.Toolbar toolbar1;
private global::Gtk.Toolbar toolbar2; private global::Gtk.Toolbar toolbar2;
private global::Gtk.ScrolledWindow GtkScrolledWindow; private global::Gtk.ScrolledWindow GtkScrolledWindow;
private global::Gtk.TreeView effetsListe; private global::Gtk.TreeView effetsListe;
private global::Gtk.Toolbar toolbar3; private global::Gtk.Toolbar toolbar3;
private global::Gtk.ScrolledWindow GtkScrolledWindow1; private global::Gtk.ScrolledWindow GtkScrolledWindow1;
private global::Gtk.Fixed zoneWid; private global::Gtk.Fixed zoneWid;
private global::Gtk.Label titreLabel; private global::Gtk.Label titreLabel;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.SeqLinUI // Widget DMX2.SeqLinUI
Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
this.UIManager = new global::Gtk.UIManager (); this.UIManager = new global::Gtk.UIManager();
global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
this.goBackAction = new global::Gtk.Action ("goBackAction", null, null, "gtk-go-back"); this.goBackAction = new global::Gtk.Action("goBackAction", null, null, "gtk-go-back");
w2.Add (this.goBackAction, null); w2.Add(this.goBackAction, null);
this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward"); this.goForwardAction = new global::Gtk.Action("goForwardAction", null, null, "gtk-go-forward");
w2.Add (this.goForwardAction, null); w2.Add(this.goForwardAction, null);
this.applyAction = new global::Gtk.Action ("applyAction", null, "Ecrase l'effet selectionné.", "gtk-apply"); this.applyAction = new global::Gtk.Action("applyAction", null, "Ecrase l\'effet selectionné.", "gtk-apply");
w2.Add (this.applyAction, null); w2.Add(this.applyAction, null);
this.mediaPauseAction = new global::Gtk.Action ("mediaPauseAction", null, "Pause", "gtk-media-pause"); this.mediaPauseAction = new global::Gtk.Action("mediaPauseAction", null, "Pause", "gtk-media-pause");
w2.Add (this.mediaPauseAction, null); w2.Add(this.mediaPauseAction, null);
this.mediaNextAction = new global::Gtk.Action ("mediaNextAction", null, "Fin de transition", "gtk-media-next"); this.mediaNextAction = new global::Gtk.Action("mediaNextAction", null, "Fin de transition", "gtk-media-next");
w2.Add (this.mediaNextAction, null); w2.Add(this.mediaNextAction, null);
this.saveAction = new global::Gtk.Action ("saveAction", null, "Enregistre l'effet à la fin.", "gtk-save"); this.saveAction = new global::Gtk.Action("saveAction", null, "Enregistre l\'effet à la fin.", "gtk-save");
w2.Add (this.saveAction, null); w2.Add(this.saveAction, null);
this.saveAfterAction = new global::Gtk.Action ("saveAfterAction", null, "Insère un effet sous celui selectionné.", "gtk-save-as"); this.saveAfterAction = new global::Gtk.Action("saveAfterAction", null, "Insère un effet sous celui selectionné.", "gtk-save-as");
w2.Add (this.saveAfterAction, null); w2.Add(this.saveAfterAction, null);
this.deleteAction = new global::Gtk.Action ("deleteAction", null, "Supprime l'effet selectionné.", "gtk-delete"); this.deleteAction = new global::Gtk.Action("deleteAction", null, "Supprime l\'effet selectionné.", "gtk-delete");
w2.Add (this.deleteAction, null); w2.Add(this.deleteAction, null);
this.moveUpAction = new global::Gtk.Action ("moveUpAction", null, "", "gtk-go-up"); this.moveUpAction = new global::Gtk.Action("moveUpAction", null, "", "gtk-go-up");
w2.Add (this.moveUpAction, null); w2.Add(this.moveUpAction, null);
this.moveDownAction = new global::Gtk.Action ("moveDownAction", null, null, "gtk-go-down"); this.moveDownAction = new global::Gtk.Action("moveDownAction", null, null, "gtk-go-down");
w2.Add (this.moveDownAction, null); w2.Add(this.moveDownAction, null);
this.circuitsAction = new global::Gtk.Action ("circuitsAction", null, "Association des circuits\nau sequenceur", "circuits"); this.circuitsAction = new global::Gtk.Action("circuitsAction", null, "Association des circuits\nau sequenceur", "circuits");
w2.Add (this.circuitsAction, null); w2.Add(this.circuitsAction, null);
this.closeAction = new global::Gtk.Action ("closeAction", null, null, "gtk-close"); this.closeAction = new global::Gtk.Action("closeAction", null, null, "gtk-close");
w2.Add (this.closeAction, null); w2.Add(this.closeAction, null);
this.pourcentBtn = new global::Gtk.ToggleAction ("pourcentBtn", null, null, "gtk-zoom-100"); this.pourcentBtn = new global::Gtk.ToggleAction("pourcentBtn", null, null, "gtk-zoom-100");
w2.Add (this.pourcentBtn, null); w2.Add(this.pourcentBtn, null);
this.UIManager.InsertActionGroup (w2, 0); this.UIManager.InsertActionGroup(w2, 0);
this.Name = "DMX2.SeqLinUI"; this.Name = "DMX2.SeqLinUI";
// Container child DMX2.SeqLinUI.Gtk.Container+ContainerChild // Container child DMX2.SeqLinUI.Gtk.Container+ContainerChild
this.frame1 = new global::Gtk.Frame (); this.frame1 = new global::Gtk.Frame();
this.frame1.Name = "frame1"; this.frame1.Name = "frame1";
this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child frame1.Gtk.Container+ContainerChild // Container child frame1.Gtk.Container+ContainerChild
this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.Name = "GtkAlignment";
this.GtkAlignment.LeftPadding = ((uint)(12)); this.GtkAlignment.LeftPadding = ((uint)(12));
// Container child GtkAlignment.Gtk.Container+ContainerChild // Container child GtkAlignment.Gtk.Container+ContainerChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.vbox4 = new global::Gtk.VBox (); this.vbox4 = new global::Gtk.VBox();
this.vbox4.Name = "vbox4"; this.vbox4.Name = "vbox4";
// Container child vbox4.Gtk.Box+BoxChild // Container child vbox4.Gtk.Box+BoxChild
this.evBBox = new global::Gtk.EventBox (); this.evBBox = new global::Gtk.EventBox();
this.evBBox.Name = "evBBox"; this.evBBox.Name = "evBBox";
// Container child evBBox.Gtk.Container+ContainerChild // Container child evBBox.Gtk.Container+ContainerChild
this.hbox2 = new global::Gtk.HBox (); this.hbox2 = new global::Gtk.HBox();
this.hbox2.Name = "hbox2"; this.hbox2.Name = "hbox2";
this.hbox2.Spacing = 6; this.hbox2.Spacing = 6;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.posLabel = new global::Gtk.Label (); this.posLabel = new global::Gtk.Label();
this.posLabel.HeightRequest = 33; this.posLabel.HeightRequest = 33;
this.posLabel.Name = "posLabel"; this.posLabel.Name = "posLabel";
this.posLabel.Xpad = 15; this.posLabel.Xpad = 15;
this.posLabel.Xalign = 0F; this.posLabel.Xalign = 0F;
this.posLabel.LabelProp = "<big>n°0</big>"; this.posLabel.LabelProp = "<big>n°0</big>";
this.posLabel.UseMarkup = true; this.posLabel.UseMarkup = true;
this.hbox2.Add (this.posLabel); this.hbox2.Add(this.posLabel);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.posLabel])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.posLabel]));
w3.Position = 0; w3.Position = 0;
w3.Expand = false; w3.Expand = false;
w3.Fill = false; w3.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.timeLabel = new global::Gtk.Label (); this.timeLabel = new global::Gtk.Label();
this.timeLabel.HeightRequest = 33; this.timeLabel.HeightRequest = 33;
this.timeLabel.Name = "timeLabel"; this.timeLabel.Name = "timeLabel";
this.timeLabel.Xpad = 15; this.timeLabel.Xpad = 15;
@ -122,157 +155,158 @@ namespace DMX2
this.timeLabel.LabelProp = "<big>0.00</big>"; this.timeLabel.LabelProp = "<big>0.00</big>";
this.timeLabel.UseMarkup = true; this.timeLabel.UseMarkup = true;
this.timeLabel.Justify = ((global::Gtk.Justification)(1)); this.timeLabel.Justify = ((global::Gtk.Justification)(1));
this.hbox2.Add (this.timeLabel); this.hbox2.Add(this.timeLabel);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.timeLabel])); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.timeLabel]));
w4.PackType = ((global::Gtk.PackType)(1)); w4.PackType = ((global::Gtk.PackType)(1));
w4.Position = 1; w4.Position = 1;
w4.Expand = false; w4.Expand = false;
w4.Fill = false; w4.Fill = false;
this.evBBox.Add (this.hbox2); this.evBBox.Add(this.hbox2);
this.vbox4.Add (this.evBBox); this.vbox4.Add(this.evBBox);
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.evBBox])); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.evBBox]));
w6.Position = 0; w6.Position = 0;
w6.Expand = false; w6.Expand = false;
w6.Fill = false; w6.Fill = false;
// Container child vbox4.Gtk.Box+BoxChild // Container child vbox4.Gtk.Box+BoxChild
this.seqMasterScale = new global::Gtk.HScale (null); this.seqMasterScale = new global::Gtk.HScale(null);
this.seqMasterScale.CanFocus = true; this.seqMasterScale.CanFocus = true;
this.seqMasterScale.Name = "seqMasterScale"; this.seqMasterScale.Name = "seqMasterScale";
this.seqMasterScale.Adjustment.Upper = 100; this.seqMasterScale.Adjustment.Upper = 100D;
this.seqMasterScale.Adjustment.PageIncrement = 10; this.seqMasterScale.Adjustment.PageIncrement = 10D;
this.seqMasterScale.Adjustment.StepIncrement = 1; this.seqMasterScale.Adjustment.StepIncrement = 1D;
this.seqMasterScale.Adjustment.Value = 100; this.seqMasterScale.Adjustment.Value = 100D;
this.seqMasterScale.DrawValue = true; this.seqMasterScale.DrawValue = true;
this.seqMasterScale.Digits = 0; this.seqMasterScale.Digits = 0;
this.seqMasterScale.ValuePos = ((global::Gtk.PositionType)(1)); this.seqMasterScale.ValuePos = ((global::Gtk.PositionType)(1));
this.vbox4.Add (this.seqMasterScale); this.vbox4.Add(this.seqMasterScale);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.seqMasterScale])); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.seqMasterScale]));
w7.Position = 1; w7.Position = 1;
w7.Expand = false; w7.Expand = false;
w7.Fill = false; w7.Fill = false;
// Container child vbox4.Gtk.Box+BoxChild // Container child vbox4.Gtk.Box+BoxChild
this.pbTrans = new global::Gtk.ProgressBar (); this.pbTrans = new global::Gtk.ProgressBar();
this.pbTrans.HeightRequest = 15; this.pbTrans.HeightRequest = 15;
this.pbTrans.Name = "pbTrans"; this.pbTrans.Name = "pbTrans";
this.vbox4.Add (this.pbTrans); this.vbox4.Add(this.pbTrans);
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.pbTrans])); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.pbTrans]));
w8.Position = 2; w8.Position = 2;
w8.Expand = false; w8.Expand = false;
w8.Fill = false; w8.Fill = false;
// Container child vbox4.Gtk.Box+BoxChild // Container child vbox4.Gtk.Box+BoxChild
this.pbDuree = new global::Gtk.ProgressBar (); this.pbDuree = new global::Gtk.ProgressBar();
this.pbDuree.HeightRequest = 15; this.pbDuree.HeightRequest = 15;
this.pbDuree.Name = "pbDuree"; this.pbDuree.Name = "pbDuree";
this.vbox4.Add (this.pbDuree); this.vbox4.Add(this.pbDuree);
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.pbDuree])); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.pbDuree]));
w9.Position = 3; w9.Position = 3;
w9.Expand = false; w9.Expand = false;
w9.Fill = false; w9.Fill = false;
// Container child vbox4.Gtk.Box+BoxChild // 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.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 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
this.toolbar1.Name = "toolbar1"; this.toolbar1.Name = "toolbar1";
this.toolbar1.ShowArrow = false; this.toolbar1.ShowArrow = false;
this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2));
this.vbox4.Add (this.toolbar1); this.vbox4.Add(this.toolbar1);
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.toolbar1])); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.toolbar1]));
w10.Position = 4; w10.Position = 4;
w10.Expand = false; w10.Expand = false;
w10.Fill = false; w10.Fill = false;
// Container child vbox4.Gtk.Box+BoxChild // 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.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 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2")));
this.toolbar2.Name = "toolbar2"; this.toolbar2.Name = "toolbar2";
this.toolbar2.ShowArrow = false; this.toolbar2.ShowArrow = false;
this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar2.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar2.IconSize = ((global::Gtk.IconSize)(2));
this.vbox4.Add (this.toolbar2); this.vbox4.Add(this.toolbar2);
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.toolbar2])); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.toolbar2]));
w11.Position = 5; w11.Position = 5;
w11.Expand = false; w11.Expand = false;
w11.Fill = false; w11.Fill = false;
this.hbox1.Add (this.vbox4); this.hbox1.Add(this.vbox4);
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox4])); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox4]));
w12.Position = 0; w12.Position = 0;
w12.Expand = false; w12.Expand = false;
w12.Fill = false; w12.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.Name = "GtkScrolledWindow";
this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2));
this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
this.effetsListe = new global::Gtk.TreeView (); this.effetsListe = new global::Gtk.TreeView();
this.effetsListe.CanFocus = true; this.effetsListe.CanFocus = true;
this.effetsListe.Name = "effetsListe"; this.effetsListe.Name = "effetsListe";
this.effetsListe.RulesHint = true; this.effetsListe.RulesHint = true;
this.GtkScrolledWindow.Add (this.effetsListe); this.GtkScrolledWindow.Add(this.effetsListe);
this.hbox1.Add (this.GtkScrolledWindow); this.hbox1.Add(this.GtkScrolledWindow);
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.GtkScrolledWindow])); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow]));
w14.Position = 1; w14.Position = 1;
// Container child hbox1.Gtk.Box+BoxChild // 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.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 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar3")));
this.toolbar3.Name = "toolbar3"; this.toolbar3.Name = "toolbar3";
this.toolbar3.Orientation = ((global::Gtk.Orientation)(1)); this.toolbar3.Orientation = ((global::Gtk.Orientation)(1));
this.toolbar3.ShowArrow = false; this.toolbar3.ShowArrow = false;
this.toolbar3.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar3.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar3.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar3.IconSize = ((global::Gtk.IconSize)(2));
this.hbox1.Add (this.toolbar3); this.hbox1.Add(this.toolbar3);
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar3])); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toolbar3]));
w15.Position = 2; w15.Position = 2;
w15.Expand = false; w15.Expand = false;
w15.Fill = false; w15.Fill = false;
this.vbox2.Add (this.hbox1); this.vbox2.Add(this.hbox1);
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
w16.Position = 0; w16.Position = 0;
w16.Expand = false; w16.Expand = false;
w16.Fill = false; w16.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
// Container child GtkScrolledWindow1.Gtk.Container+ContainerChild // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
global::Gtk.Viewport w17 = new global::Gtk.Viewport (); global::Gtk.Viewport w17 = new global::Gtk.Viewport();
w17.ShadowType = ((global::Gtk.ShadowType)(0)); w17.ShadowType = ((global::Gtk.ShadowType)(0));
// Container child GtkViewport.Gtk.Container+ContainerChild // Container child GtkViewport.Gtk.Container+ContainerChild
this.zoneWid = new global::Gtk.Fixed (); this.zoneWid = new global::Gtk.Fixed();
this.zoneWid.HeightRequest = 0; this.zoneWid.HeightRequest = 0;
this.zoneWid.Name = "zoneWid"; this.zoneWid.Name = "zoneWid";
this.zoneWid.HasWindow = false; this.zoneWid.HasWindow = false;
w17.Add (this.zoneWid); w17.Add(this.zoneWid);
this.GtkScrolledWindow1.Add (w17); this.GtkScrolledWindow1.Add(w17);
this.vbox2.Add (this.GtkScrolledWindow1); this.vbox2.Add(this.GtkScrolledWindow1);
global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow1])); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow1]));
w20.Position = 1; w20.Position = 1;
this.GtkAlignment.Add (this.vbox2); this.GtkAlignment.Add(this.vbox2);
this.frame1.Add (this.GtkAlignment); this.frame1.Add(this.GtkAlignment);
this.titreLabel = new global::Gtk.Label (); this.titreLabel = new global::Gtk.Label();
this.titreLabel.Name = "titreLabel"; this.titreLabel.Name = "titreLabel";
this.titreLabel.LabelProp = "Sequenceur Lineaire"; this.titreLabel.LabelProp = "Sequenceur Lineaire";
this.titreLabel.UseMarkup = true; this.titreLabel.UseMarkup = true;
this.frame1.LabelWidget = this.titreLabel; this.frame1.LabelWidget = this.titreLabel;
this.Add (this.frame1); this.Add(this.frame1);
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
w1.SetUiManager (UIManager); w1.SetUiManager(UIManager);
this.Show (); this.Show();
this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackActionActivated); this.goBackAction.Activated += new global::System.EventHandler(this.OnGoBackActionActivated);
this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForwardActionActivated); this.goForwardAction.Activated += new global::System.EventHandler(this.OnGoForwardActionActivated);
this.applyAction.Activated += new global::System.EventHandler (this.OnApplyActionActivated); this.applyAction.Activated += new global::System.EventHandler(this.OnApplyActionActivated);
this.mediaPauseAction.Activated += new global::System.EventHandler (this.OnMediaPauseActionActivated); this.mediaPauseAction.Activated += new global::System.EventHandler(this.OnMediaPauseActionActivated);
this.mediaNextAction.Activated += new global::System.EventHandler (this.OnMediaNextActionActivated); this.mediaNextAction.Activated += new global::System.EventHandler(this.OnMediaNextActionActivated);
this.saveAction.Activated += new global::System.EventHandler (this.OnSaveActionActivated); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated);
this.saveAfterAction.Activated += new global::System.EventHandler (this.OnSaveAfterActionActivated); this.saveAfterAction.Activated += new global::System.EventHandler(this.OnSaveAfterActionActivated);
this.deleteAction.Activated += new global::System.EventHandler (this.OnDeleteActionActivated); this.deleteAction.Activated += new global::System.EventHandler(this.OnDeleteActionActivated);
this.moveUpAction.Activated += new global::System.EventHandler (this.OnMoveUpActionActivated); this.moveUpAction.Activated += new global::System.EventHandler(this.OnMoveUpActionActivated);
this.moveDownAction.Activated += new global::System.EventHandler (this.OnMoveDownActionActivated); this.moveDownAction.Activated += new global::System.EventHandler(this.OnMoveDownActionActivated);
this.circuitsAction.Activated += new global::System.EventHandler (this.OnCircuitsActionActivated); this.circuitsAction.Activated += new global::System.EventHandler(this.OnCircuitsActionActivated);
this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.closeAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated);
this.pourcentBtn.Toggled += new global::System.EventHandler (this.OnPourcentBtnToggled); this.pourcentBtn.Toggled += new global::System.EventHandler(this.OnPourcentBtnToggled);
this.seqMasterScale.ValueChanged += new global::System.EventHandler (this.OnSeqMasterScaleValueChanged); this.seqMasterScale.ValueChanged += new global::System.EventHandler(this.OnSeqMasterScaleValueChanged);
this.zoneWid.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnZoneWidSizeAllocated); this.zoneWid.SizeAllocated += new global::Gtk.SizeAllocatedHandler(this.OnZoneWidSizeAllocated);
} }
} }
} }

View file

@ -5,162 +5,162 @@ namespace DMX2
public partial class SeqMacroUI public partial class SeqMacroUI
{ {
private global::Gtk.UIManager UIManager; private global::Gtk.UIManager UIManager;
private global::Gtk.ToggleAction closeAction; private global::Gtk.ToggleAction closeAction;
private global::Gtk.Action circuitsAction; private global::Gtk.Action circuitsAction;
private global::Gtk.Action goForwardAction; private global::Gtk.Action goForwardAction;
private global::Gtk.Action goBackAction; private global::Gtk.Action goBackAction;
private global::Gtk.Action mediaPauseAction; private global::Gtk.Action mediaPauseAction;
private global::Gtk.Action mediaNextAction; private global::Gtk.Action mediaNextAction;
private global::Gtk.Action btnAjoutLigne; private global::Gtk.Action btnAjoutLigne;
private global::Gtk.Action btnRetireligne; private global::Gtk.Action btnRetireligne;
private global::Gtk.Frame frame1; private global::Gtk.Frame frame1;
private global::Gtk.Alignment GtkAlignment; private global::Gtk.Alignment GtkAlignment;
private global::Gtk.Alignment alignment1; private global::Gtk.Alignment alignment1;
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.VBox vbox3; private global::Gtk.VBox vbox3;
private global::Gtk.EventBox evBBox; private global::Gtk.EventBox evBBox;
private global::Gtk.HBox hbox2; private global::Gtk.HBox hbox2;
private global::Gtk.Label posLabel; private global::Gtk.Label posLabel;
private global::Gtk.Label actLabel; private global::Gtk.Label actLabel;
private global::Gtk.Label timeLabel; private global::Gtk.Label timeLabel;
private global::Gtk.HScale seqMasterScale; private global::Gtk.HScale seqMasterScale;
private global::Gtk.HBox hbox3; private global::Gtk.HBox hbox3;
private global::Gtk.Entry txtCommand; private global::Gtk.Entry txtCommand;
private global::Gtk.Button btnCommand; private global::Gtk.Button btnCommand;
private global::Gtk.Toolbar toolbar; private global::Gtk.Toolbar toolbar;
private global::Gtk.Toolbar toolbar1; private global::Gtk.Toolbar toolbar1;
private global::Gtk.ScrolledWindow scrolledwindow1; private global::Gtk.ScrolledWindow scrolledwindow1;
private global::Gtk.TreeView effetsListe; private global::Gtk.TreeView effetsListe;
private global::Gtk.Label titreLabel; private global::Gtk.Label titreLabel;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.SeqMacroUI // Widget DMX2.SeqMacroUI
Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
this.UIManager = new global::Gtk.UIManager (); this.UIManager = new global::Gtk.UIManager();
global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
this.closeAction = new global::Gtk.ToggleAction ("closeAction", " ", null, "gtk-close"); this.closeAction = new global::Gtk.ToggleAction("closeAction", " ", null, "gtk-close");
this.closeAction.ShortLabel = " "; this.closeAction.ShortLabel = " ";
w2.Add (this.closeAction, null); w2.Add(this.closeAction, null);
this.circuitsAction = new global::Gtk.Action ("circuitsAction", null, "Association des circuits\nau sequenceur", "circuits"); this.circuitsAction = new global::Gtk.Action("circuitsAction", null, "Association des circuits\nau sequenceur", "circuits");
w2.Add (this.circuitsAction, null); w2.Add(this.circuitsAction, null);
this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward"); this.goForwardAction = new global::Gtk.Action("goForwardAction", null, null, "gtk-go-forward");
w2.Add (this.goForwardAction, null); w2.Add(this.goForwardAction, null);
this.goBackAction = new global::Gtk.Action ("goBackAction", null, null, "gtk-go-back"); this.goBackAction = new global::Gtk.Action("goBackAction", null, null, "gtk-go-back");
w2.Add (this.goBackAction, null); w2.Add(this.goBackAction, null);
this.mediaPauseAction = new global::Gtk.Action ("mediaPauseAction", null, null, "gtk-media-pause"); this.mediaPauseAction = new global::Gtk.Action("mediaPauseAction", null, null, "gtk-media-pause");
w2.Add (this.mediaPauseAction, null); w2.Add(this.mediaPauseAction, null);
this.mediaNextAction = new global::Gtk.Action ("mediaNextAction", null, null, "gtk-media-next"); this.mediaNextAction = new global::Gtk.Action("mediaNextAction", null, null, "gtk-media-next");
w2.Add (this.mediaNextAction, null); w2.Add(this.mediaNextAction, null);
this.btnAjoutLigne = new global::Gtk.Action ("btnAjoutLigne", null, null, "gtk-add"); this.btnAjoutLigne = new global::Gtk.Action("btnAjoutLigne", null, null, "gtk-add");
w2.Add (this.btnAjoutLigne, null); w2.Add(this.btnAjoutLigne, null);
this.btnRetireligne = new global::Gtk.Action ("btnRetireligne", null, null, "gtk-remove"); this.btnRetireligne = new global::Gtk.Action("btnRetireligne", null, null, "gtk-remove");
w2.Add (this.btnRetireligne, null); w2.Add(this.btnRetireligne, null);
this.UIManager.InsertActionGroup (w2, 0); this.UIManager.InsertActionGroup(w2, 0);
this.Name = "DMX2.SeqMacroUI"; this.Name = "DMX2.SeqMacroUI";
// Container child DMX2.SeqMacroUI.Gtk.Container+ContainerChild // Container child DMX2.SeqMacroUI.Gtk.Container+ContainerChild
this.frame1 = new global::Gtk.Frame (); this.frame1 = new global::Gtk.Frame();
this.frame1.Name = "frame1"; this.frame1.Name = "frame1";
this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child frame1.Gtk.Container+ContainerChild // Container child frame1.Gtk.Container+ContainerChild
this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.Name = "GtkAlignment";
this.GtkAlignment.LeftPadding = ((uint)(12)); this.GtkAlignment.LeftPadding = ((uint)(12));
// Container child GtkAlignment.Gtk.Container+ContainerChild // Container child GtkAlignment.Gtk.Container+ContainerChild
this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
this.alignment1.Name = "alignment1"; this.alignment1.Name = "alignment1";
// Container child alignment1.Gtk.Container+ContainerChild // Container child alignment1.Gtk.Container+ContainerChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.vbox3 = new global::Gtk.VBox (); this.vbox3 = new global::Gtk.VBox();
this.vbox3.Name = "vbox3"; this.vbox3.Name = "vbox3";
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.evBBox = new global::Gtk.EventBox (); this.evBBox = new global::Gtk.EventBox();
this.evBBox.Name = "evBBox"; this.evBBox.Name = "evBBox";
// Container child evBBox.Gtk.Container+ContainerChild // Container child evBBox.Gtk.Container+ContainerChild
this.hbox2 = new global::Gtk.HBox (); this.hbox2 = new global::Gtk.HBox();
this.hbox2.WidthRequest = 300; this.hbox2.WidthRequest = 300;
this.hbox2.Name = "hbox2"; this.hbox2.Name = "hbox2";
this.hbox2.Spacing = 6; this.hbox2.Spacing = 6;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.posLabel = new global::Gtk.Label (); this.posLabel = new global::Gtk.Label();
this.posLabel.HeightRequest = 33; this.posLabel.HeightRequest = 33;
this.posLabel.Name = "posLabel"; this.posLabel.Name = "posLabel";
this.posLabel.Xpad = 15; this.posLabel.Xpad = 15;
this.posLabel.Xalign = 0F; this.posLabel.Xalign = 0F;
this.posLabel.LabelProp = "<big>n° 0</big>"; this.posLabel.LabelProp = "<big>n° 0</big>";
this.posLabel.UseMarkup = true; this.posLabel.UseMarkup = true;
this.hbox2.Add (this.posLabel); this.hbox2.Add(this.posLabel);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.posLabel])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.posLabel]));
w3.Position = 0; w3.Position = 0;
w3.Expand = false; w3.Expand = false;
w3.Fill = false; w3.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.actLabel = new global::Gtk.Label (); this.actLabel = new global::Gtk.Label();
this.actLabel.Name = "actLabel"; this.actLabel.Name = "actLabel";
this.actLabel.UseMarkup = true; this.actLabel.UseMarkup = true;
this.actLabel.Wrap = true; this.actLabel.Wrap = true;
this.hbox2.Add (this.actLabel); this.hbox2.Add(this.actLabel);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.actLabel])); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.actLabel]));
w4.Position = 1; w4.Position = 1;
w4.Fill = false; w4.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.timeLabel = new global::Gtk.Label (); this.timeLabel = new global::Gtk.Label();
this.timeLabel.HeightRequest = 33; this.timeLabel.HeightRequest = 33;
this.timeLabel.Name = "timeLabel"; this.timeLabel.Name = "timeLabel";
this.timeLabel.Xpad = 15; this.timeLabel.Xpad = 15;
this.timeLabel.LabelProp = "<big>00.0</big>"; this.timeLabel.LabelProp = "<big>00.0</big>";
this.timeLabel.UseMarkup = true; this.timeLabel.UseMarkup = true;
this.hbox2.Add (this.timeLabel); this.hbox2.Add(this.timeLabel);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.timeLabel])); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.timeLabel]));
w5.PackType = ((global::Gtk.PackType)(1)); w5.PackType = ((global::Gtk.PackType)(1));
w5.Position = 2; w5.Position = 2;
w5.Expand = false; w5.Expand = false;
w5.Fill = false; w5.Fill = false;
this.evBBox.Add (this.hbox2); this.evBBox.Add(this.hbox2);
this.vbox3.Add (this.evBBox); this.vbox3.Add(this.evBBox);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.evBBox])); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.evBBox]));
w7.Position = 0; w7.Position = 0;
w7.Expand = false; w7.Expand = false;
w7.Fill = false; w7.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.seqMasterScale = new global::Gtk.HScale (null); this.seqMasterScale = new global::Gtk.HScale(null);
this.seqMasterScale.CanFocus = true; this.seqMasterScale.CanFocus = true;
this.seqMasterScale.Name = "seqMasterScale"; this.seqMasterScale.Name = "seqMasterScale";
this.seqMasterScale.Adjustment.Upper = 100D; this.seqMasterScale.Adjustment.Upper = 100D;
@ -170,117 +170,118 @@ namespace DMX2
this.seqMasterScale.DrawValue = true; this.seqMasterScale.DrawValue = true;
this.seqMasterScale.Digits = 0; this.seqMasterScale.Digits = 0;
this.seqMasterScale.ValuePos = ((global::Gtk.PositionType)(1)); this.seqMasterScale.ValuePos = ((global::Gtk.PositionType)(1));
this.vbox3.Add (this.seqMasterScale); this.vbox3.Add(this.seqMasterScale);
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.seqMasterScale])); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.seqMasterScale]));
w8.Position = 1; w8.Position = 1;
w8.Expand = false; w8.Expand = false;
w8.Fill = false; w8.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.hbox3 = new global::Gtk.HBox (); this.hbox3 = new global::Gtk.HBox();
this.hbox3.Name = "hbox3"; this.hbox3.Name = "hbox3";
this.hbox3.Spacing = 6; this.hbox3.Spacing = 6;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.txtCommand = new global::Gtk.Entry (); this.txtCommand = new global::Gtk.Entry();
this.txtCommand.CanFocus = true; this.txtCommand.CanFocus = true;
this.txtCommand.Name = "txtCommand"; this.txtCommand.Name = "txtCommand";
this.txtCommand.IsEditable = true; this.txtCommand.IsEditable = true;
this.txtCommand.InvisibleChar = '●'; this.txtCommand.InvisibleChar = '●';
this.hbox3.Add (this.txtCommand); this.hbox3.Add(this.txtCommand);
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.txtCommand])); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.txtCommand]));
w9.Position = 0; w9.Position = 0;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btnCommand = new global::Gtk.Button (); this.btnCommand = new global::Gtk.Button();
this.btnCommand.CanFocus = true; this.btnCommand.CanFocus = true;
this.btnCommand.Name = "btnCommand"; this.btnCommand.Name = "btnCommand";
this.btnCommand.UseUnderline = true; this.btnCommand.UseUnderline = true;
this.btnCommand.Label = "Ok"; this.btnCommand.Label = "Ok";
global::Gtk.Image w10 = new global::Gtk.Image (); global::Gtk.Image w10 = new global::Gtk.Image();
w10.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu); w10.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu);
this.btnCommand.Image = w10; this.btnCommand.Image = w10;
this.hbox3.Add (this.btnCommand); this.hbox3.Add(this.btnCommand);
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnCommand])); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnCommand]));
w11.Position = 1; w11.Position = 1;
w11.Expand = false; w11.Expand = false;
w11.Fill = false; w11.Fill = false;
this.vbox3.Add (this.hbox3); this.vbox3.Add(this.hbox3);
global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
w12.Position = 2; w12.Position = 2;
w12.Expand = false; w12.Expand = false;
w12.Fill = false; w12.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild // 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.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 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar")));
this.toolbar.Name = "toolbar"; this.toolbar.Name = "toolbar";
this.toolbar.ShowArrow = false; this.toolbar.ShowArrow = false;
this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar.IconSize = ((global::Gtk.IconSize)(2));
this.vbox3.Add (this.toolbar); this.vbox3.Add(this.toolbar);
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar])); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.toolbar]));
w13.Position = 3; w13.Position = 3;
w13.Expand = false; w13.Expand = false;
w13.Fill = false; w13.Fill = false;
this.hbox1.Add (this.vbox3); this.hbox1.Add(this.vbox3);
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
w14.Position = 0; w14.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar1\'><toolitem name=\'closeAction\' action=\'closeAction\'/><" + this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'closeAction\' action=\'closeAction\'/><" +
"toolitem name=\'circuitsAction\' action=\'circuitsAction\'/></toolbar></ui>"); "toolitem name=\'circuitsAction\' action=\'circuitsAction\'/></toolbar></ui>");
this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
this.toolbar1.Name = "toolbar1"; this.toolbar1.Name = "toolbar1";
this.toolbar1.Orientation = ((global::Gtk.Orientation)(1)); this.toolbar1.Orientation = ((global::Gtk.Orientation)(1));
this.toolbar1.ShowArrow = false; this.toolbar1.ShowArrow = false;
this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2));
this.hbox1.Add (this.toolbar1); this.hbox1.Add(this.toolbar1);
global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar1])); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toolbar1]));
w15.PackType = ((global::Gtk.PackType)(1)); w15.PackType = ((global::Gtk.PackType)(1));
w15.Position = 1; w15.Position = 1;
w15.Expand = false; w15.Expand = false;
w15.Fill = false; w15.Fill = false;
this.vbox2.Add (this.hbox1); this.vbox2.Add(this.hbox1);
global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
w16.Position = 0; w16.Position = 0;
w16.Expand = false; w16.Expand = false;
w16.Fill = false; w16.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1 = new global::Gtk.ScrolledWindow();
this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.CanFocus = true;
this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.Name = "scrolledwindow1";
this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child scrolledwindow1.Gtk.Container+ContainerChild // Container child scrolledwindow1.Gtk.Container+ContainerChild
this.effetsListe = new global::Gtk.TreeView (); this.effetsListe = new global::Gtk.TreeView();
this.effetsListe.CanFocus = true; this.effetsListe.CanFocus = true;
this.effetsListe.Name = "effetsListe"; this.effetsListe.Name = "effetsListe";
this.effetsListe.RulesHint = true; this.effetsListe.RulesHint = true;
this.scrolledwindow1.Add (this.effetsListe); this.scrolledwindow1.Add(this.effetsListe);
this.vbox2.Add (this.scrolledwindow1); this.vbox2.Add(this.scrolledwindow1);
global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1])); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow1]));
w18.Position = 1; w18.Position = 1;
this.alignment1.Add (this.vbox2); this.alignment1.Add(this.vbox2);
this.GtkAlignment.Add (this.alignment1); this.GtkAlignment.Add(this.alignment1);
this.frame1.Add (this.GtkAlignment); this.frame1.Add(this.GtkAlignment);
this.titreLabel = new global::Gtk.Label (); this.titreLabel = new global::Gtk.Label();
this.titreLabel.Name = "titreLabel"; this.titreLabel.Name = "titreLabel";
this.titreLabel.LabelProp = "Séquenceur Macro"; this.titreLabel.LabelProp = "Séquenceur Macro";
this.titreLabel.UseMarkup = true; this.titreLabel.UseMarkup = true;
this.frame1.LabelWidget = this.titreLabel; this.frame1.LabelWidget = this.titreLabel;
this.Add (this.frame1); this.Add(this.frame1);
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
w1.SetUiManager (UIManager); w1.SetUiManager(UIManager);
this.Hide (); this.Hide();
this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.closeAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated);
this.circuitsAction.Activated += new global::System.EventHandler (this.OnCircuitsActionActivated); this.circuitsAction.Activated += new global::System.EventHandler(this.OnCircuitsActionActivated);
this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForwardActionActivated); this.goForwardAction.Activated += new global::System.EventHandler(this.OnGoForwardActionActivated);
this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackActionActivated); this.goBackAction.Activated += new global::System.EventHandler(this.OnGoBackActionActivated);
this.mediaPauseAction.Activated += new global::System.EventHandler (this.OnMediaPauseActionActivated); this.mediaPauseAction.Activated += new global::System.EventHandler(this.OnMediaPauseActionActivated);
this.btnAjoutLigne.Activated += new global::System.EventHandler (this.OnBtnAjoutLigneActivated); this.btnAjoutLigne.Activated += new global::System.EventHandler(this.OnBtnAjoutLigneActivated);
this.btnRetireligne.Activated += new global::System.EventHandler (this.OnRemoveLigneActivated); this.btnRetireligne.Activated += new global::System.EventHandler(this.OnRemoveLigneActivated);
this.hbox2.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnHbox2SizeAllocated); this.hbox2.SizeAllocated += new global::Gtk.SizeAllocatedHandler(this.OnHbox2SizeAllocated);
this.seqMasterScale.ValueChanged += new global::System.EventHandler (this.OnSeqMasterScaleValueChanged); this.seqMasterScale.ValueChanged += new global::System.EventHandler(this.OnSeqMasterScaleValueChanged);
this.btnCommand.Clicked += new global::System.EventHandler (this.OnBtnCommandClicked); this.btnCommand.Clicked += new global::System.EventHandler(this.OnBtnCommandClicked);
this.effetsListe.CursorChanged += new global::System.EventHandler (this.OnEffetsListeCursorChanged); this.effetsListe.CursorChanged += new global::System.EventHandler(this.OnEffetsListeCursorChanged);
} }
} }
} }

View file

@ -5,237 +5,238 @@ namespace DMX2
public partial class SeqMidiUI public partial class SeqMidiUI
{ {
private global::Gtk.UIManager UIManager; private global::Gtk.UIManager UIManager;
private global::Gtk.ToggleAction closeAction; private global::Gtk.ToggleAction closeAction;
private global::Gtk.Action goForwardAction; private global::Gtk.Action goForwardAction;
private global::Gtk.Action goBackAction; private global::Gtk.Action goBackAction;
private global::Gtk.Action mediaPauseAction; private global::Gtk.Action mediaPauseAction;
private global::Gtk.Action mediaNextAction; private global::Gtk.Action mediaNextAction;
private global::Gtk.Action btnAjoutLigne; private global::Gtk.Action btnAjoutLigne;
private global::Gtk.Action btnRetireligne; private global::Gtk.Action btnRetireligne;
private global::Gtk.Action Action; private global::Gtk.Action Action;
private global::Gtk.Frame frame1; private global::Gtk.Frame frame1;
private global::Gtk.Alignment GtkAlignment; private global::Gtk.Alignment GtkAlignment;
private global::Gtk.Alignment alignment1; private global::Gtk.Alignment alignment1;
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.VBox vbox3; private global::Gtk.VBox vbox3;
private global::Gtk.EventBox evBBox; private global::Gtk.EventBox evBBox;
private global::Gtk.HBox hbox2; private global::Gtk.HBox hbox2;
private global::Gtk.Label posLabel; private global::Gtk.Label posLabel;
private global::Gtk.Label actLabel; private global::Gtk.Label actLabel;
private global::Gtk.Label timeLabel; private global::Gtk.Label timeLabel;
private global::Gtk.Toolbar toolbar; private global::Gtk.Toolbar toolbar;
private global::Gtk.Toolbar toolbar1; private global::Gtk.Toolbar toolbar1;
private global::Gtk.ScrolledWindow scrolledwindow1; private global::Gtk.ScrolledWindow scrolledwindow1;
private global::Gtk.TreeView cmdList; private global::Gtk.TreeView cmdList;
private global::Gtk.Label lblText; private global::Gtk.Label lblText;
private global::Gtk.Label titreLabel; private global::Gtk.Label titreLabel;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.SeqMidiUI // Widget DMX2.SeqMidiUI
Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
this.UIManager = new global::Gtk.UIManager (); this.UIManager = new global::Gtk.UIManager();
global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
this.closeAction = new global::Gtk.ToggleAction ("closeAction", " ", null, "gtk-close"); this.closeAction = new global::Gtk.ToggleAction("closeAction", " ", null, "gtk-close");
this.closeAction.ShortLabel = " "; this.closeAction.ShortLabel = " ";
w2.Add (this.closeAction, null); w2.Add(this.closeAction, null);
this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward"); this.goForwardAction = new global::Gtk.Action("goForwardAction", null, null, "gtk-go-forward");
w2.Add (this.goForwardAction, null); w2.Add(this.goForwardAction, null);
this.goBackAction = new global::Gtk.Action ("goBackAction", null, null, "gtk-go-back"); this.goBackAction = new global::Gtk.Action("goBackAction", null, null, "gtk-go-back");
w2.Add (this.goBackAction, null); w2.Add(this.goBackAction, null);
this.mediaPauseAction = new global::Gtk.Action ("mediaPauseAction", null, null, "gtk-media-pause"); this.mediaPauseAction = new global::Gtk.Action("mediaPauseAction", null, null, "gtk-media-pause");
w2.Add (this.mediaPauseAction, null); w2.Add(this.mediaPauseAction, null);
this.mediaNextAction = new global::Gtk.Action ("mediaNextAction", null, null, "gtk-media-next"); this.mediaNextAction = new global::Gtk.Action("mediaNextAction", null, null, "gtk-media-next");
w2.Add (this.mediaNextAction, null); w2.Add(this.mediaNextAction, null);
this.btnAjoutLigne = new global::Gtk.Action ("btnAjoutLigne", null, null, "gtk-add"); this.btnAjoutLigne = new global::Gtk.Action("btnAjoutLigne", null, null, "gtk-add");
w2.Add (this.btnAjoutLigne, null); w2.Add(this.btnAjoutLigne, null);
this.btnRetireligne = new global::Gtk.Action ("btnRetireligne", null, null, "gtk-remove"); this.btnRetireligne = new global::Gtk.Action("btnRetireligne", null, null, "gtk-remove");
w2.Add (this.btnRetireligne, null); w2.Add(this.btnRetireligne, null);
this.Action = new global::Gtk.Action ("Action", null, null, null); this.Action = new global::Gtk.Action("Action", null, null, null);
w2.Add (this.Action, null); w2.Add(this.Action, null);
this.UIManager.InsertActionGroup (w2, 0); this.UIManager.InsertActionGroup(w2, 0);
this.Name = "DMX2.SeqMidiUI"; this.Name = "DMX2.SeqMidiUI";
// Container child DMX2.SeqMidiUI.Gtk.Container+ContainerChild // Container child DMX2.SeqMidiUI.Gtk.Container+ContainerChild
this.frame1 = new global::Gtk.Frame (); this.frame1 = new global::Gtk.Frame();
this.frame1.Name = "frame1"; this.frame1.Name = "frame1";
this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child frame1.Gtk.Container+ContainerChild // Container child frame1.Gtk.Container+ContainerChild
this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.Name = "GtkAlignment";
this.GtkAlignment.LeftPadding = ((uint)(12)); this.GtkAlignment.LeftPadding = ((uint)(12));
// Container child GtkAlignment.Gtk.Container+ContainerChild // Container child GtkAlignment.Gtk.Container+ContainerChild
this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
this.alignment1.Name = "alignment1"; this.alignment1.Name = "alignment1";
// Container child alignment1.Gtk.Container+ContainerChild // Container child alignment1.Gtk.Container+ContainerChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.vbox3 = new global::Gtk.VBox (); this.vbox3 = new global::Gtk.VBox();
this.vbox3.Name = "vbox3"; this.vbox3.Name = "vbox3";
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.evBBox = new global::Gtk.EventBox (); this.evBBox = new global::Gtk.EventBox();
this.evBBox.Name = "evBBox"; this.evBBox.Name = "evBBox";
// Container child evBBox.Gtk.Container+ContainerChild // Container child evBBox.Gtk.Container+ContainerChild
this.hbox2 = new global::Gtk.HBox (); this.hbox2 = new global::Gtk.HBox();
this.hbox2.WidthRequest = 300; this.hbox2.WidthRequest = 300;
this.hbox2.Name = "hbox2"; this.hbox2.Name = "hbox2";
this.hbox2.Spacing = 6; this.hbox2.Spacing = 6;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.posLabel = new global::Gtk.Label (); this.posLabel = new global::Gtk.Label();
this.posLabel.HeightRequest = 33; this.posLabel.HeightRequest = 33;
this.posLabel.Name = "posLabel"; this.posLabel.Name = "posLabel";
this.posLabel.Xpad = 15; this.posLabel.Xpad = 15;
this.posLabel.Xalign = 0F; this.posLabel.Xalign = 0F;
this.posLabel.LabelProp = "<big>n° 0</big>"; this.posLabel.LabelProp = "<big>n° 0</big>";
this.posLabel.UseMarkup = true; this.posLabel.UseMarkup = true;
this.hbox2.Add (this.posLabel); this.hbox2.Add(this.posLabel);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.posLabel])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.posLabel]));
w3.Position = 0; w3.Position = 0;
w3.Expand = false; w3.Expand = false;
w3.Fill = false; w3.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.actLabel = new global::Gtk.Label (); this.actLabel = new global::Gtk.Label();
this.actLabel.Name = "actLabel"; this.actLabel.Name = "actLabel";
this.actLabel.UseMarkup = true; this.actLabel.UseMarkup = true;
this.actLabel.Wrap = true; this.actLabel.Wrap = true;
this.hbox2.Add (this.actLabel); this.hbox2.Add(this.actLabel);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.actLabel])); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.actLabel]));
w4.Position = 1; w4.Position = 1;
w4.Fill = false; w4.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.timeLabel = new global::Gtk.Label (); this.timeLabel = new global::Gtk.Label();
this.timeLabel.HeightRequest = 33; this.timeLabel.HeightRequest = 33;
this.timeLabel.Name = "timeLabel"; this.timeLabel.Name = "timeLabel";
this.timeLabel.Xpad = 15; this.timeLabel.Xpad = 15;
this.timeLabel.LabelProp = "<big>00.0</big>"; this.timeLabel.LabelProp = "<big>00.0</big>";
this.timeLabel.UseMarkup = true; this.timeLabel.UseMarkup = true;
this.hbox2.Add (this.timeLabel); this.hbox2.Add(this.timeLabel);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.timeLabel])); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.timeLabel]));
w5.PackType = ((global::Gtk.PackType)(1)); w5.PackType = ((global::Gtk.PackType)(1));
w5.Position = 2; w5.Position = 2;
w5.Expand = false; w5.Expand = false;
w5.Fill = false; w5.Fill = false;
this.evBBox.Add (this.hbox2); this.evBBox.Add(this.hbox2);
this.vbox3.Add (this.evBBox); this.vbox3.Add(this.evBBox);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.evBBox])); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.evBBox]));
w7.Position = 0; w7.Position = 0;
w7.Expand = false; w7.Expand = false;
w7.Fill = false; w7.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild // 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.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 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar")));
this.toolbar.Name = "toolbar"; this.toolbar.Name = "toolbar";
this.toolbar.ShowArrow = false; this.toolbar.ShowArrow = false;
this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar.IconSize = ((global::Gtk.IconSize)(2));
this.vbox3.Add (this.toolbar); this.vbox3.Add(this.toolbar);
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar])); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.toolbar]));
w8.Position = 1; w8.Position = 1;
w8.Expand = false; w8.Expand = false;
w8.Fill = false; w8.Fill = false;
this.hbox1.Add (this.vbox3); this.hbox1.Add(this.vbox3);
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
w9.Position = 0; w9.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar1\'><toolitem name=\'closeAction\' action=\'closeAction\'/><" + this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'closeAction\' action=\'closeAction\'/><" +
"/toolbar></ui>"); "/toolbar></ui>");
this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
this.toolbar1.Name = "toolbar1"; this.toolbar1.Name = "toolbar1";
this.toolbar1.Orientation = ((global::Gtk.Orientation)(1)); this.toolbar1.Orientation = ((global::Gtk.Orientation)(1));
this.toolbar1.ShowArrow = false; this.toolbar1.ShowArrow = false;
this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2));
this.hbox1.Add (this.toolbar1); this.hbox1.Add(this.toolbar1);
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar1])); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toolbar1]));
w10.PackType = ((global::Gtk.PackType)(1)); w10.PackType = ((global::Gtk.PackType)(1));
w10.Position = 1; w10.Position = 1;
w10.Expand = false; w10.Expand = false;
w10.Fill = false; w10.Fill = false;
this.vbox2.Add (this.hbox1); this.vbox2.Add(this.hbox1);
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
w11.Position = 0; w11.Position = 0;
w11.Expand = false; w11.Expand = false;
w11.Fill = false; w11.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1 = new global::Gtk.ScrolledWindow();
this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.CanFocus = true;
this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.Name = "scrolledwindow1";
this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child scrolledwindow1.Gtk.Container+ContainerChild // Container child scrolledwindow1.Gtk.Container+ContainerChild
this.cmdList = new global::Gtk.TreeView (); this.cmdList = new global::Gtk.TreeView();
this.cmdList.CanFocus = true; this.cmdList.CanFocus = true;
this.cmdList.Name = "cmdList"; this.cmdList.Name = "cmdList";
this.cmdList.RulesHint = true; this.cmdList.RulesHint = true;
this.scrolledwindow1.Add (this.cmdList); this.scrolledwindow1.Add(this.cmdList);
this.vbox2.Add (this.scrolledwindow1); this.vbox2.Add(this.scrolledwindow1);
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1])); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow1]));
w13.Position = 1; w13.Position = 1;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.lblText = new global::Gtk.Label (); this.lblText = new global::Gtk.Label();
this.lblText.Name = "lblText"; this.lblText.Name = "lblText";
this.lblText.Xalign = 0F; this.lblText.Xalign = 0F;
this.lblText.LabelProp = "CC : Control Change (ex: CC12,100)\nPC : Program Change (ex: PC5)\nN : Note On/Off " + 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"; "(ex: N64+127 ou N12-)\nGT : Go To (ex: GT4)\nr: loop";
this.lblText.UseMarkup = true; this.lblText.UseMarkup = true;
this.vbox2.Add (this.lblText); this.vbox2.Add(this.lblText);
global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.lblText])); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.lblText]));
w14.Position = 2; w14.Position = 2;
w14.Expand = false; w14.Expand = false;
w14.Fill = false; w14.Fill = false;
this.alignment1.Add (this.vbox2); this.alignment1.Add(this.vbox2);
this.GtkAlignment.Add (this.alignment1); this.GtkAlignment.Add(this.alignment1);
this.frame1.Add (this.GtkAlignment); this.frame1.Add(this.GtkAlignment);
this.titreLabel = new global::Gtk.Label (); this.titreLabel = new global::Gtk.Label();
this.titreLabel.Name = "titreLabel"; this.titreLabel.Name = "titreLabel";
this.titreLabel.LabelProp = "Séquenceur Midi"; this.titreLabel.LabelProp = "Séquenceur Midi";
this.titreLabel.UseMarkup = true; this.titreLabel.UseMarkup = true;
this.frame1.LabelWidget = this.titreLabel; this.frame1.LabelWidget = this.titreLabel;
this.Add (this.frame1); this.Add(this.frame1);
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
w1.SetUiManager (UIManager); w1.SetUiManager(UIManager);
this.Hide (); this.Hide();
this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.closeAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated);
this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForwardActionActivated); this.goForwardAction.Activated += new global::System.EventHandler(this.OnGoForwardActionActivated);
this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackActionActivated); this.goBackAction.Activated += new global::System.EventHandler(this.OnGoBackActionActivated);
this.mediaPauseAction.Activated += new global::System.EventHandler (this.OnMediaPauseActionActivated); this.mediaPauseAction.Activated += new global::System.EventHandler(this.OnMediaPauseActionActivated);
this.btnAjoutLigne.Activated += new global::System.EventHandler (this.OnBtnAjoutLigneActivated); this.btnAjoutLigne.Activated += new global::System.EventHandler(this.OnBtnAjoutLigneActivated);
this.btnRetireligne.Activated += new global::System.EventHandler (this.OnRemoveLigneActivated); this.btnRetireligne.Activated += new global::System.EventHandler(this.OnRemoveLigneActivated);
this.hbox2.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnHbox2SizeAllocated); this.hbox2.SizeAllocated += new global::Gtk.SizeAllocatedHandler(this.OnHbox2SizeAllocated);
this.cmdList.CursorChanged += new global::System.EventHandler (this.OnCmdListeCursorChanged); this.cmdList.CursorChanged += new global::System.EventHandler(this.OnCmdListeCursorChanged);
} }
} }
} }

View file

@ -5,227 +5,248 @@ namespace DMX2
public partial class SeqOscUI public partial class SeqOscUI
{ {
private global::Gtk.UIManager UIManager; private global::Gtk.UIManager UIManager;
private global::Gtk.ToggleAction closeAction; private global::Gtk.ToggleAction closeAction;
private global::Gtk.Action circuitsAction;
private global::Gtk.Action goForwardAction; private global::Gtk.Action goForwardAction;
private global::Gtk.Action goBackAction; private global::Gtk.Action goBackAction;
private global::Gtk.Action mediaPauseAction; private global::Gtk.Action mediaPauseAction;
private global::Gtk.Action mediaNextAction; private global::Gtk.Action mediaNextAction;
private global::Gtk.Action btnAjoutLigne; private global::Gtk.Action btnAjoutLigne;
private global::Gtk.Action btnRetireligne; private global::Gtk.Action btnRetireligne;
private global::Gtk.Action Action; private global::Gtk.Action Action;
private global::Gtk.Frame frame1; private global::Gtk.Frame frame1;
private global::Gtk.Alignment GtkAlignment; private global::Gtk.Alignment GtkAlignment;
private global::Gtk.Alignment alignment1; private global::Gtk.Alignment alignment1;
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.VBox vbox3; private global::Gtk.VBox vbox3;
private global::Gtk.EventBox evBBox; private global::Gtk.EventBox evBBox;
private global::Gtk.HBox hbox2; private global::Gtk.HBox hbox2;
private global::Gtk.Label posLabel; private global::Gtk.Label posLabel;
private global::Gtk.Label actLabel; private global::Gtk.Label actLabel;
private global::Gtk.Label timeLabel; private global::Gtk.Label timeLabel;
private global::Gtk.HBox hbox3;
private global::Gtk.Toolbar toolbar; private global::Gtk.Toolbar toolbar;
private global::Gtk.Entry entryDest;
private global::Gtk.Toolbar toolbar1; private global::Gtk.Toolbar toolbar1;
private global::Gtk.ScrolledWindow scrolledwindow1; private global::Gtk.ScrolledWindow scrolledwindow1;
private global::Gtk.TreeView cmdList; private global::Gtk.TreeView cmdList;
private global::Gtk.Label titreLabel; private global::Gtk.Label titreLabel;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.SeqOscUI // Widget DMX2.SeqOscUI
Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
this.UIManager = new global::Gtk.UIManager (); this.UIManager = new global::Gtk.UIManager();
global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
this.closeAction = new global::Gtk.ToggleAction ("closeAction", " ", null, "gtk-close"); this.closeAction = new global::Gtk.ToggleAction("closeAction", " ", null, "gtk-close");
this.closeAction.ShortLabel = " "; this.closeAction.ShortLabel = " ";
w2.Add (this.closeAction, null); w2.Add(this.closeAction, null);
this.circuitsAction = new global::Gtk.Action ("circuitsAction", null, "Association des circuits\nau sequenceur", "circuits"); this.goForwardAction = new global::Gtk.Action("goForwardAction", null, null, "gtk-go-forward");
w2.Add (this.circuitsAction, null); w2.Add(this.goForwardAction, null);
this.goForwardAction = new global::Gtk.Action ("goForwardAction", null, null, "gtk-go-forward"); this.goBackAction = new global::Gtk.Action("goBackAction", null, null, "gtk-go-back");
w2.Add (this.goForwardAction, null); w2.Add(this.goBackAction, null);
this.goBackAction = new global::Gtk.Action ("goBackAction", null, null, "gtk-go-back"); this.mediaPauseAction = new global::Gtk.Action("mediaPauseAction", null, null, "gtk-media-pause");
w2.Add (this.goBackAction, null); w2.Add(this.mediaPauseAction, null);
this.mediaPauseAction = new global::Gtk.Action ("mediaPauseAction", null, null, "gtk-media-pause"); this.mediaNextAction = new global::Gtk.Action("mediaNextAction", null, null, "gtk-media-next");
w2.Add (this.mediaPauseAction, null); w2.Add(this.mediaNextAction, null);
this.mediaNextAction = new global::Gtk.Action ("mediaNextAction", null, null, "gtk-media-next"); this.btnAjoutLigne = new global::Gtk.Action("btnAjoutLigne", null, null, "gtk-add");
w2.Add (this.mediaNextAction, null); w2.Add(this.btnAjoutLigne, null);
this.btnAjoutLigne = new global::Gtk.Action ("btnAjoutLigne", null, null, "gtk-add"); this.btnRetireligne = new global::Gtk.Action("btnRetireligne", null, null, "gtk-remove");
w2.Add (this.btnAjoutLigne, null); w2.Add(this.btnRetireligne, null);
this.btnRetireligne = new global::Gtk.Action ("btnRetireligne", null, null, "gtk-remove"); this.Action = new global::Gtk.Action("Action", null, null, null);
w2.Add (this.btnRetireligne, null); w2.Add(this.Action, null);
this.Action = new global::Gtk.Action ("Action", null, null, null); this.UIManager.InsertActionGroup(w2, 0);
w2.Add (this.Action, null);
this.UIManager.InsertActionGroup (w2, 0);
this.Name = "DMX2.SeqOscUI"; this.Name = "DMX2.SeqOscUI";
// Container child DMX2.SeqOscUI.Gtk.Container+ContainerChild // Container child DMX2.SeqOscUI.Gtk.Container+ContainerChild
this.frame1 = new global::Gtk.Frame (); this.frame1 = new global::Gtk.Frame();
this.frame1.Name = "frame1"; this.frame1.Name = "frame1";
this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child frame1.Gtk.Container+ContainerChild // Container child frame1.Gtk.Container+ContainerChild
this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.Name = "GtkAlignment";
this.GtkAlignment.LeftPadding = ((uint)(12)); this.GtkAlignment.LeftPadding = ((uint)(12));
// Container child GtkAlignment.Gtk.Container+ContainerChild // Container child GtkAlignment.Gtk.Container+ContainerChild
this.alignment1 = new global::Gtk.Alignment (0.5F, 0.5F, 1F, 1F); this.alignment1 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
this.alignment1.Name = "alignment1"; this.alignment1.Name = "alignment1";
// Container child alignment1.Gtk.Container+ContainerChild // Container child alignment1.Gtk.Container+ContainerChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.vbox3 = new global::Gtk.VBox (); this.vbox3 = new global::Gtk.VBox();
this.vbox3.Name = "vbox3"; this.vbox3.Name = "vbox3";
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.evBBox = new global::Gtk.EventBox (); this.evBBox = new global::Gtk.EventBox();
this.evBBox.Name = "evBBox"; this.evBBox.Name = "evBBox";
// Container child evBBox.Gtk.Container+ContainerChild // Container child evBBox.Gtk.Container+ContainerChild
this.hbox2 = new global::Gtk.HBox (); this.hbox2 = new global::Gtk.HBox();
this.hbox2.WidthRequest = 300; this.hbox2.WidthRequest = 300;
this.hbox2.Name = "hbox2"; this.hbox2.Name = "hbox2";
this.hbox2.Spacing = 6; this.hbox2.Spacing = 6;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.posLabel = new global::Gtk.Label (); this.posLabel = new global::Gtk.Label();
this.posLabel.HeightRequest = 33; this.posLabel.HeightRequest = 33;
this.posLabel.Name = "posLabel"; this.posLabel.Name = "posLabel";
this.posLabel.Xpad = 15; this.posLabel.Xpad = 15;
this.posLabel.Xalign = 0F; this.posLabel.Xalign = 0F;
this.posLabel.LabelProp = "<big>n° 0</big>"; this.posLabel.LabelProp = "<big>n° 0</big>";
this.posLabel.UseMarkup = true; this.posLabel.UseMarkup = true;
this.hbox2.Add (this.posLabel); this.hbox2.Add(this.posLabel);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.posLabel])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.posLabel]));
w3.Position = 0; w3.Position = 0;
w3.Expand = false; w3.Expand = false;
w3.Fill = false; w3.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.actLabel = new global::Gtk.Label (); this.actLabel = new global::Gtk.Label();
this.actLabel.Name = "actLabel"; this.actLabel.Name = "actLabel";
this.actLabel.UseMarkup = true; this.actLabel.UseMarkup = true;
this.actLabel.Wrap = true; this.actLabel.Wrap = true;
this.hbox2.Add (this.actLabel); this.hbox2.Add(this.actLabel);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.actLabel])); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.actLabel]));
w4.Position = 1; w4.Position = 1;
w4.Fill = false; w4.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.timeLabel = new global::Gtk.Label (); this.timeLabel = new global::Gtk.Label();
this.timeLabel.HeightRequest = 33; this.timeLabel.HeightRequest = 33;
this.timeLabel.Name = "timeLabel"; this.timeLabel.Name = "timeLabel";
this.timeLabel.Xpad = 15; this.timeLabel.Xpad = 15;
this.timeLabel.LabelProp = "<big>00.0</big>"; this.timeLabel.LabelProp = "<big>00.0</big>";
this.timeLabel.UseMarkup = true; this.timeLabel.UseMarkup = true;
this.hbox2.Add (this.timeLabel); this.hbox2.Add(this.timeLabel);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.timeLabel])); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.timeLabel]));
w5.PackType = ((global::Gtk.PackType)(1)); w5.PackType = ((global::Gtk.PackType)(1));
w5.Position = 2; w5.Position = 2;
w5.Expand = false; w5.Expand = false;
w5.Fill = false; w5.Fill = false;
this.evBBox.Add (this.hbox2); this.evBBox.Add(this.hbox2);
this.vbox3.Add (this.evBBox); this.vbox3.Add(this.evBBox);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.evBBox])); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.evBBox]));
w7.Position = 0; w7.Position = 0;
w7.Expand = false; w7.Expand = false;
w7.Fill = false; w7.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild // 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.hbox3 = new global::Gtk.HBox();
this.toolbar = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar"))); this.hbox3.Name = "hbox3";
this.hbox3.Spacing = 6;
// Container child hbox3.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.Name = "toolbar";
this.toolbar.ShowArrow = false; this.toolbar.ShowArrow = false;
this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar.IconSize = ((global::Gtk.IconSize)(2));
this.vbox3.Add (this.toolbar); this.hbox3.Add(this.toolbar);
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.toolbar])); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.toolbar]));
w8.Position = 1; w8.Position = 0;
w8.Expand = false; // Container child hbox3.Gtk.Box+BoxChild
w8.Fill = false; this.entryDest = new global::Gtk.Entry();
this.hbox1.Add (this.vbox3); this.entryDest.WidthRequest = 220;
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); this.entryDest.CanFocus = true;
w9.Position = 0; this.entryDest.Name = "entryDest";
this.entryDest.IsEditable = true;
this.entryDest.InvisibleChar = '●';
this.hbox3.Add(this.entryDest);
global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.entryDest]));
w9.Position = 2;
w9.Expand = false;
w9.Fill = false;
this.vbox3.Add(this.hbox3);
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
w10.Position = 1;
w10.Expand = false;
w10.Fill = false;
this.hbox1.Add(this.vbox3);
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
w11.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.UIManager.AddUiFromString ("<ui><toolbar name=\'toolbar1\'><toolitem name=\'closeAction\' action=\'closeAction\'/><" + this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar1\'><toolitem name=\'closeAction\' action=\'closeAction\'/><" +
"/toolbar></ui>"); "/toolbar></ui>");
this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar1"))); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1")));
this.toolbar1.Name = "toolbar1"; this.toolbar1.Name = "toolbar1";
this.toolbar1.Orientation = ((global::Gtk.Orientation)(1)); this.toolbar1.Orientation = ((global::Gtk.Orientation)(1));
this.toolbar1.ShowArrow = false; this.toolbar1.ShowArrow = false;
this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar1.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar1.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar1.IconSize = ((global::Gtk.IconSize)(2));
this.hbox1.Add (this.toolbar1); this.hbox1.Add(this.toolbar1);
global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar1])); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toolbar1]));
w10.PackType = ((global::Gtk.PackType)(1)); w12.PackType = ((global::Gtk.PackType)(1));
w10.Position = 1; w12.Position = 1;
w10.Expand = false; w12.Expand = false;
w10.Fill = false; w12.Fill = false;
this.vbox2.Add (this.hbox1); this.vbox2.Add(this.hbox1);
global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
w11.Position = 0; w13.Position = 0;
w11.Expand = false; w13.Expand = false;
w11.Fill = false; w13.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.scrolledwindow1 = new global::Gtk.ScrolledWindow (); this.scrolledwindow1 = new global::Gtk.ScrolledWindow();
this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.CanFocus = true;
this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.Name = "scrolledwindow1";
this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child scrolledwindow1.Gtk.Container+ContainerChild // Container child scrolledwindow1.Gtk.Container+ContainerChild
this.cmdList = new global::Gtk.TreeView (); this.cmdList = new global::Gtk.TreeView();
this.cmdList.CanFocus = true; this.cmdList.CanFocus = true;
this.cmdList.Name = "cmdList"; this.cmdList.Name = "cmdList";
this.cmdList.RulesHint = true; this.cmdList.RulesHint = true;
this.scrolledwindow1.Add (this.cmdList); this.scrolledwindow1.Add(this.cmdList);
this.vbox2.Add (this.scrolledwindow1); this.vbox2.Add(this.scrolledwindow1);
global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow1])); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.scrolledwindow1]));
w13.Position = 1; w15.Position = 1;
this.alignment1.Add (this.vbox2); this.alignment1.Add(this.vbox2);
this.GtkAlignment.Add (this.alignment1); this.GtkAlignment.Add(this.alignment1);
this.frame1.Add (this.GtkAlignment); this.frame1.Add(this.GtkAlignment);
this.titreLabel = new global::Gtk.Label (); this.titreLabel = new global::Gtk.Label();
this.titreLabel.Name = "titreLabel"; this.titreLabel.Name = "titreLabel";
this.titreLabel.LabelProp = "Séquenceur Midi"; this.titreLabel.LabelProp = "Séquenceur OSC";
this.titreLabel.UseMarkup = true; this.titreLabel.UseMarkup = true;
this.frame1.LabelWidget = this.titreLabel; this.frame1.LabelWidget = this.titreLabel;
this.Add (this.frame1); this.Add(this.frame1);
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
w1.SetUiManager (UIManager); w1.SetUiManager(UIManager);
this.Hide (); this.Hide();
this.closeAction.Activated += new global::System.EventHandler (this.OnCloseActionActivated); this.closeAction.Activated += new global::System.EventHandler(this.OnCloseActionActivated);
this.goForwardAction.Activated += new global::System.EventHandler (this.OnGoForwardActionActivated); this.goForwardAction.Activated += new global::System.EventHandler(this.OnGoForwardActionActivated);
this.goBackAction.Activated += new global::System.EventHandler (this.OnGoBackActionActivated); this.goBackAction.Activated += new global::System.EventHandler(this.OnGoBackActionActivated);
this.mediaPauseAction.Activated += new global::System.EventHandler (this.OnMediaPauseActionActivated); this.mediaPauseAction.Activated += new global::System.EventHandler(this.OnMediaPauseActionActivated);
this.btnAjoutLigne.Activated += new global::System.EventHandler (this.OnBtnAjoutLigneActivated); this.btnAjoutLigne.Activated += new global::System.EventHandler(this.OnBtnAjoutLigneActivated);
this.btnRetireligne.Activated += new global::System.EventHandler (this.OnRemoveLigneActivated); this.btnRetireligne.Activated += new global::System.EventHandler(this.OnRemoveLigneActivated);
this.hbox2.SizeAllocated += new global::Gtk.SizeAllocatedHandler (this.OnHbox2SizeAllocated); this.hbox2.SizeAllocated += new global::Gtk.SizeAllocatedHandler(this.OnHbox2SizeAllocated);
this.cmdList.CursorChanged += new global::System.EventHandler (this.OnCmdListeCursorChanged); this.entryDest.Changed += new global::System.EventHandler(this.OnEntryDestChanged);
this.cmdList.CursorChanged += new global::System.EventHandler(this.OnCmdListeCursorChanged);
} }
} }
} }

View file

@ -5,447 +5,414 @@ namespace DMX2
public partial class SeqSonUI public partial class SeqSonUI
{ {
private global::Gtk.UIManager UIManager; private global::Gtk.UIManager UIManager;
private global::Gtk.Action closeAction; private global::Gtk.Action closeAction;
private global::Gtk.Action mediaPlayAction; private global::Gtk.Action mediaPlayAction;
private global::Gtk.Action mediaPauseAction; private global::Gtk.Action mediaPauseAction;
private global::Gtk.Action mediaStopAction; private global::Gtk.Action mediaStopAction;
private global::Gtk.Action mediaPreviousAction; private global::Gtk.Action mediaPreviousAction;
private global::Gtk.Action mediaRewindAction; private global::Gtk.Action mediaRewindAction;
private global::Gtk.Action mediaForwardAction; private global::Gtk.Action mediaForwardAction;
private global::Gtk.Action mediaNextAction; private global::Gtk.Action mediaNextAction;
private global::Gtk.Action actAddFile; private global::Gtk.Action actAddFile;
private global::Gtk.Action actDelFile; private global::Gtk.Action actDelFile;
private global::Gtk.Action preferencesAction; private global::Gtk.Action preferencesAction;
private global::Gtk.Action closeAction1; private global::Gtk.Action closeAction1;
private global::Gtk.Action preferencesAction1; private global::Gtk.Action preferencesAction1;
private global::Gtk.Frame frame1; private global::Gtk.Frame frame1;
private global::Gtk.Alignment GtkAlignment; private global::Gtk.Alignment GtkAlignment;
private global::Gtk.VBox vbox2; private global::Gtk.VBox vbox2;
private global::Gtk.HBox hbox1; private global::Gtk.HBox hbox1;
private global::Gtk.VBox vbox3; private global::Gtk.VBox vbox3;
private global::Gtk.EventBox evBBox; private global::Gtk.EventBox evBBox;
private global::Gtk.HBox hbox2; private global::Gtk.HBox hbox2;
private global::Gtk.Label posLabel; private global::Gtk.Label posLabel;
private global::Gtk.Label titleLabel; private global::Gtk.Label titleLabel;
private global::Gtk.Label timeLabel; private global::Gtk.Label timeLabel;
private global::Gtk.ProgressBar pbCur; private global::Gtk.ProgressBar pbCur;
private global::Gtk.HBox hbox3; private global::Gtk.HBox hbox3;
private global::Gtk.Button btnPlay; private global::Gtk.Button btnPlay;
private global::Gtk.Button btnPause; private global::Gtk.Button btnPause;
private global::Gtk.Button btnStop; private global::Gtk.Button btnStop;
private global::Gtk.Button btnPrev; private global::Gtk.Button btnPrev;
private global::Gtk.Button btnRewind; private global::Gtk.Button btnRewind;
private global::Gtk.Button btnForward; private global::Gtk.Button btnForward;
private global::Gtk.Button btnNext; private global::Gtk.Button btnNext;
private global::Gtk.Entry txtGoto; private global::Gtk.Entry txtGoto;
private global::Gtk.Button btnGoto; private global::Gtk.Button btnGoto;
private global::Gtk.VScale sclVolume; private global::Gtk.VScale sclVolume;
private global::Gtk.Toolbar toolbar4; private global::Gtk.Toolbar toolbar4;
private global::Gtk.ScrolledWindow GtkScrolledWindow; private global::Gtk.ScrolledWindow GtkScrolledWindow;
private global::Gtk.NodeView listFiles; private global::Gtk.NodeView listFiles;
private global::Gtk.Label label1; private global::Gtk.Label label1;
private global::Gtk.Label titreLabel; private global::Gtk.Label titreLabel;
protected virtual void Build () protected virtual void Build()
{ {
global::Stetic.Gui.Initialize (this); global::Stetic.Gui.Initialize(this);
// Widget DMX2.SeqSonUI // Widget DMX2.SeqSonUI
Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this); Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this);
this.UIManager = new global::Gtk.UIManager (); this.UIManager = new global::Gtk.UIManager();
global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default"); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default");
this.closeAction = new global::Gtk.Action ("closeAction", null, null, "gtk-close"); this.closeAction = new global::Gtk.Action("closeAction", null, null, "gtk-close");
w2.Add (this.closeAction, null); w2.Add(this.closeAction, null);
this.mediaPlayAction = new global::Gtk.Action ("mediaPlayAction", null, null, "gtk-media-play"); this.mediaPlayAction = new global::Gtk.Action("mediaPlayAction", null, null, "gtk-media-play");
w2.Add (this.mediaPlayAction, null); w2.Add(this.mediaPlayAction, null);
this.mediaPauseAction = new global::Gtk.Action ("mediaPauseAction", null, null, "gtk-media-pause"); this.mediaPauseAction = new global::Gtk.Action("mediaPauseAction", null, null, "gtk-media-pause");
w2.Add (this.mediaPauseAction, null); w2.Add(this.mediaPauseAction, null);
this.mediaStopAction = new global::Gtk.Action ("mediaStopAction", null, null, "gtk-media-stop"); this.mediaStopAction = new global::Gtk.Action("mediaStopAction", null, null, "gtk-media-stop");
w2.Add (this.mediaStopAction, null); w2.Add(this.mediaStopAction, null);
this.mediaPreviousAction = new global::Gtk.Action ("mediaPreviousAction", null, null, "gtk-media-previous"); this.mediaPreviousAction = new global::Gtk.Action("mediaPreviousAction", null, null, "gtk-media-previous");
w2.Add (this.mediaPreviousAction, null); w2.Add(this.mediaPreviousAction, null);
this.mediaRewindAction = new global::Gtk.Action ("mediaRewindAction", null, null, "gtk-media-rewind"); this.mediaRewindAction = new global::Gtk.Action("mediaRewindAction", null, null, "gtk-media-rewind");
w2.Add (this.mediaRewindAction, null); w2.Add(this.mediaRewindAction, null);
this.mediaForwardAction = new global::Gtk.Action ("mediaForwardAction", null, null, "gtk-media-forward"); this.mediaForwardAction = new global::Gtk.Action("mediaForwardAction", null, null, "gtk-media-forward");
w2.Add (this.mediaForwardAction, null); w2.Add(this.mediaForwardAction, null);
this.mediaNextAction = new global::Gtk.Action ("mediaNextAction", null, null, "gtk-media-next"); this.mediaNextAction = new global::Gtk.Action("mediaNextAction", null, null, "gtk-media-next");
w2.Add (this.mediaNextAction, null); w2.Add(this.mediaNextAction, null);
this.actAddFile = new global::Gtk.Action ("actAddFile", null, null, "gtk-add"); this.actAddFile = new global::Gtk.Action("actAddFile", null, null, "gtk-add");
w2.Add (this.actAddFile, null); w2.Add(this.actAddFile, null);
this.actDelFile = new global::Gtk.Action ("actDelFile", null, null, "gtk-remove"); this.actDelFile = new global::Gtk.Action("actDelFile", null, null, "gtk-remove");
w2.Add (this.actDelFile, null); w2.Add(this.actDelFile, null);
this.preferencesAction = new global::Gtk.Action ("preferencesAction", null, null, "gtk-preferences"); this.preferencesAction = new global::Gtk.Action("preferencesAction", null, null, "gtk-preferences");
w2.Add (this.preferencesAction, null); w2.Add(this.preferencesAction, null);
this.closeAction1 = new global::Gtk.Action ("closeAction1", null, null, "gtk-close"); this.closeAction1 = new global::Gtk.Action("closeAction1", null, null, "gtk-close");
w2.Add (this.closeAction1, null); w2.Add(this.closeAction1, null);
this.preferencesAction1 = new global::Gtk.Action ("preferencesAction1", null, null, "gtk-preferences"); this.preferencesAction1 = new global::Gtk.Action("preferencesAction1", null, null, "gtk-preferences");
w2.Add (this.preferencesAction1, null); w2.Add(this.preferencesAction1, null);
this.UIManager.InsertActionGroup (w2, 0); this.UIManager.InsertActionGroup(w2, 0);
this.Name = "DMX2.SeqSonUI"; this.Name = "DMX2.SeqSonUI";
// Container child DMX2.SeqSonUI.Gtk.Container+ContainerChild // Container child DMX2.SeqSonUI.Gtk.Container+ContainerChild
this.frame1 = new global::Gtk.Frame (); this.frame1 = new global::Gtk.Frame();
this.frame1.Name = "frame1"; this.frame1.Name = "frame1";
this.frame1.ShadowType = ((global::Gtk.ShadowType)(1)); this.frame1.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child frame1.Gtk.Container+ContainerChild // Container child frame1.Gtk.Container+ContainerChild
this.GtkAlignment = new global::Gtk.Alignment (0F, 0F, 1F, 1F); this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.Name = "GtkAlignment";
this.GtkAlignment.LeftPadding = ((uint)(12)); this.GtkAlignment.LeftPadding = ((uint)(12));
// Container child GtkAlignment.Gtk.Container+ContainerChild // Container child GtkAlignment.Gtk.Container+ContainerChild
this.vbox2 = new global::Gtk.VBox (); this.vbox2 = new global::Gtk.VBox();
this.vbox2.Name = "vbox2"; this.vbox2.Name = "vbox2";
this.vbox2.Spacing = 6; this.vbox2.Spacing = 6;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.hbox1 = new global::Gtk.HBox (); this.hbox1 = new global::Gtk.HBox();
this.hbox1.Name = "hbox1"; this.hbox1.Name = "hbox1";
this.hbox1.Spacing = 6; this.hbox1.Spacing = 6;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.vbox3 = new global::Gtk.VBox (); this.vbox3 = new global::Gtk.VBox();
this.vbox3.Name = "vbox3"; this.vbox3.Name = "vbox3";
this.vbox3.Spacing = 6; this.vbox3.Spacing = 6;
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.evBBox = new global::Gtk.EventBox (); this.evBBox = new global::Gtk.EventBox();
this.evBBox.Name = "evBBox"; this.evBBox.Name = "evBBox";
// Container child evBBox.Gtk.Container+ContainerChild // Container child evBBox.Gtk.Container+ContainerChild
this.hbox2 = new global::Gtk.HBox (); this.hbox2 = new global::Gtk.HBox();
this.hbox2.WidthRequest = 300; this.hbox2.WidthRequest = 300;
this.hbox2.Name = "hbox2"; this.hbox2.Name = "hbox2";
this.hbox2.Spacing = 6; this.hbox2.Spacing = 6;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.posLabel = new global::Gtk.Label (); this.posLabel = new global::Gtk.Label();
this.posLabel.HeightRequest = 33; this.posLabel.HeightRequest = 33;
this.posLabel.Name = "posLabel"; this.posLabel.Name = "posLabel";
this.posLabel.Xpad = 15; this.posLabel.Xpad = 15;
this.posLabel.Xalign = 0F; this.posLabel.Xalign = 0F;
this.posLabel.LabelProp = "<big>n° 0</big>"; this.posLabel.LabelProp = "<big>n° 0</big>";
this.posLabel.UseMarkup = true; this.posLabel.UseMarkup = true;
this.hbox2.Add (this.posLabel); this.hbox2.Add(this.posLabel);
global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.posLabel])); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.posLabel]));
w3.Position = 0; w3.Position = 0;
w3.Expand = false; w3.Expand = false;
w3.Fill = false; w3.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.titleLabel = new global::Gtk.Label (); this.titleLabel = new global::Gtk.Label();
this.titleLabel.Name = "titleLabel"; this.titleLabel.Name = "titleLabel";
this.titleLabel.UseMarkup = true; this.titleLabel.UseMarkup = true;
this.titleLabel.Wrap = true; this.titleLabel.Wrap = true;
this.hbox2.Add (this.titleLabel); this.hbox2.Add(this.titleLabel);
global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.titleLabel])); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.titleLabel]));
w4.Position = 1; w4.Position = 1;
w4.Fill = false; w4.Fill = false;
// Container child hbox2.Gtk.Box+BoxChild // Container child hbox2.Gtk.Box+BoxChild
this.timeLabel = new global::Gtk.Label (); this.timeLabel = new global::Gtk.Label();
this.timeLabel.HeightRequest = 33; this.timeLabel.HeightRequest = 33;
this.timeLabel.Name = "timeLabel"; this.timeLabel.Name = "timeLabel";
this.timeLabel.Xpad = 15; this.timeLabel.Xpad = 15;
this.timeLabel.LabelProp = "<small>00.0</small>"; this.timeLabel.LabelProp = "<small>00.0</small>";
this.timeLabel.UseMarkup = true; this.timeLabel.UseMarkup = true;
this.timeLabel.Justify = ((global::Gtk.Justification)(1)); this.timeLabel.Justify = ((global::Gtk.Justification)(1));
this.hbox2.Add (this.timeLabel); this.hbox2.Add(this.timeLabel);
global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.timeLabel])); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.timeLabel]));
w5.PackType = ((global::Gtk.PackType)(1)); w5.PackType = ((global::Gtk.PackType)(1));
w5.Position = 2; w5.Position = 2;
w5.Expand = false; w5.Expand = false;
w5.Fill = false; w5.Fill = false;
this.evBBox.Add (this.hbox2); this.evBBox.Add(this.hbox2);
this.vbox3.Add (this.evBBox); this.vbox3.Add(this.evBBox);
global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.evBBox])); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.evBBox]));
w7.Position = 0; w7.Position = 0;
w7.Expand = false; w7.Expand = false;
w7.Fill = false; w7.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.pbCur = new global::Gtk.ProgressBar (); this.pbCur = new global::Gtk.ProgressBar();
this.pbCur.Name = "pbCur"; this.pbCur.Name = "pbCur";
this.vbox3.Add (this.pbCur); this.vbox3.Add(this.pbCur);
global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.pbCur])); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.pbCur]));
w8.Position = 1; w8.Position = 1;
w8.Expand = false; w8.Expand = false;
w8.Fill = false; w8.Fill = false;
// Container child vbox3.Gtk.Box+BoxChild // Container child vbox3.Gtk.Box+BoxChild
this.hbox3 = new global::Gtk.HBox (); this.hbox3 = new global::Gtk.HBox();
this.hbox3.Name = "hbox3"; this.hbox3.Name = "hbox3";
this.hbox3.Spacing = 6; this.hbox3.Spacing = 6;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btnPlay = new global::Gtk.Button (); this.btnPlay = new global::Gtk.Button();
this.btnPlay.CanFocus = true; this.btnPlay.CanFocus = true;
this.btnPlay.Name = "btnPlay"; this.btnPlay.Name = "btnPlay";
this.btnPlay.UseUnderline = true; this.btnPlay.UseUnderline = true;
// Container child btnPlay.Gtk.Container+ContainerChild global::Gtk.Image w9 = new global::Gtk.Image();
global::Gtk.Alignment w9 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-play", global::Gtk.IconSize.Button);
// Container child GtkAlignment.Gtk.Container+ContainerChild this.btnPlay.Image = w9;
global::Gtk.HBox w10 = new global::Gtk.HBox (); this.hbox3.Add(this.btnPlay);
w10.Spacing = 2; global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnPlay]));
// Container child GtkHBox.Gtk.Container+ContainerChild w10.Position = 0;
global::Gtk.Image w11 = new global::Gtk.Image (); w10.Expand = false;
w11.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-play", global::Gtk.IconSize.Button); w10.Fill = false;
w10.Add (w11);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w13 = new global::Gtk.Label ();
w10.Add (w13);
w9.Add (w10);
this.btnPlay.Add (w9);
this.hbox3.Add (this.btnPlay);
global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnPlay]));
w17.Position = 0;
w17.Expand = false;
w17.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btnPause = new global::Gtk.Button (); this.btnPause = new global::Gtk.Button();
this.btnPause.CanFocus = true; this.btnPause.CanFocus = true;
this.btnPause.Name = "btnPause"; this.btnPause.Name = "btnPause";
this.btnPause.UseUnderline = true; this.btnPause.UseUnderline = true;
// Container child btnPause.Gtk.Container+ContainerChild global::Gtk.Image w11 = new global::Gtk.Image();
global::Gtk.Alignment w18 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); w11.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-pause", global::Gtk.IconSize.Button);
// Container child GtkAlignment.Gtk.Container+ContainerChild this.btnPause.Image = w11;
global::Gtk.HBox w19 = new global::Gtk.HBox (); this.hbox3.Add(this.btnPause);
w19.Spacing = 2; global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnPause]));
// Container child GtkHBox.Gtk.Container+ContainerChild w12.Position = 1;
global::Gtk.Image w20 = new global::Gtk.Image (); w12.Expand = false;
w20.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-pause", global::Gtk.IconSize.Button); w12.Fill = false;
w19.Add (w20);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w22 = new global::Gtk.Label ();
w19.Add (w22);
w18.Add (w19);
this.btnPause.Add (w18);
this.hbox3.Add (this.btnPause);
global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnPause]));
w26.Position = 1;
w26.Expand = false;
w26.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btnStop = new global::Gtk.Button (); this.btnStop = new global::Gtk.Button();
this.btnStop.CanFocus = true; this.btnStop.CanFocus = true;
this.btnStop.Name = "btnStop"; this.btnStop.Name = "btnStop";
this.btnStop.UseUnderline = true; this.btnStop.UseUnderline = true;
// Container child btnStop.Gtk.Container+ContainerChild global::Gtk.Image w13 = new global::Gtk.Image();
global::Gtk.Alignment w27 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); w13.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-stop", global::Gtk.IconSize.Button);
// Container child GtkAlignment.Gtk.Container+ContainerChild this.btnStop.Image = w13;
global::Gtk.HBox w28 = new global::Gtk.HBox (); this.hbox3.Add(this.btnStop);
w28.Spacing = 2; global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnStop]));
// Container child GtkHBox.Gtk.Container+ContainerChild w14.Position = 2;
global::Gtk.Image w29 = new global::Gtk.Image (); w14.Expand = false;
w29.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-stop", global::Gtk.IconSize.Button); w14.Fill = false;
w28.Add (w29);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w31 = new global::Gtk.Label ();
w28.Add (w31);
w27.Add (w28);
this.btnStop.Add (w27);
this.hbox3.Add (this.btnStop);
global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnStop]));
w35.Position = 2;
w35.Expand = false;
w35.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btnPrev = new global::Gtk.Button (); this.btnPrev = new global::Gtk.Button();
this.btnPrev.CanFocus = true; this.btnPrev.CanFocus = true;
this.btnPrev.Name = "btnPrev"; this.btnPrev.Name = "btnPrev";
this.btnPrev.UseUnderline = true; this.btnPrev.UseUnderline = true;
// Container child btnPrev.Gtk.Container+ContainerChild global::Gtk.Image w15 = new global::Gtk.Image();
global::Gtk.Alignment w36 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); w15.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-previous", global::Gtk.IconSize.Button);
// Container child GtkAlignment.Gtk.Container+ContainerChild this.btnPrev.Image = w15;
global::Gtk.HBox w37 = new global::Gtk.HBox (); this.hbox3.Add(this.btnPrev);
w37.Spacing = 2; global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnPrev]));
// Container child GtkHBox.Gtk.Container+ContainerChild w16.Position = 3;
global::Gtk.Image w38 = new global::Gtk.Image (); w16.Expand = false;
w38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-previous", global::Gtk.IconSize.Button); w16.Fill = false;
w37.Add (w38);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w40 = new global::Gtk.Label ();
w37.Add (w40);
w36.Add (w37);
this.btnPrev.Add (w36);
this.hbox3.Add (this.btnPrev);
global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnPrev]));
w44.Position = 3;
w44.Expand = false;
w44.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btnRewind = new global::Gtk.Button (); this.btnRewind = new global::Gtk.Button();
this.btnRewind.CanFocus = true; this.btnRewind.CanFocus = true;
this.btnRewind.Name = "btnRewind"; this.btnRewind.Name = "btnRewind";
this.btnRewind.UseUnderline = true; this.btnRewind.UseUnderline = true;
// Container child btnRewind.Gtk.Container+ContainerChild global::Gtk.Image w17 = new global::Gtk.Image();
global::Gtk.Alignment w45 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); w17.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-rewind", global::Gtk.IconSize.Button);
// Container child GtkAlignment.Gtk.Container+ContainerChild this.btnRewind.Image = w17;
global::Gtk.HBox w46 = new global::Gtk.HBox (); this.hbox3.Add(this.btnRewind);
w46.Spacing = 2; global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnRewind]));
// Container child GtkHBox.Gtk.Container+ContainerChild w18.Position = 4;
global::Gtk.Image w47 = new global::Gtk.Image (); w18.Expand = false;
w47.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-rewind", global::Gtk.IconSize.Button); w18.Fill = false;
w46.Add (w47);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w49 = new global::Gtk.Label ();
w46.Add (w49);
w45.Add (w46);
this.btnRewind.Add (w45);
this.hbox3.Add (this.btnRewind);
global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnRewind]));
w53.Position = 4;
w53.Expand = false;
w53.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btnForward = new global::Gtk.Button (); this.btnForward = new global::Gtk.Button();
this.btnForward.CanFocus = true; this.btnForward.CanFocus = true;
this.btnForward.Name = "btnForward"; this.btnForward.Name = "btnForward";
this.btnForward.UseUnderline = true; this.btnForward.UseUnderline = true;
// Container child btnForward.Gtk.Container+ContainerChild global::Gtk.Image w19 = new global::Gtk.Image();
global::Gtk.Alignment w54 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-forward", global::Gtk.IconSize.Button);
// Container child GtkAlignment.Gtk.Container+ContainerChild this.btnForward.Image = w19;
global::Gtk.HBox w55 = new global::Gtk.HBox (); this.hbox3.Add(this.btnForward);
w55.Spacing = 2; global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnForward]));
// Container child GtkHBox.Gtk.Container+ContainerChild w20.Position = 5;
global::Gtk.Image w56 = new global::Gtk.Image (); w20.Expand = false;
w56.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-forward", global::Gtk.IconSize.Button); w20.Fill = false;
w55.Add (w56);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w58 = new global::Gtk.Label ();
w55.Add (w58);
w54.Add (w55);
this.btnForward.Add (w54);
this.hbox3.Add (this.btnForward);
global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnForward]));
w62.Position = 5;
w62.Expand = false;
w62.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btnNext = new global::Gtk.Button (); this.btnNext = new global::Gtk.Button();
this.btnNext.CanFocus = true; this.btnNext.CanFocus = true;
this.btnNext.Name = "btnNext"; this.btnNext.Name = "btnNext";
this.btnNext.UseUnderline = true; this.btnNext.UseUnderline = true;
// Container child btnNext.Gtk.Container+ContainerChild global::Gtk.Image w21 = new global::Gtk.Image();
global::Gtk.Alignment w63 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-media-next", global::Gtk.IconSize.Button);
// Container child GtkAlignment.Gtk.Container+ContainerChild this.btnNext.Image = w21;
global::Gtk.HBox w64 = new global::Gtk.HBox (); this.hbox3.Add(this.btnNext);
w64.Spacing = 2; global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnNext]));
// Container child GtkHBox.Gtk.Container+ContainerChild w22.Position = 6;
global::Gtk.Image w65 = new global::Gtk.Image (); w22.Expand = false;
w65.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-media-next", global::Gtk.IconSize.Button); w22.Fill = false;
w64.Add (w65);
// Container child GtkHBox.Gtk.Container+ContainerChild
global::Gtk.Label w67 = new global::Gtk.Label ();
w64.Add (w67);
w63.Add (w64);
this.btnNext.Add (w63);
this.hbox3.Add (this.btnNext);
global::Gtk.Box.BoxChild w71 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnNext]));
w71.Position = 6;
w71.Expand = false;
w71.Fill = false;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.txtGoto = new global::Gtk.Entry (); this.txtGoto = new global::Gtk.Entry();
this.txtGoto.CanFocus = true; this.txtGoto.CanFocus = true;
this.txtGoto.Name = "txtGoto"; this.txtGoto.Name = "txtGoto";
this.txtGoto.IsEditable = true; this.txtGoto.IsEditable = true;
this.txtGoto.InvisibleChar = '•'; this.txtGoto.InvisibleChar = '•';
this.hbox3.Add (this.txtGoto); this.hbox3.Add(this.txtGoto);
global::Gtk.Box.BoxChild w72 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.txtGoto])); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.txtGoto]));
w72.Position = 7; w23.Position = 7;
// Container child hbox3.Gtk.Box+BoxChild // Container child hbox3.Gtk.Box+BoxChild
this.btnGoto = new global::Gtk.Button (); this.btnGoto = new global::Gtk.Button();
this.btnGoto.CanFocus = true; this.btnGoto.CanFocus = true;
this.btnGoto.Name = "btnGoto"; this.btnGoto.Name = "btnGoto";
this.btnGoto.UseUnderline = true; this.btnGoto.UseUnderline = true;
this.btnGoto.Label = "Cmd"; this.btnGoto.Label = "Cmd";
this.hbox3.Add (this.btnGoto); this.hbox3.Add(this.btnGoto);
global::Gtk.Box.BoxChild w73 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.btnGoto])); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.btnGoto]));
w73.Position = 8; w24.Position = 8;
w73.Expand = false; w24.Expand = false;
w73.Fill = false; w24.Fill = false;
this.vbox3.Add (this.hbox3); this.vbox3.Add(this.hbox3);
global::Gtk.Box.BoxChild w74 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
w74.Position = 2; w25.Position = 2;
w74.Expand = false; w25.Expand = false;
w74.Fill = false; w25.Fill = false;
this.hbox1.Add (this.vbox3); this.hbox1.Add(this.vbox3);
global::Gtk.Box.BoxChild w75 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox3])); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.vbox3]));
w75.Position = 0; w26.Position = 0;
// Container child hbox1.Gtk.Box+BoxChild // Container child hbox1.Gtk.Box+BoxChild
this.sclVolume = new global::Gtk.VScale (null); this.sclVolume = new global::Gtk.VScale(null);
this.sclVolume.WidthRequest = 20; this.sclVolume.WidthRequest = 20;
this.sclVolume.CanFocus = true; this.sclVolume.CanFocus = true;
this.sclVolume.Name = "sclVolume"; this.sclVolume.Name = "sclVolume";
this.sclVolume.Inverted = true; this.sclVolume.Inverted = true;
this.sclVolume.Adjustment.Upper = 100; this.sclVolume.Adjustment.Upper = 100D;
this.sclVolume.Adjustment.PageIncrement = 10; this.sclVolume.Adjustment.PageIncrement = 10D;
this.sclVolume.Adjustment.StepIncrement = 1; this.sclVolume.Adjustment.StepIncrement = 1D;
this.sclVolume.Adjustment.Value = 100; this.sclVolume.Adjustment.Value = 100D;
this.sclVolume.DrawValue = true; this.sclVolume.DrawValue = true;
this.sclVolume.Digits = 0; this.sclVolume.Digits = 0;
this.sclVolume.ValuePos = ((global::Gtk.PositionType)(3)); this.sclVolume.ValuePos = ((global::Gtk.PositionType)(3));
this.hbox1.Add (this.sclVolume); this.hbox1.Add(this.sclVolume);
global::Gtk.Box.BoxChild w76 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.sclVolume])); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.sclVolume]));
w76.Position = 1; w27.Position = 1;
w76.Expand = false; w27.Expand = false;
w76.Fill = false; w27.Fill = false;
// Container child hbox1.Gtk.Box+BoxChild // 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' action='actDelFile'/></toolbar></ui>"); this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar4\'><toolitem name=\'closeAction1\' action=\'closeAction1\'/" +
this.toolbar4 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/toolbar4"))); "><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.Name = "toolbar4";
this.toolbar4.Orientation = ((global::Gtk.Orientation)(1)); this.toolbar4.Orientation = ((global::Gtk.Orientation)(1));
this.toolbar4.ShowArrow = false; this.toolbar4.ShowArrow = false;
this.toolbar4.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar4.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
this.toolbar4.IconSize = ((global::Gtk.IconSize)(2)); this.toolbar4.IconSize = ((global::Gtk.IconSize)(2));
this.hbox1.Add (this.toolbar4); this.hbox1.Add(this.toolbar4);
global::Gtk.Box.BoxChild w77 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.toolbar4])); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.toolbar4]));
w77.Position = 2; w28.Position = 2;
w77.Expand = false; w28.Expand = false;
w77.Fill = false; w28.Fill = false;
this.vbox2.Add (this.hbox1); this.vbox2.Add(this.hbox1);
global::Gtk.Box.BoxChild w78 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
w78.Position = 0; w29.Position = 0;
w78.Expand = false; w29.Expand = false;
w78.Fill = false; w29.Fill = false;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.GtkScrolledWindow = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow = new global::Gtk.ScrolledWindow();
this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.Name = "GtkScrolledWindow";
this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
// Container child GtkScrolledWindow.Gtk.Container+ContainerChild // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
this.listFiles = new global::Gtk.NodeView (); this.listFiles = new global::Gtk.NodeView();
this.listFiles.CanFocus = true; this.listFiles.CanFocus = true;
this.listFiles.Name = "listFiles"; this.listFiles.Name = "listFiles";
this.listFiles.RulesHint = true; this.listFiles.RulesHint = true;
this.GtkScrolledWindow.Add (this.listFiles); this.GtkScrolledWindow.Add(this.listFiles);
this.vbox2.Add (this.GtkScrolledWindow); this.vbox2.Add(this.GtkScrolledWindow);
global::Gtk.Box.BoxChild w80 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.GtkScrolledWindow])); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.GtkScrolledWindow]));
w80.Position = 1; w31.Position = 1;
// Container child vbox2.Gtk.Box+BoxChild // Container child vbox2.Gtk.Box+BoxChild
this.label1 = new global::Gtk.Label (); this.label1 = new global::Gtk.Label();
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Xalign = 0F; 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.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.label1.UseMarkup = true;
this.vbox2.Add (this.label1); this.vbox2.Add(this.label1);
global::Gtk.Box.BoxChild w81 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label1])); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1]));
w81.Position = 2; w32.Position = 2;
w81.Expand = false; w32.Expand = false;
w81.Fill = false; w32.Fill = false;
this.GtkAlignment.Add (this.vbox2); this.GtkAlignment.Add(this.vbox2);
this.frame1.Add (this.GtkAlignment); this.frame1.Add(this.GtkAlignment);
this.titreLabel = new global::Gtk.Label (); this.titreLabel = new global::Gtk.Label();
this.titreLabel.Name = "titreLabel"; this.titreLabel.Name = "titreLabel";
this.titreLabel.LabelProp = "Sequenceur Son"; this.titreLabel.LabelProp = "Sequenceur Son";
this.titreLabel.UseMarkup = true; this.titreLabel.UseMarkup = true;
this.frame1.LabelWidget = this.titreLabel; this.frame1.LabelWidget = this.titreLabel;
this.Add (this.frame1); this.Add(this.frame1);
if ((this.Child != null)) { if ((this.Child != null))
this.Child.ShowAll (); {
this.Child.ShowAll();
} }
w1.SetUiManager (UIManager); w1.SetUiManager(UIManager);
this.Hide (); this.Hide();
this.actAddFile.Activated += new global::System.EventHandler (this.OnActAddFileActivated); this.actAddFile.Activated += new global::System.EventHandler(this.OnActAddFileActivated);
this.actDelFile.Activated += new global::System.EventHandler (this.OnActDelFileActivated); this.actDelFile.Activated += new global::System.EventHandler(this.OnActDelFileActivated);
this.btnPlay.Clicked += new global::System.EventHandler (this.OnBtnPlayClicked); this.btnPlay.Clicked += new global::System.EventHandler(this.OnBtnPlayClicked);
this.btnPause.Clicked += new global::System.EventHandler (this.OnBtnPauseClicked); this.btnPause.Clicked += new global::System.EventHandler(this.OnBtnPauseClicked);
this.btnStop.Clicked += new global::System.EventHandler (this.OnBtnStopClicked); this.btnStop.Clicked += new global::System.EventHandler(this.OnBtnStopClicked);
this.btnPrev.Clicked += new global::System.EventHandler (this.OnBtnPrevClicked); this.btnPrev.Clicked += new global::System.EventHandler(this.OnBtnPrevClicked);
this.btnRewind.Pressed += new global::System.EventHandler (this.OnBtnRewindPressed); this.btnRewind.Pressed += new global::System.EventHandler(this.OnBtnRewindPressed);
this.btnRewind.Released += new global::System.EventHandler (this.OnBtnRewindReleased); this.btnRewind.Released += new global::System.EventHandler(this.OnBtnRewindReleased);
this.btnForward.Pressed += new global::System.EventHandler (this.OnBtnForwardPressed); this.btnForward.Pressed += new global::System.EventHandler(this.OnBtnForwardPressed);
this.btnForward.Released += new global::System.EventHandler (this.OnBtnForwardReleased); this.btnForward.Released += new global::System.EventHandler(this.OnBtnForwardReleased);
this.btnNext.Clicked += new global::System.EventHandler (this.OnBtnNextClicked); this.btnNext.Clicked += new global::System.EventHandler(this.OnBtnNextClicked);
this.btnGoto.Clicked += new global::System.EventHandler (this.OnBtnGotoClicked); this.btnGoto.Clicked += new global::System.EventHandler(this.OnBtnGotoClicked);
this.sclVolume.ValueChanged += new global::System.EventHandler (this.OnSclVolumeValueChanged); this.sclVolume.ValueChanged += new global::System.EventHandler(this.OnSclVolumeValueChanged);
this.listFiles.CursorChanged += new global::System.EventHandler (this.OnListFilesCursorChanged); this.listFiles.CursorChanged += new global::System.EventHandler(this.OnListFilesCursorChanged);
} }
} }
} }

View file

@ -6,114 +6,124 @@ namespace Stetic
{ {
private static bool initialized; private static bool initialized;
internal static void Initialize (Gtk.Widget iconRenderer) internal static void Initialize(Gtk.Widget iconRenderer)
{ {
if ((Stetic.Gui.initialized == false)) { if ((Stetic.Gui.initialized == false))
{
Stetic.Gui.initialized = true; Stetic.Gui.initialized = true;
global::Gtk.IconFactory w1 = new global::Gtk.IconFactory (); global::Gtk.IconFactory w1 = new global::Gtk.IconFactory();
global::Gtk.IconSet w2 = new global::Gtk.IconSet (); global::Gtk.IconSet w2 = new global::Gtk.IconSet();
global::Gtk.IconSource w3 = new global::Gtk.IconSource (); global::Gtk.IconSource w3 = new global::Gtk.IconSource();
w3.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.16.png"); w3.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.ictir.16.png");
w3.SizeWildcarded = false; w3.SizeWildcarded = false;
w3.Size = global::Gtk.IconSize.SmallToolbar; w3.Size = global::Gtk.IconSize.SmallToolbar;
w2.AddSource (w3); w2.AddSource(w3);
global::Gtk.IconSource w4 = new global::Gtk.IconSource (); global::Gtk.IconSource w4 = new global::Gtk.IconSource();
w4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.24.png"); w4.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.ictir.24.png");
w4.SizeWildcarded = false; w4.SizeWildcarded = false;
w4.Size = global::Gtk.IconSize.LargeToolbar; w4.Size = global::Gtk.IconSize.LargeToolbar;
w2.AddSource (w4); w2.AddSource(w4);
global::Gtk.IconSource w5 = new global::Gtk.IconSource (); global::Gtk.IconSource w5 = new global::Gtk.IconSource();
w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.32.png"); w5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.ictir.32.png");
w5.SizeWildcarded = false; w5.SizeWildcarded = false;
w5.Size = global::Gtk.IconSize.Dnd; w5.Size = global::Gtk.IconSize.Dnd;
w2.AddSource (w5); w2.AddSource(w5);
global::Gtk.IconSource w6 = new global::Gtk.IconSource (); global::Gtk.IconSource w6 = new global::Gtk.IconSource();
w6.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.48.png"); w6.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.ictir.48.png");
w6.SizeWildcarded = false; w6.SizeWildcarded = false;
w6.Size = global::Gtk.IconSize.Dialog; w6.Size = global::Gtk.IconSize.Dialog;
w2.AddSource (w6); w2.AddSource(w6);
global::Gtk.IconSource w7 = new global::Gtk.IconSource (); global::Gtk.IconSource w7 = new global::Gtk.IconSource();
w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.16.png"); w7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.ictir.16.png");
w7.SizeWildcarded = false; w7.SizeWildcarded = false;
w7.Size = global::Gtk.IconSize.Button; w7.Size = global::Gtk.IconSize.Button;
w2.AddSource (w7); w2.AddSource(w7);
global::Gtk.IconSource w8 = new global::Gtk.IconSource (); global::Gtk.IconSource w8 = new global::Gtk.IconSource();
w8.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.ictir.16.png"); w8.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.ictir.16.png");
w8.SizeWildcarded = false; w8.SizeWildcarded = false;
w8.Size = global::Gtk.IconSize.Menu; w8.Size = global::Gtk.IconSize.Menu;
w2.AddSource (w8); w2.AddSource(w8);
w1.Add ("tirettes", w2); w1.Add("tirettes", w2);
global::Gtk.IconSet w9 = new global::Gtk.IconSet (); global::Gtk.IconSet w9 = new global::Gtk.IconSet();
global::Gtk.IconSource w10 = new global::Gtk.IconSource (); global::Gtk.IconSource w10 = new global::Gtk.IconSource();
w10.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.16.png"); w10.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.docListe.16.png");
w10.SizeWildcarded = false; w10.SizeWildcarded = false;
w10.Size = global::Gtk.IconSize.Menu; w10.Size = global::Gtk.IconSize.Menu;
w9.AddSource (w10); w9.AddSource(w10);
global::Gtk.IconSource w11 = new global::Gtk.IconSource (); global::Gtk.IconSource w11 = new global::Gtk.IconSource();
w11.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.48.png"); w11.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.docListe.48.png");
w11.SizeWildcarded = false; w11.SizeWildcarded = false;
w11.Size = global::Gtk.IconSize.Dialog; w11.Size = global::Gtk.IconSize.Dialog;
w9.AddSource (w11); w9.AddSource(w11);
global::Gtk.IconSource w12 = new global::Gtk.IconSource (); global::Gtk.IconSource w12 = new global::Gtk.IconSource();
w12.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.16.png"); w12.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.docListe.16.png");
w12.SizeWildcarded = false; w12.SizeWildcarded = false;
w12.Size = global::Gtk.IconSize.Button; w12.Size = global::Gtk.IconSize.Button;
w9.AddSource (w12); w9.AddSource(w12);
global::Gtk.IconSource w13 = new global::Gtk.IconSource (); global::Gtk.IconSource w13 = new global::Gtk.IconSource();
w13.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.24.png"); w13.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.docListe.24.png");
w13.SizeWildcarded = false; w13.SizeWildcarded = false;
w13.Size = global::Gtk.IconSize.LargeToolbar; w13.Size = global::Gtk.IconSize.LargeToolbar;
w9.AddSource (w13); w9.AddSource(w13);
global::Gtk.IconSource w14 = new global::Gtk.IconSource (); global::Gtk.IconSource w14 = new global::Gtk.IconSource();
w14.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.16.png"); w14.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.docListe.16.png");
w14.SizeWildcarded = false; w14.SizeWildcarded = false;
w14.Size = global::Gtk.IconSize.SmallToolbar; w14.Size = global::Gtk.IconSize.SmallToolbar;
w9.AddSource (w14); w9.AddSource(w14);
global::Gtk.IconSource w15 = new global::Gtk.IconSource (); global::Gtk.IconSource w15 = new global::Gtk.IconSource();
w15.Pixbuf = global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.docListe.32.png"); w15.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.docListe.32.png");
w15.SizeWildcarded = false; w15.SizeWildcarded = false;
w15.Size = global::Gtk.IconSize.Dnd; w15.Size = global::Gtk.IconSize.Dnd;
w9.AddSource (w15); w9.AddSource(w15);
w1.Add ("circuits", w9); w1.Add("circuits", w9);
global::Gtk.IconSet w16 = new global::Gtk.IconSet (global::Gdk.Pixbuf.LoadFromResource ("DMX2.icons.midiseq.audio-x-generic.svg")); global::Gtk.IconSet w16 = new global::Gtk.IconSet(global::Gdk.Pixbuf.LoadFromResource("DMX2.icons.midiseq.audio-x-generic.svg"));
w1.Add ("MidiSeq", w16); w1.Add("MidiSeq", w16);
w1.AddDefault (); w1.AddDefault();
} }
} }
} }
internal class IconLoader internal class IconLoader
{ {
public static Gdk.Pixbuf LoadIcon (Gtk.Widget widget, string name, Gtk.IconSize size) public static Gdk.Pixbuf LoadIcon(Gtk.Widget widget, string name, Gtk.IconSize size)
{ {
Gdk.Pixbuf res = widget.RenderIcon (name, size, null); Gdk.Pixbuf res = widget.RenderIcon(name, size, null);
if ((res != null)) { if ((res != null))
{
return res; return res;
} else { }
else
{
int sz; int sz;
int sy; int sy;
global::Gtk.Icon.SizeLookup (size, out sz, out sy); global::Gtk.Icon.SizeLookup(size, out sz, out sy);
try { try
return Gtk.IconTheme.Default.LoadIcon (name, sz, 0); {
} catch (System.Exception) { return Gtk.IconTheme.Default.LoadIcon(name, sz, 0);
if ((name != "gtk-missing-image")) { }
return Stetic.IconLoader.LoadIcon (widget, "gtk-missing-image", size); catch (System.Exception)
} else { {
Gdk.Pixmap pmap = new Gdk.Pixmap (Gdk.Screen.Default.RootWindow, sz, sz); if ((name != "gtk-missing-image"))
Gdk.GC gc = new Gdk.GC (pmap); {
gc.RgbFgColor = new Gdk.Color (255, 255, 255); return Stetic.IconLoader.LoadIcon(widget, "gtk-missing-image", size);
pmap.DrawRectangle (gc, true, 0, 0, sz, sz); }
gc.RgbFgColor = new Gdk.Color (0, 0, 0); else
pmap.DrawRectangle (gc, false, 0, 0, (sz - 1), (sz - 1)); {
gc.SetLineAttributes (3, Gdk.LineStyle.Solid, Gdk.CapStyle.Round, Gdk.JoinStyle.Round); Gdk.Pixmap pmap = new Gdk.Pixmap(Gdk.Screen.Default.RootWindow, sz, sz);
gc.RgbFgColor = new Gdk.Color (255, 0, 0); Gdk.GC gc = new Gdk.GC(pmap);
pmap.DrawLine (gc, (sz / 4), (sz / 4), ((sz - 1) gc.RgbFgColor = new Gdk.Color(255, 255, 255);
- (sz / 4)), ((sz - 1) pmap.DrawRectangle(gc, true, 0, 0, sz, sz);
- (sz / 4))); gc.RgbFgColor = new Gdk.Color(0, 0, 0);
pmap.DrawLine (gc, ((sz - 1) pmap.DrawRectangle(gc, false, 0, 0, (sz - 1), (sz - 1));
- (sz / 4)), (sz / 4), (sz / 4), ((sz - 1) gc.SetLineAttributes(3, Gdk.LineStyle.Solid, Gdk.CapStyle.Round, Gdk.JoinStyle.Round);
- (sz / 4))); gc.RgbFgColor = new Gdk.Color(255, 0, 0);
return Gdk.Pixbuf.FromDrawable (pmap, pmap.Colormap, 0, 0, 0, 0, sz, sz); pmap.DrawLine(gc, (sz / 4), (sz / 4), ((sz - 1)
- (sz / 4)), ((sz - 1)
- (sz / 4)));
pmap.DrawLine(gc, ((sz - 1)
- (sz / 4)), (sz / 4), (sz / 4), ((sz - 1)
- (sz / 4)));
return Gdk.Pixbuf.FromDrawable(pmap, pmap.Colormap, 0, 0, 0, 0, sz, sz);
} }
} }
} }
@ -123,51 +133,55 @@ namespace Stetic
internal class BinContainer internal class BinContainer
{ {
private Gtk.Widget child; private Gtk.Widget child;
private Gtk.UIManager uimanager; private Gtk.UIManager uimanager;
public static BinContainer Attach (Gtk.Bin bin) public static BinContainer Attach(Gtk.Bin bin)
{ {
BinContainer bc = new BinContainer (); BinContainer bc = new BinContainer();
bin.SizeRequested += new Gtk.SizeRequestedHandler (bc.OnSizeRequested); bin.SizeRequested += new Gtk.SizeRequestedHandler(bc.OnSizeRequested);
bin.SizeAllocated += new Gtk.SizeAllocatedHandler (bc.OnSizeAllocated); bin.SizeAllocated += new Gtk.SizeAllocatedHandler(bc.OnSizeAllocated);
bin.Added += new Gtk.AddedHandler (bc.OnAdded); bin.Added += new Gtk.AddedHandler(bc.OnAdded);
return bc; return bc;
} }
private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args) private void OnSizeRequested(object sender, Gtk.SizeRequestedArgs args)
{ {
if ((this.child != null)) { if ((this.child != null))
args.Requisition = this.child.SizeRequest (); {
args.Requisition = this.child.SizeRequest();
} }
} }
private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args) private void OnSizeAllocated(object sender, Gtk.SizeAllocatedArgs args)
{ {
if ((this.child != null)) { if ((this.child != null))
{
this.child.Allocation = args.Allocation; this.child.Allocation = args.Allocation;
} }
} }
private void OnAdded (object sender, Gtk.AddedArgs args) private void OnAdded(object sender, Gtk.AddedArgs args)
{ {
this.child = args.Widget; this.child = args.Widget;
} }
public void SetUiManager (Gtk.UIManager uim) public void SetUiManager(Gtk.UIManager uim)
{ {
this.uimanager = uim; this.uimanager = uim;
this.child.Realized += new System.EventHandler (this.OnRealized); this.child.Realized += new System.EventHandler(this.OnRealized);
} }
private void OnRealized (object sender, System.EventArgs args) private void OnRealized(object sender, System.EventArgs args)
{ {
if ((this.uimanager != null)) { if ((this.uimanager != null))
{
Gtk.Widget w; Gtk.Widget w;
w = this.child.Toplevel; w = this.child.Toplevel;
if (((w != null) if (((w != null)
&& typeof(Gtk.Window).IsInstanceOfType (w))) { && typeof(Gtk.Window).IsInstanceOfType(w)))
((Gtk.Window)(w)).AddAccelGroup (this.uimanager.AccelGroup); {
((Gtk.Window)(w)).AddAccelGroup(this.uimanager.AccelGroup);
this.uimanager = null; this.uimanager = null;
} }
} }
@ -176,12 +190,12 @@ namespace Stetic
internal class ActionGroups internal class ActionGroups
{ {
public static Gtk.ActionGroup GetActionGroup (System.Type type) public static Gtk.ActionGroup GetActionGroup(System.Type type)
{ {
return Stetic.ActionGroups.GetActionGroup (type.FullName); return Stetic.ActionGroups.GetActionGroup(type.FullName);
} }
public static Gtk.ActionGroup GetActionGroup (string name) public static Gtk.ActionGroup GetActionGroup(string name)
{ {
return null; return null;
} }

View file

@ -770,7 +770,7 @@ page</property>
</widget> </widget>
</child> </child>
<child internal-child="ActionArea"> <child internal-child="ActionArea">
<widget class="Gtk.HButtonBox" id="dialog1_ActionArea"> <widget class="Gtk.HButtonBox" id="dialog_ActionArea">
<property name="MemberName" /> <property name="MemberName" />
<property name="Spacing">10</property> <property name="Spacing">10</property>
<property name="BorderWidth">5</property> <property name="BorderWidth">5</property>
@ -1180,7 +1180,7 @@ au sequenceur</property>
</packing> </packing>
</child> </child>
<child> <child>
<widget class="Gtk.VButtonBox" id="vbuttonbox1"> <widget class="Gtk.VButtonBox" id="vbuttonbox">
<property name="MemberName" /> <property name="MemberName" />
<property name="Size">6</property> <property name="Size">6</property>
<property name="LayoutStyle">Start</property> <property name="LayoutStyle">Start</property>
@ -1371,7 +1371,7 @@ au sequenceur</property>
<property name="MemberName" /> <property name="MemberName" />
<property name="Spacing">6</property> <property name="Spacing">6</property>
<child> <child>
<widget class="Gtk.Label" id="label1"> <widget class="Gtk.Label" id="labelU">
<property name="MemberName" /> <property name="MemberName" />
<property name="LabelProp" translatable="yes">Univers :</property> <property name="LabelProp" translatable="yes">Univers :</property>
</widget> </widget>
@ -2416,19 +2416,48 @@ r: loop</property>
</packing> </packing>
</child> </child>
<child> <child>
<widget class="Gtk.Toolbar" id="toolbar"> <widget class="Gtk.HBox" id="hbox3">
<property name="MemberName" /> <property name="MemberName" />
<property name="ShowArrow">False</property> <property name="Spacing">6</property>
<property name="ButtonStyle">Icons</property> <child>
<property name="IconSize">SmallToolbar</property> <widget class="Gtk.Toolbar" id="toolbar">
<node name="toolbar" type="Toolbar"> <property name="MemberName" />
<node type="Toolitem" action="goForwardAction" /> <property name="ShowArrow">False</property>
<node type="Toolitem" action="goBackAction" /> <property name="ButtonStyle">Icons</property>
<node type="Toolitem" action="mediaPauseAction" /> <property name="IconSize">SmallToolbar</property>
<node type="Toolitem" action="btnAjoutLigne" /> <node name="toolbar" type="Toolbar">
<node type="Toolitem" action="btnRetireligne" /> <node type="Toolitem" action="goForwardAction" />
<node type="Toolitem" action="Action" /> <node type="Toolitem" action="goBackAction" />
</node> <node type="Toolitem" action="mediaPauseAction" />
<node type="Toolitem" action="btnAjoutLigne" />
<node type="Toolitem" action="btnRetireligne" />
<node type="Toolitem" action="Action" />
</node>
</widget>
<packing>
<property name="Position">0</property>
<property name="AutoSize">True</property>
</packing>
</child>
<child>
<placeholder />
</child>
<child>
<widget class="Gtk.Entry" id="entryDest">
<property name="MemberName" />
<property name="WidthRequest">220</property>
<property name="CanFocus">True</property>
<property name="IsEditable">True</property>
<property name="InvisibleChar">●</property>
<signal name="Changed" handler="OnEntryDestChanged" />
</widget>
<packing>
<property name="Position">2</property>
<property name="AutoSize">False</property>
<property name="Expand">False</property>
<property name="Fill">False</property>
</packing>
</child>
</widget> </widget>
<packing> <packing>
<property name="Position">1</property> <property name="Position">1</property>
@ -2498,7 +2527,7 @@ r: loop</property>
<child> <child>
<widget class="Gtk.Label" id="titreLabel"> <widget class="Gtk.Label" id="titreLabel">
<property name="MemberName" /> <property name="MemberName" />
<property name="LabelProp" translatable="yes">Séquenceur Midi</property> <property name="LabelProp" translatable="yes">Séquenceur OSC</property>
<property name="UseMarkup">True</property> <property name="UseMarkup">True</property>
</widget> </widget>
<packing> <packing>
@ -2670,7 +2699,7 @@ r: loop</property>
<property name="MemberName" /> <property name="MemberName" />
<property name="Spacing">6</property> <property name="Spacing">6</property>
<child> <child>
<widget class="Gtk.Label" id="label1"> <widget class="Gtk.Label" id="labelT">
<property name="MemberName" /> <property name="MemberName" />
<property name="LabelProp" translatable="yes">Driver Boitier V1</property> <property name="LabelProp" translatable="yes">Driver Boitier V1</property>
</widget> </widget>
@ -2822,7 +2851,7 @@ r: loop</property>
<property name="MemberName" /> <property name="MemberName" />
<property name="Spacing">6</property> <property name="Spacing">6</property>
<child> <child>
<widget class="Gtk.Label" id="label1"> <widget class="Gtk.Label" id="labelT">
<property name="MemberName" /> <property name="MemberName" />
<property name="LabelProp" translatable="yes">Driver V2</property> <property name="LabelProp" translatable="yes">Driver V2</property>
</widget> </widget>
@ -3200,7 +3229,7 @@ r: loop</property>
<property name="MemberName" /> <property name="MemberName" />
<property name="BorderWidth">2</property> <property name="BorderWidth">2</property>
<child> <child>
<widget class="Gtk.Label" id="label1"> <widget class="Gtk.Label" id="labelA">
<property name="MemberName" /> <property name="MemberName" />
<property name="LabelProp" translatable="yes">Loupiottes <property name="LabelProp" translatable="yes">Loupiottes
@ -3247,7 +3276,7 @@ Licence : GPL V2</property>
</widget> </widget>
</child> </child>
</widget> </widget>
<widget class="Gtk.Bin" id="DMX2.DriverBoitierV3UI" design-size="546 300"> <widget class="Gtk.Bin" id="DMX2.DriverBoitierV3UI" design-size="548 300">
<property name="MemberName" /> <property name="MemberName" />
<property name="Visible">False</property> <property name="Visible">False</property>
<child> <child>
@ -3255,7 +3284,7 @@ Licence : GPL V2</property>
<property name="MemberName" /> <property name="MemberName" />
<property name="Spacing">6</property> <property name="Spacing">6</property>
<child> <child>
<widget class="Gtk.Label" id="label1"> <widget class="Gtk.Label" id="labelT">
<property name="MemberName" /> <property name="MemberName" />
<property name="LabelProp" translatable="yes">Driver V3</property> <property name="LabelProp" translatable="yes">Driver V3</property>
</widget> </widget>
@ -3997,7 +4026,7 @@ trames DMX (ms)</property>
</widget> </widget>
</child> </child>
<child> <child>
<widget class="Gtk.Label" id="GtkLabel6"> <widget class="Gtk.Label" id="GtkLabelT">
<property name="MemberName" /> <property name="MemberName" />
<property name="LabelProp" translatable="yes">&lt;b&gt;Options Midi&lt;/b&gt;</property> <property name="LabelProp" translatable="yes">&lt;b&gt;Options Midi&lt;/b&gt;</property>
<property name="UseMarkup">True</property> <property name="UseMarkup">True</property>