123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708 |
-
- // This file has been generated by the GUI designer. Do not modify.
-
- public partial class MainWindow
- {
- private global::Gtk.UIManager UIManager;
-
- private global::Gtk.Action FileAction;
-
- private global::Gtk.Action QuitAction;
-
- private global::Gtk.Action LogAction;
-
- private global::Gtk.Action ShowLogWindowAction;
-
- private global::Gtk.VBox vbox1;
-
- private global::Gtk.MenuBar menuBar;
-
- private global::Gtk.HBox hbox1;
-
- private global::Gtk.VBox boxCamera;
-
- private global::Gtk.HBox hbox2;
-
- private global::Gtk.Alignment alignment1;
-
- private global::Gtk.HBox hbox5;
-
- private global::Gtk.CheckButton checkButtonCameraOn;
-
- private global::Gtk.CheckButton checkButtonRobotPosition;
-
- private global::Gtk.CheckButton checkButtonFPS;
-
- private global::Gtk.Button buttonAskArena;
-
- private global::Gtk.DrawingArea drawingAreaCamera;
-
- private global::Gtk.HBox hbox3;
-
- private global::Gtk.VSeparator vseparator1;
-
- private global::Gtk.Alignment alignment3;
-
- private global::Gtk.VBox vbox5;
-
- private global::Gtk.VBox vbox10;
-
- private global::Gtk.Label labelServer;
-
- private global::Gtk.Alignment gtkAlignmentServer;
-
- private global::Gtk.VBox vbox6;
-
- private global::Gtk.Table table1;
-
- private global::Gtk.Entry entryServerName;
-
- private global::Gtk.Entry entryServerPort;
-
- private global::Gtk.Entry entryTimeout;
-
- private global::Gtk.Label label1;
-
- private global::Gtk.Label label2;
-
- private global::Gtk.Label label5;
-
- private global::Gtk.Button buttonServerConnection;
-
- private global::Gtk.HSeparator hseparator1;
-
- private global::Gtk.VBox vbox11;
-
- private global::Gtk.Label labelRobot;
-
- private global::Gtk.Alignment alignment9;
-
- private global::Gtk.Alignment gtkAlignmentRobot;
-
- private global::Gtk.VBox vbox8;
-
- private global::Gtk.Alignment alignment6;
-
- private global::Gtk.HBox hbox4;
-
- private global::Gtk.RadioButton radioButtonWithWatchdog;
-
- private global::Gtk.RadioButton radioButtonWithoutWatchdog;
-
- private global::Gtk.Alignment alignment5;
-
- private global::Gtk.Alignment alignment7;
-
- private global::Gtk.Button buttonRobotActivation;
-
- private global::Gtk.HSeparator hseparator2;
-
- private global::Gtk.VBox vbox12;
-
- private global::Gtk.Label labelRobotControl;
-
- private global::Gtk.Alignment gtkAlignmentRobotControl;
-
- private global::Gtk.VBox vbox9;
-
- private global::Gtk.Alignment alignment8;
-
- private global::Gtk.Table table4;
-
- private global::Gtk.Button buttonDown;
-
- private global::Gtk.Button buttonForward;
-
- private global::Gtk.Button buttonLeft;
-
- private global::Gtk.Button buttonRight;
-
- private global::Gtk.Button buttonStop;
-
- private global::Gtk.Table table3;
-
- private global::Gtk.Label label3;
-
- private global::Gtk.Label labelBatteryLevel;
-
- private global::Gtk.CheckButton checkButtonGetBattery;
-
- protected virtual void Build()
- {
- global::Stetic.Gui.Initialize(this);
- // Widget MainWindow
- this.UIManager = new global::Gtk.UIManager();
- global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
- this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
- this.FileAction.IsImportant = true;
- this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
- w1.Add(this.FileAction, null);
- this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("Quit..."), null, null);
- this.QuitAction.IsImportant = true;
- this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit");
- w1.Add(this.QuitAction, "<Primary><Mod2>q");
- this.LogAction = new global::Gtk.Action("LogAction", global::Mono.Unix.Catalog.GetString("Log"), null, null);
- this.LogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Log");
- w1.Add(this.LogAction, null);
- this.ShowLogWindowAction = new global::Gtk.Action("ShowLogWindowAction", global::Mono.Unix.Catalog.GetString("Show log window"), null, null);
- this.ShowLogWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show log window");
- w1.Add(this.ShowLogWindowAction, "<Primary><Mod2>s");
- this.UIManager.InsertActionGroup(w1, 0);
- this.AddAccelGroup(this.UIManager.AccelGroup);
- this.Name = "MainWindow";
- this.Title = global::Mono.Unix.Catalog.GetString("Monitor UI");
- this.Icon = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.robot-icon.resized.png");
- this.WindowPosition = ((global::Gtk.WindowPosition)(4));
- this.BorderWidth = ((uint)(5));
- // Container child MainWindow.Gtk.Container+ContainerChild
- this.vbox1 = new global::Gtk.VBox();
- this.vbox1.Name = "vbox1";
- this.vbox1.Spacing = 6;
- // Container child vbox1.Gtk.Box+BoxChild
- this.UIManager.AddUiFromString(@"<ui><menubar name='menuBar'><menu name='FileAction' action='FileAction'><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='LogAction' action='LogAction'><menuitem name='ShowLogWindowAction' action='ShowLogWindowAction'/></menu></menubar></ui>");
- this.menuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menuBar")));
- this.menuBar.Name = "menuBar";
- this.vbox1.Add(this.menuBar);
- global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menuBar]));
- w2.Position = 0;
- w2.Expand = false;
- w2.Fill = false;
- // Container child vbox1.Gtk.Box+BoxChild
- this.hbox1 = new global::Gtk.HBox();
- this.hbox1.Name = "hbox1";
- this.hbox1.Spacing = 6;
- // Container child hbox1.Gtk.Box+BoxChild
- this.boxCamera = new global::Gtk.VBox();
- this.boxCamera.Name = "boxCamera";
- this.boxCamera.Spacing = 6;
- // Container child boxCamera.Gtk.Box+BoxChild
- this.hbox2 = new global::Gtk.HBox();
- this.hbox2.Name = "hbox2";
- this.hbox2.Spacing = 6;
- // Container child hbox2.Gtk.Box+BoxChild
- this.alignment1 = new global::Gtk.Alignment(0F, 0.5F, 0F, 1F);
- this.alignment1.Name = "alignment1";
- this.alignment1.BorderWidth = ((uint)(6));
- // Container child alignment1.Gtk.Container+ContainerChild
- this.hbox5 = new global::Gtk.HBox();
- this.hbox5.Name = "hbox5";
- this.hbox5.Spacing = 6;
- // Container child hbox5.Gtk.Box+BoxChild
- this.checkButtonCameraOn = new global::Gtk.CheckButton();
- this.checkButtonCameraOn.CanFocus = true;
- this.checkButtonCameraOn.Name = "checkButtonCameraOn";
- this.checkButtonCameraOn.Label = global::Mono.Unix.Catalog.GetString("Camera On");
- this.checkButtonCameraOn.DrawIndicator = true;
- this.checkButtonCameraOn.UseUnderline = true;
- this.hbox5.Add(this.checkButtonCameraOn);
- global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonCameraOn]));
- w3.Position = 0;
- // Container child hbox5.Gtk.Box+BoxChild
- this.checkButtonRobotPosition = new global::Gtk.CheckButton();
- this.checkButtonRobotPosition.CanFocus = true;
- this.checkButtonRobotPosition.Name = "checkButtonRobotPosition";
- this.checkButtonRobotPosition.Label = global::Mono.Unix.Catalog.GetString("Show Position");
- this.checkButtonRobotPosition.DrawIndicator = true;
- this.checkButtonRobotPosition.UseUnderline = true;
- this.hbox5.Add(this.checkButtonRobotPosition);
- global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonRobotPosition]));
- w4.Position = 1;
- // Container child hbox5.Gtk.Box+BoxChild
- this.checkButtonFPS = new global::Gtk.CheckButton();
- this.checkButtonFPS.CanFocus = true;
- this.checkButtonFPS.Name = "checkButtonFPS";
- this.checkButtonFPS.Label = global::Mono.Unix.Catalog.GetString("Show FPS");
- this.checkButtonFPS.DrawIndicator = true;
- this.checkButtonFPS.UseUnderline = true;
- this.hbox5.Add(this.checkButtonFPS);
- global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonFPS]));
- w5.Position = 2;
- this.alignment1.Add(this.hbox5);
- this.hbox2.Add(this.alignment1);
- global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.alignment1]));
- w7.Position = 0;
- // Container child hbox2.Gtk.Box+BoxChild
- this.buttonAskArena = new global::Gtk.Button();
- this.buttonAskArena.CanFocus = true;
- this.buttonAskArena.Name = "buttonAskArena";
- this.buttonAskArena.UseUnderline = true;
- this.buttonAskArena.Label = global::Mono.Unix.Catalog.GetString("Ask Arena...");
- this.hbox2.Add(this.buttonAskArena);
- global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonAskArena]));
- w8.Position = 2;
- w8.Expand = false;
- w8.Fill = false;
- this.boxCamera.Add(this.hbox2);
- global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.boxCamera[this.hbox2]));
- w9.Position = 0;
- w9.Expand = false;
- w9.Fill = false;
- // Container child boxCamera.Gtk.Box+BoxChild
- this.drawingAreaCamera = new global::Gtk.DrawingArea();
- this.drawingAreaCamera.Name = "drawingAreaCamera";
- this.boxCamera.Add(this.drawingAreaCamera);
- global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.boxCamera[this.drawingAreaCamera]));
- w10.Position = 1;
- this.hbox1.Add(this.boxCamera);
- global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.boxCamera]));
- w11.Position = 0;
- // Container child hbox1.Gtk.Box+BoxChild
- this.hbox3 = new global::Gtk.HBox();
- this.hbox3.Name = "hbox3";
- this.hbox3.Spacing = 6;
- // Container child hbox3.Gtk.Box+BoxChild
- this.vseparator1 = new global::Gtk.VSeparator();
- this.vseparator1.Name = "vseparator1";
- this.hbox3.Add(this.vseparator1);
- global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vseparator1]));
- w12.Position = 0;
- w12.Expand = false;
- w12.Fill = false;
- // Container child hbox3.Gtk.Box+BoxChild
- this.alignment3 = new global::Gtk.Alignment(1F, 0F, 0F, 0F);
- this.alignment3.Name = "alignment3";
- this.alignment3.BorderWidth = ((uint)(4));
- // Container child alignment3.Gtk.Container+ContainerChild
- this.vbox5 = new global::Gtk.VBox();
- this.vbox5.Name = "vbox5";
- this.vbox5.Spacing = 6;
- // Container child vbox5.Gtk.Box+BoxChild
- this.vbox10 = new global::Gtk.VBox();
- this.vbox10.Name = "vbox10";
- this.vbox10.Spacing = 6;
- // Container child vbox10.Gtk.Box+BoxChild
- this.labelServer = new global::Gtk.Label();
- this.labelServer.HeightRequest = 36;
- this.labelServer.Name = "labelServer";
- this.labelServer.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Server connection</u></b>");
- this.labelServer.UseMarkup = true;
- this.vbox10.Add(this.labelServer);
- global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.labelServer]));
- w13.Position = 0;
- w13.Expand = false;
- w13.Fill = false;
- // Container child vbox10.Gtk.Box+BoxChild
- this.gtkAlignmentServer = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
- this.gtkAlignmentServer.Name = "gtkAlignmentServer";
- this.gtkAlignmentServer.LeftPadding = ((uint)(12));
- // Container child gtkAlignmentServer.Gtk.Container+ContainerChild
- this.vbox6 = new global::Gtk.VBox();
- this.vbox6.Name = "vbox6";
- this.vbox6.Spacing = 6;
- // Container child vbox6.Gtk.Box+BoxChild
- this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
- this.table1.Name = "table1";
- this.table1.RowSpacing = ((uint)(6));
- this.table1.ColumnSpacing = ((uint)(6));
- // Container child table1.Gtk.Table+TableChild
- this.entryServerName = new global::Gtk.Entry();
- this.entryServerName.CanFocus = true;
- this.entryServerName.Name = "entryServerName";
- this.entryServerName.IsEditable = true;
- this.entryServerName.InvisibleChar = '●';
- this.table1.Add(this.entryServerName);
- global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.entryServerName]));
- w14.LeftAttach = ((uint)(1));
- w14.RightAttach = ((uint)(2));
- w14.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.entryServerPort = new global::Gtk.Entry();
- this.entryServerPort.CanFocus = true;
- this.entryServerPort.Name = "entryServerPort";
- this.entryServerPort.IsEditable = true;
- this.entryServerPort.InvisibleChar = '●';
- this.table1.Add(this.entryServerPort);
- global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.entryServerPort]));
- w15.TopAttach = ((uint)(1));
- w15.BottomAttach = ((uint)(2));
- w15.LeftAttach = ((uint)(1));
- w15.RightAttach = ((uint)(2));
- w15.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.entryTimeout = new global::Gtk.Entry();
- this.entryTimeout.CanFocus = true;
- this.entryTimeout.Name = "entryTimeout";
- this.entryTimeout.IsEditable = true;
- this.entryTimeout.InvisibleChar = '●';
- this.table1.Add(this.entryTimeout);
- global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.entryTimeout]));
- w16.TopAttach = ((uint)(2));
- w16.BottomAttach = ((uint)(3));
- w16.LeftAttach = ((uint)(1));
- w16.RightAttach = ((uint)(2));
- w16.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.label1 = new global::Gtk.Label();
- this.label1.Name = "label1";
- this.label1.Xalign = 1F;
- this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Server name:");
- this.label1.Justify = ((global::Gtk.Justification)(1));
- this.table1.Add(this.label1);
- global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
- w17.XOptions = ((global::Gtk.AttachOptions)(4));
- w17.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.label2 = new global::Gtk.Label();
- this.label2.Name = "label2";
- this.label2.Xalign = 1F;
- this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Server port:");
- this.label2.Justify = ((global::Gtk.Justification)(1));
- this.table1.Add(this.label2);
- global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
- w18.TopAttach = ((uint)(1));
- w18.BottomAttach = ((uint)(2));
- w18.XOptions = ((global::Gtk.AttachOptions)(4));
- w18.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table1.Gtk.Table+TableChild
- this.label5 = new global::Gtk.Label();
- this.label5.Name = "label5";
- this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Timeout (ms):");
- this.table1.Add(this.label5);
- global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
- w19.TopAttach = ((uint)(2));
- w19.BottomAttach = ((uint)(3));
- w19.XOptions = ((global::Gtk.AttachOptions)(4));
- w19.YOptions = ((global::Gtk.AttachOptions)(4));
- this.vbox6.Add(this.table1);
- global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.table1]));
- w20.Position = 0;
- w20.Expand = false;
- w20.Fill = false;
- // Container child vbox6.Gtk.Box+BoxChild
- this.buttonServerConnection = new global::Gtk.Button();
- this.buttonServerConnection.CanFocus = true;
- this.buttonServerConnection.Name = "buttonServerConnection";
- this.buttonServerConnection.UseUnderline = true;
- this.buttonServerConnection.Label = global::Mono.Unix.Catalog.GetString("Connect");
- this.vbox6.Add(this.buttonServerConnection);
- global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.buttonServerConnection]));
- w21.PackType = ((global::Gtk.PackType)(1));
- w21.Position = 1;
- w21.Expand = false;
- w21.Fill = false;
- this.gtkAlignmentServer.Add(this.vbox6);
- this.vbox10.Add(this.gtkAlignmentServer);
- global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.gtkAlignmentServer]));
- w23.Position = 1;
- w23.Expand = false;
- w23.Fill = false;
- this.vbox5.Add(this.vbox10);
- global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox10]));
- w24.Position = 0;
- w24.Expand = false;
- w24.Fill = false;
- // Container child vbox5.Gtk.Box+BoxChild
- this.hseparator1 = new global::Gtk.HSeparator();
- this.hseparator1.Name = "hseparator1";
- this.vbox5.Add(this.hseparator1);
- global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator1]));
- w25.Position = 1;
- w25.Expand = false;
- w25.Fill = false;
- // Container child vbox5.Gtk.Box+BoxChild
- this.vbox11 = new global::Gtk.VBox();
- this.vbox11.Name = "vbox11";
- this.vbox11.Spacing = 6;
- // Container child vbox11.Gtk.Box+BoxChild
- this.labelRobot = new global::Gtk.Label();
- this.labelRobot.HeightRequest = 36;
- this.labelRobot.Name = "labelRobot";
- this.labelRobot.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Robot Activation</u></b>");
- this.labelRobot.UseMarkup = true;
- this.vbox11.Add(this.labelRobot);
- global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.labelRobot]));
- w26.Position = 0;
- w26.Expand = false;
- w26.Fill = false;
- // Container child vbox11.Gtk.Box+BoxChild
- this.alignment9 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
- this.alignment9.Name = "alignment9";
- // Container child alignment9.Gtk.Container+ContainerChild
- this.gtkAlignmentRobot = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
- this.gtkAlignmentRobot.Name = "gtkAlignmentRobot";
- this.gtkAlignmentRobot.LeftPadding = ((uint)(12));
- // Container child gtkAlignmentRobot.Gtk.Container+ContainerChild
- this.vbox8 = new global::Gtk.VBox();
- this.vbox8.Name = "vbox8";
- this.vbox8.Spacing = 6;
- // Container child vbox8.Gtk.Box+BoxChild
- this.alignment6 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
- this.alignment6.Name = "alignment6";
- // Container child alignment6.Gtk.Container+ContainerChild
- this.hbox4 = new global::Gtk.HBox();
- this.hbox4.Name = "hbox4";
- this.hbox4.Spacing = 6;
- // Container child hbox4.Gtk.Box+BoxChild
- this.radioButtonWithWatchdog = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("with watchdog"));
- this.radioButtonWithWatchdog.CanFocus = true;
- this.radioButtonWithWatchdog.Name = "radioButtonWithWatchdog";
- this.radioButtonWithWatchdog.DrawIndicator = true;
- this.radioButtonWithWatchdog.UseUnderline = true;
- this.radioButtonWithWatchdog.Group = new global::GLib.SList(global::System.IntPtr.Zero);
- this.hbox4.Add(this.radioButtonWithWatchdog);
- global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radioButtonWithWatchdog]));
- w27.Position = 0;
- // Container child hbox4.Gtk.Box+BoxChild
- this.radioButtonWithoutWatchdog = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("without watchdog"));
- this.radioButtonWithoutWatchdog.CanFocus = true;
- this.radioButtonWithoutWatchdog.Name = "radioButtonWithoutWatchdog";
- this.radioButtonWithoutWatchdog.DrawIndicator = true;
- this.radioButtonWithoutWatchdog.UseUnderline = true;
- this.radioButtonWithoutWatchdog.Group = this.radioButtonWithWatchdog.Group;
- this.hbox4.Add(this.radioButtonWithoutWatchdog);
- global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radioButtonWithoutWatchdog]));
- w28.Position = 1;
- this.alignment6.Add(this.hbox4);
- this.vbox8.Add(this.alignment6);
- global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.alignment6]));
- w30.Position = 0;
- w30.Expand = false;
- w30.Fill = false;
- // Container child vbox8.Gtk.Box+BoxChild
- this.alignment5 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
- this.alignment5.Name = "alignment5";
- // Container child alignment5.Gtk.Container+ContainerChild
- this.alignment7 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
- this.alignment7.Name = "alignment7";
- // Container child alignment7.Gtk.Container+ContainerChild
- this.buttonRobotActivation = new global::Gtk.Button();
- this.buttonRobotActivation.CanFocus = true;
- this.buttonRobotActivation.Name = "buttonRobotActivation";
- this.buttonRobotActivation.UseUnderline = true;
- this.buttonRobotActivation.Label = global::Mono.Unix.Catalog.GetString("Activation");
- this.alignment7.Add(this.buttonRobotActivation);
- this.alignment5.Add(this.alignment7);
- this.vbox8.Add(this.alignment5);
- global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.alignment5]));
- w33.Position = 1;
- w33.Expand = false;
- w33.Fill = false;
- this.gtkAlignmentRobot.Add(this.vbox8);
- this.alignment9.Add(this.gtkAlignmentRobot);
- this.vbox11.Add(this.alignment9);
- global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.alignment9]));
- w36.Position = 1;
- w36.Expand = false;
- w36.Fill = false;
- this.vbox5.Add(this.vbox11);
- global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox11]));
- w37.Position = 2;
- w37.Expand = false;
- w37.Fill = false;
- // Container child vbox5.Gtk.Box+BoxChild
- this.hseparator2 = new global::Gtk.HSeparator();
- this.hseparator2.Name = "hseparator2";
- this.vbox5.Add(this.hseparator2);
- global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator2]));
- w38.Position = 3;
- w38.Expand = false;
- w38.Fill = false;
- // Container child vbox5.Gtk.Box+BoxChild
- this.vbox12 = new global::Gtk.VBox();
- this.vbox12.Name = "vbox12";
- this.vbox12.Spacing = 6;
- // Container child vbox12.Gtk.Box+BoxChild
- this.labelRobotControl = new global::Gtk.Label();
- this.labelRobotControl.HeightRequest = 36;
- this.labelRobotControl.Name = "labelRobotControl";
- this.labelRobotControl.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Robot Controls and Status</u></b>");
- this.labelRobotControl.UseMarkup = true;
- this.vbox12.Add(this.labelRobotControl);
- global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.labelRobotControl]));
- w39.Position = 0;
- w39.Expand = false;
- w39.Fill = false;
- // Container child vbox12.Gtk.Box+BoxChild
- this.gtkAlignmentRobotControl = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
- this.gtkAlignmentRobotControl.Name = "gtkAlignmentRobotControl";
- this.gtkAlignmentRobotControl.LeftPadding = ((uint)(12));
- // Container child gtkAlignmentRobotControl.Gtk.Container+ContainerChild
- this.vbox9 = new global::Gtk.VBox();
- this.vbox9.Name = "vbox9";
- this.vbox9.Spacing = 6;
- // Container child vbox9.Gtk.Box+BoxChild
- this.alignment8 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
- this.alignment8.Name = "alignment8";
- // Container child alignment8.Gtk.Container+ContainerChild
- this.table4 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false);
- this.table4.Name = "table4";
- this.table4.RowSpacing = ((uint)(6));
- this.table4.ColumnSpacing = ((uint)(6));
- // Container child table4.Gtk.Table+TableChild
- this.buttonDown = new global::Gtk.Button();
- global::Gtk.Tooltips w40 = new Gtk.Tooltips();
- w40.SetTip(this.buttonDown, "Move robot backward", "Move robot backward");
- this.buttonDown.CanFocus = true;
- this.buttonDown.Name = "buttonDown";
- this.buttonDown.UseUnderline = true;
- global::Gtk.Image w41 = new global::Gtk.Image();
- w41.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-down-symbolic.symbolic.png");
- this.buttonDown.Image = w41;
- this.table4.Add(this.buttonDown);
- global::Gtk.Table.TableChild w42 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonDown]));
- w42.TopAttach = ((uint)(2));
- w42.BottomAttach = ((uint)(3));
- w42.LeftAttach = ((uint)(1));
- w42.RightAttach = ((uint)(2));
- w42.XOptions = ((global::Gtk.AttachOptions)(4));
- w42.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table4.Gtk.Table+TableChild
- this.buttonForward = new global::Gtk.Button();
- w40.SetTip(this.buttonForward, "Move robot forward", "Move robot forward");
- this.buttonForward.CanFocus = true;
- this.buttonForward.Name = "buttonForward";
- this.buttonForward.UseUnderline = true;
- global::Gtk.Image w43 = new global::Gtk.Image();
- w43.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-up-symbolic.symbolic.png");
- this.buttonForward.Image = w43;
- this.table4.Add(this.buttonForward);
- global::Gtk.Table.TableChild w44 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonForward]));
- w44.LeftAttach = ((uint)(1));
- w44.RightAttach = ((uint)(2));
- w44.XOptions = ((global::Gtk.AttachOptions)(4));
- w44.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table4.Gtk.Table+TableChild
- this.buttonLeft = new global::Gtk.Button();
- w40.SetTip(this.buttonLeft, "Turn robot to the left", "Turn robot to the left");
- this.buttonLeft.CanFocus = true;
- this.buttonLeft.Name = "buttonLeft";
- this.buttonLeft.UseUnderline = true;
- global::Gtk.Image w45 = new global::Gtk.Image();
- w45.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-start-symbolic.symbolic.png");
- this.buttonLeft.Image = w45;
- this.table4.Add(this.buttonLeft);
- global::Gtk.Table.TableChild w46 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonLeft]));
- w46.TopAttach = ((uint)(1));
- w46.BottomAttach = ((uint)(2));
- w46.XOptions = ((global::Gtk.AttachOptions)(4));
- w46.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table4.Gtk.Table+TableChild
- this.buttonRight = new global::Gtk.Button();
- w40.SetTip(this.buttonRight, "Turn robot to the right", "Turn robot to the right");
- this.buttonRight.CanFocus = true;
- this.buttonRight.Name = "buttonRight";
- this.buttonRight.UseUnderline = true;
- global::Gtk.Image w47 = new global::Gtk.Image();
- w47.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-end-symbolic.symbolic.png");
- this.buttonRight.Image = w47;
- this.table4.Add(this.buttonRight);
- global::Gtk.Table.TableChild w48 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonRight]));
- w48.TopAttach = ((uint)(1));
- w48.BottomAttach = ((uint)(2));
- w48.LeftAttach = ((uint)(2));
- w48.RightAttach = ((uint)(3));
- w48.XOptions = ((global::Gtk.AttachOptions)(4));
- w48.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table4.Gtk.Table+TableChild
- this.buttonStop = new global::Gtk.Button();
- w40.SetTip(this.buttonStop, "Stop robot movements", "Stop robot movements");
- this.buttonStop.CanFocus = true;
- this.buttonStop.Name = "buttonStop";
- this.buttonStop.UseUnderline = true;
- global::Gtk.Image w49 = new global::Gtk.Image();
- w49.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.hand-filled-32.png");
- this.buttonStop.Image = w49;
- this.table4.Add(this.buttonStop);
- global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonStop]));
- w50.TopAttach = ((uint)(1));
- w50.BottomAttach = ((uint)(2));
- w50.LeftAttach = ((uint)(1));
- w50.RightAttach = ((uint)(2));
- w50.XOptions = ((global::Gtk.AttachOptions)(4));
- w50.YOptions = ((global::Gtk.AttachOptions)(4));
- this.alignment8.Add(this.table4);
- this.vbox9.Add(this.alignment8);
- global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.alignment8]));
- w52.Position = 0;
- w52.Expand = false;
- w52.Fill = false;
- // Container child vbox9.Gtk.Box+BoxChild
- this.table3 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
- this.table3.Name = "table3";
- this.table3.RowSpacing = ((uint)(6));
- this.table3.ColumnSpacing = ((uint)(6));
- // Container child table3.Gtk.Table+TableChild
- this.label3 = new global::Gtk.Label();
- this.label3.Name = "label3";
- this.label3.Xalign = 1F;
- this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Battery level:");
- this.label3.Justify = ((global::Gtk.Justification)(1));
- this.table3.Add(this.label3);
- global::Gtk.Table.TableChild w53 = ((global::Gtk.Table.TableChild)(this.table3[this.label3]));
- w53.YPadding = ((uint)(10));
- w53.XOptions = ((global::Gtk.AttachOptions)(4));
- w53.YOptions = ((global::Gtk.AttachOptions)(4));
- // Container child table3.Gtk.Table+TableChild
- this.labelBatteryLevel = new global::Gtk.Label();
- this.labelBatteryLevel.Name = "labelBatteryLevel";
- this.labelBatteryLevel.Xpad = 1;
- this.labelBatteryLevel.Xalign = 0F;
- this.labelBatteryLevel.LabelProp = global::Mono.Unix.Catalog.GetString("Unknown");
- this.table3.Add(this.labelBatteryLevel);
- global::Gtk.Table.TableChild w54 = ((global::Gtk.Table.TableChild)(this.table3[this.labelBatteryLevel]));
- w54.LeftAttach = ((uint)(1));
- w54.RightAttach = ((uint)(2));
- w54.YOptions = ((global::Gtk.AttachOptions)(4));
- this.vbox9.Add(this.table3);
- global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.table3]));
- w55.Position = 2;
- w55.Expand = false;
- w55.Fill = false;
- // Container child vbox9.Gtk.Box+BoxChild
- this.checkButtonGetBattery = new global::Gtk.CheckButton();
- this.checkButtonGetBattery.CanFocus = true;
- this.checkButtonGetBattery.Name = "checkButtonGetBattery";
- this.checkButtonGetBattery.Label = global::Mono.Unix.Catalog.GetString("Get battery level");
- this.checkButtonGetBattery.Active = true;
- this.checkButtonGetBattery.DrawIndicator = true;
- this.checkButtonGetBattery.UseUnderline = true;
- this.vbox9.Add(this.checkButtonGetBattery);
- global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.checkButtonGetBattery]));
- w56.Position = 3;
- w56.Expand = false;
- w56.Fill = false;
- this.gtkAlignmentRobotControl.Add(this.vbox9);
- this.vbox12.Add(this.gtkAlignmentRobotControl);
- global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.gtkAlignmentRobotControl]));
- w58.Position = 1;
- this.vbox5.Add(this.vbox12);
- global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox12]));
- w59.Position = 4;
- this.alignment3.Add(this.vbox5);
- this.hbox3.Add(this.alignment3);
- global::Gtk.Box.BoxChild w61 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.alignment3]));
- w61.Position = 1;
- w61.Expand = false;
- w61.Fill = false;
- this.hbox1.Add(this.hbox3);
- global::Gtk.Box.BoxChild w62 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hbox3]));
- w62.Position = 1;
- w62.Expand = false;
- w62.Fill = false;
- this.vbox1.Add(this.hbox1);
- global::Gtk.Box.BoxChild w63 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
- w63.Position = 1;
- this.Add(this.vbox1);
- if ((this.Child != null))
- {
- this.Child.ShowAll();
- }
- this.DefaultWidth = 1025;
- this.DefaultHeight = 686;
- this.Show();
- this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
- this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated);
- this.ShowLogWindowAction.Activated += new global::System.EventHandler(this.OnShowLogWindowActionActivated);
- this.checkButtonCameraOn.Clicked += new global::System.EventHandler(this.OnCheckButtonCameraOnClicked);
- this.checkButtonRobotPosition.Clicked += new global::System.EventHandler(this.OnCheckButtonRobotPositionClicked);
- this.checkButtonFPS.Toggled += new global::System.EventHandler(this.OnCheckButtonFPSToggled);
- this.buttonAskArena.Clicked += new global::System.EventHandler(this.OnButtonAskArenaClicked);
- this.buttonServerConnection.Clicked += new global::System.EventHandler(this.OnButtonServerConnectionClicked);
- this.buttonRobotActivation.Clicked += new global::System.EventHandler(this.OnButtonRobotActivationClicked);
- this.buttonStop.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
- this.buttonRight.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
- this.buttonLeft.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
- this.buttonForward.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
- this.buttonDown.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
- }
- }
|