No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MainWindow.cs 29KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684
  1. // This file has been generated by the GUI designer. Do not modify.
  2. public partial class MainWindow
  3. {
  4. private global::Gtk.UIManager UIManager;
  5. private global::Gtk.Action FileAction;
  6. private global::Gtk.Action QuitAction;
  7. private global::Gtk.Action LogAction;
  8. private global::Gtk.Action ShowLogWindowAction;
  9. private global::Gtk.VBox vbox1;
  10. private global::Gtk.MenuBar menuBar;
  11. private global::Gtk.HBox hbox1;
  12. private global::Gtk.VBox boxCamera;
  13. private global::Gtk.HBox hbox2;
  14. private global::Gtk.Alignment alignment1;
  15. private global::Gtk.HBox hbox5;
  16. private global::Gtk.CheckButton checkButtonCameraOn;
  17. private global::Gtk.CheckButton checkButtonRobotPosition;
  18. private global::Gtk.CheckButton checkButtonFPS;
  19. private global::Gtk.Button buttonAskArena;
  20. private global::Gtk.DrawingArea drawingAreaCamera;
  21. private global::Gtk.HBox hbox3;
  22. private global::Gtk.VSeparator vseparator1;
  23. private global::Gtk.Alignment alignment3;
  24. private global::Gtk.VBox vbox5;
  25. private global::Gtk.VBox vbox10;
  26. private global::Gtk.Label labelServer;
  27. private global::Gtk.Alignment gtkAlignmentServer;
  28. private global::Gtk.VBox vbox6;
  29. private global::Gtk.Table table1;
  30. private global::Gtk.Entry entryServerName;
  31. private global::Gtk.Entry entryServerPort;
  32. private global::Gtk.Entry entryTimeout;
  33. private global::Gtk.Label label1;
  34. private global::Gtk.Label label2;
  35. private global::Gtk.Label label5;
  36. private global::Gtk.Button buttonServerConnection;
  37. private global::Gtk.HSeparator hseparator1;
  38. private global::Gtk.VBox vbox11;
  39. private global::Gtk.Label labelRobot;
  40. private global::Gtk.Alignment alignment9;
  41. private global::Gtk.Alignment gtkAlignmentRobot;
  42. private global::Gtk.VBox vbox8;
  43. private global::Gtk.Alignment alignment6;
  44. private global::Gtk.HBox hbox4;
  45. private global::Gtk.RadioButton radioButtonWithWatchdog;
  46. private global::Gtk.RadioButton radioButtonWithoutWatchdog;
  47. private global::Gtk.Alignment alignment5;
  48. private global::Gtk.Alignment alignment7;
  49. private global::Gtk.Button buttonRobotActivation;
  50. private global::Gtk.HSeparator hseparator2;
  51. private global::Gtk.VBox vbox12;
  52. private global::Gtk.Label labelRobotControl;
  53. private global::Gtk.Alignment gtkAlignmentRobotControl;
  54. private global::Gtk.VBox vbox9;
  55. private global::Gtk.Alignment alignment8;
  56. private global::Gtk.Table table4;
  57. private global::Gtk.Button buttonDown;
  58. private global::Gtk.Button buttonForward;
  59. private global::Gtk.Button buttonLeft;
  60. private global::Gtk.Button buttonRight;
  61. private global::Gtk.Table table3;
  62. private global::Gtk.Label label3;
  63. private global::Gtk.Label labelBatteryLevel;
  64. private global::Gtk.CheckButton checkButtonGetBattery;
  65. protected virtual void Build()
  66. {
  67. global::Stetic.Gui.Initialize(this);
  68. // Widget MainWindow
  69. this.UIManager = new global::Gtk.UIManager();
  70. global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
  71. this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null);
  72. this.FileAction.IsImportant = true;
  73. this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File");
  74. w1.Add(this.FileAction, null);
  75. this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("Quit..."), null, null);
  76. this.QuitAction.IsImportant = true;
  77. this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit");
  78. w1.Add(this.QuitAction, "<Primary><Mod2>q");
  79. this.LogAction = new global::Gtk.Action("LogAction", global::Mono.Unix.Catalog.GetString("Log"), null, null);
  80. this.LogAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Log");
  81. w1.Add(this.LogAction, null);
  82. this.ShowLogWindowAction = new global::Gtk.Action("ShowLogWindowAction", global::Mono.Unix.Catalog.GetString("Show log window"), null, null);
  83. this.ShowLogWindowAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Show log window");
  84. w1.Add(this.ShowLogWindowAction, "<Primary><Mod2>s");
  85. this.UIManager.InsertActionGroup(w1, 0);
  86. this.AddAccelGroup(this.UIManager.AccelGroup);
  87. this.Name = "MainWindow";
  88. this.Title = global::Mono.Unix.Catalog.GetString("Monitor UI");
  89. this.Icon = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.robot-icon.resized.png");
  90. this.WindowPosition = ((global::Gtk.WindowPosition)(4));
  91. this.BorderWidth = ((uint)(5));
  92. // Container child MainWindow.Gtk.Container+ContainerChild
  93. this.vbox1 = new global::Gtk.VBox();
  94. this.vbox1.Name = "vbox1";
  95. this.vbox1.Spacing = 6;
  96. // Container child vbox1.Gtk.Box+BoxChild
  97. 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>");
  98. this.menuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menuBar")));
  99. this.menuBar.Name = "menuBar";
  100. this.vbox1.Add(this.menuBar);
  101. global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menuBar]));
  102. w2.Position = 0;
  103. w2.Expand = false;
  104. w2.Fill = false;
  105. // Container child vbox1.Gtk.Box+BoxChild
  106. this.hbox1 = new global::Gtk.HBox();
  107. this.hbox1.Name = "hbox1";
  108. this.hbox1.Spacing = 6;
  109. // Container child hbox1.Gtk.Box+BoxChild
  110. this.boxCamera = new global::Gtk.VBox();
  111. this.boxCamera.Name = "boxCamera";
  112. this.boxCamera.Spacing = 6;
  113. // Container child boxCamera.Gtk.Box+BoxChild
  114. this.hbox2 = new global::Gtk.HBox();
  115. this.hbox2.Name = "hbox2";
  116. this.hbox2.Spacing = 6;
  117. // Container child hbox2.Gtk.Box+BoxChild
  118. this.alignment1 = new global::Gtk.Alignment(0F, 0.5F, 0F, 1F);
  119. this.alignment1.Name = "alignment1";
  120. this.alignment1.BorderWidth = ((uint)(6));
  121. // Container child alignment1.Gtk.Container+ContainerChild
  122. this.hbox5 = new global::Gtk.HBox();
  123. this.hbox5.Name = "hbox5";
  124. this.hbox5.Spacing = 6;
  125. // Container child hbox5.Gtk.Box+BoxChild
  126. this.checkButtonCameraOn = new global::Gtk.CheckButton();
  127. this.checkButtonCameraOn.CanFocus = true;
  128. this.checkButtonCameraOn.Name = "checkButtonCameraOn";
  129. this.checkButtonCameraOn.Label = global::Mono.Unix.Catalog.GetString("Camera On");
  130. this.checkButtonCameraOn.DrawIndicator = true;
  131. this.checkButtonCameraOn.UseUnderline = true;
  132. this.hbox5.Add(this.checkButtonCameraOn);
  133. global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonCameraOn]));
  134. w3.Position = 0;
  135. // Container child hbox5.Gtk.Box+BoxChild
  136. this.checkButtonRobotPosition = new global::Gtk.CheckButton();
  137. this.checkButtonRobotPosition.CanFocus = true;
  138. this.checkButtonRobotPosition.Name = "checkButtonRobotPosition";
  139. this.checkButtonRobotPosition.Label = global::Mono.Unix.Catalog.GetString("Show Position");
  140. this.checkButtonRobotPosition.DrawIndicator = true;
  141. this.checkButtonRobotPosition.UseUnderline = true;
  142. this.hbox5.Add(this.checkButtonRobotPosition);
  143. global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonRobotPosition]));
  144. w4.Position = 1;
  145. // Container child hbox5.Gtk.Box+BoxChild
  146. this.checkButtonFPS = new global::Gtk.CheckButton();
  147. this.checkButtonFPS.CanFocus = true;
  148. this.checkButtonFPS.Name = "checkButtonFPS";
  149. this.checkButtonFPS.Label = global::Mono.Unix.Catalog.GetString("Show FPS");
  150. this.checkButtonFPS.DrawIndicator = true;
  151. this.checkButtonFPS.UseUnderline = true;
  152. this.hbox5.Add(this.checkButtonFPS);
  153. global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.checkButtonFPS]));
  154. w5.Position = 2;
  155. this.alignment1.Add(this.hbox5);
  156. this.hbox2.Add(this.alignment1);
  157. global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.alignment1]));
  158. w7.Position = 0;
  159. // Container child hbox2.Gtk.Box+BoxChild
  160. this.buttonAskArena = new global::Gtk.Button();
  161. this.buttonAskArena.CanFocus = true;
  162. this.buttonAskArena.Name = "buttonAskArena";
  163. this.buttonAskArena.UseUnderline = true;
  164. this.buttonAskArena.Label = global::Mono.Unix.Catalog.GetString("Ask Arena...");
  165. this.hbox2.Add(this.buttonAskArena);
  166. global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonAskArena]));
  167. w8.Position = 2;
  168. w8.Expand = false;
  169. w8.Fill = false;
  170. this.boxCamera.Add(this.hbox2);
  171. global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.boxCamera[this.hbox2]));
  172. w9.Position = 0;
  173. w9.Expand = false;
  174. w9.Fill = false;
  175. // Container child boxCamera.Gtk.Box+BoxChild
  176. this.drawingAreaCamera = new global::Gtk.DrawingArea();
  177. this.drawingAreaCamera.Name = "drawingAreaCamera";
  178. this.boxCamera.Add(this.drawingAreaCamera);
  179. global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.boxCamera[this.drawingAreaCamera]));
  180. w10.Position = 1;
  181. this.hbox1.Add(this.boxCamera);
  182. global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.boxCamera]));
  183. w11.Position = 0;
  184. // Container child hbox1.Gtk.Box+BoxChild
  185. this.hbox3 = new global::Gtk.HBox();
  186. this.hbox3.Name = "hbox3";
  187. this.hbox3.Spacing = 6;
  188. // Container child hbox3.Gtk.Box+BoxChild
  189. this.vseparator1 = new global::Gtk.VSeparator();
  190. this.vseparator1.Name = "vseparator1";
  191. this.hbox3.Add(this.vseparator1);
  192. global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.vseparator1]));
  193. w12.Position = 0;
  194. w12.Expand = false;
  195. w12.Fill = false;
  196. // Container child hbox3.Gtk.Box+BoxChild
  197. this.alignment3 = new global::Gtk.Alignment(1F, 0F, 0F, 0F);
  198. this.alignment3.Name = "alignment3";
  199. this.alignment3.BorderWidth = ((uint)(4));
  200. // Container child alignment3.Gtk.Container+ContainerChild
  201. this.vbox5 = new global::Gtk.VBox();
  202. this.vbox5.Name = "vbox5";
  203. this.vbox5.Spacing = 6;
  204. // Container child vbox5.Gtk.Box+BoxChild
  205. this.vbox10 = new global::Gtk.VBox();
  206. this.vbox10.Name = "vbox10";
  207. this.vbox10.Spacing = 6;
  208. // Container child vbox10.Gtk.Box+BoxChild
  209. this.labelServer = new global::Gtk.Label();
  210. this.labelServer.HeightRequest = 36;
  211. this.labelServer.Name = "labelServer";
  212. this.labelServer.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Server connection</u></b>");
  213. this.labelServer.UseMarkup = true;
  214. this.vbox10.Add(this.labelServer);
  215. global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.labelServer]));
  216. w13.Position = 0;
  217. w13.Expand = false;
  218. w13.Fill = false;
  219. // Container child vbox10.Gtk.Box+BoxChild
  220. this.gtkAlignmentServer = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
  221. this.gtkAlignmentServer.Name = "gtkAlignmentServer";
  222. this.gtkAlignmentServer.LeftPadding = ((uint)(12));
  223. // Container child gtkAlignmentServer.Gtk.Container+ContainerChild
  224. this.vbox6 = new global::Gtk.VBox();
  225. this.vbox6.Name = "vbox6";
  226. this.vbox6.Spacing = 6;
  227. // Container child vbox6.Gtk.Box+BoxChild
  228. this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false);
  229. this.table1.Name = "table1";
  230. this.table1.RowSpacing = ((uint)(6));
  231. this.table1.ColumnSpacing = ((uint)(6));
  232. // Container child table1.Gtk.Table+TableChild
  233. this.entryServerName = new global::Gtk.Entry();
  234. this.entryServerName.CanFocus = true;
  235. this.entryServerName.Name = "entryServerName";
  236. this.entryServerName.IsEditable = true;
  237. this.entryServerName.InvisibleChar = '●';
  238. this.table1.Add(this.entryServerName);
  239. global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.entryServerName]));
  240. w14.LeftAttach = ((uint)(1));
  241. w14.RightAttach = ((uint)(2));
  242. w14.YOptions = ((global::Gtk.AttachOptions)(4));
  243. // Container child table1.Gtk.Table+TableChild
  244. this.entryServerPort = new global::Gtk.Entry();
  245. this.entryServerPort.CanFocus = true;
  246. this.entryServerPort.Name = "entryServerPort";
  247. this.entryServerPort.IsEditable = true;
  248. this.entryServerPort.InvisibleChar = '●';
  249. this.table1.Add(this.entryServerPort);
  250. global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.entryServerPort]));
  251. w15.TopAttach = ((uint)(1));
  252. w15.BottomAttach = ((uint)(2));
  253. w15.LeftAttach = ((uint)(1));
  254. w15.RightAttach = ((uint)(2));
  255. w15.YOptions = ((global::Gtk.AttachOptions)(4));
  256. // Container child table1.Gtk.Table+TableChild
  257. this.entryTimeout = new global::Gtk.Entry();
  258. this.entryTimeout.CanFocus = true;
  259. this.entryTimeout.Name = "entryTimeout";
  260. this.entryTimeout.IsEditable = true;
  261. this.entryTimeout.InvisibleChar = '●';
  262. this.table1.Add(this.entryTimeout);
  263. global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.entryTimeout]));
  264. w16.TopAttach = ((uint)(2));
  265. w16.BottomAttach = ((uint)(3));
  266. w16.LeftAttach = ((uint)(1));
  267. w16.RightAttach = ((uint)(2));
  268. w16.YOptions = ((global::Gtk.AttachOptions)(4));
  269. // Container child table1.Gtk.Table+TableChild
  270. this.label1 = new global::Gtk.Label();
  271. this.label1.Name = "label1";
  272. this.label1.Xalign = 1F;
  273. this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Server name:");
  274. this.label1.Justify = ((global::Gtk.Justification)(1));
  275. this.table1.Add(this.label1);
  276. global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label1]));
  277. w17.XOptions = ((global::Gtk.AttachOptions)(4));
  278. w17.YOptions = ((global::Gtk.AttachOptions)(4));
  279. // Container child table1.Gtk.Table+TableChild
  280. this.label2 = new global::Gtk.Label();
  281. this.label2.Name = "label2";
  282. this.label2.Xalign = 1F;
  283. this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Server port:");
  284. this.label2.Justify = ((global::Gtk.Justification)(1));
  285. this.table1.Add(this.label2);
  286. global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label2]));
  287. w18.TopAttach = ((uint)(1));
  288. w18.BottomAttach = ((uint)(2));
  289. w18.XOptions = ((global::Gtk.AttachOptions)(4));
  290. w18.YOptions = ((global::Gtk.AttachOptions)(4));
  291. // Container child table1.Gtk.Table+TableChild
  292. this.label5 = new global::Gtk.Label();
  293. this.label5.Name = "label5";
  294. this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Timeout (ms):");
  295. this.table1.Add(this.label5);
  296. global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label5]));
  297. w19.TopAttach = ((uint)(2));
  298. w19.BottomAttach = ((uint)(3));
  299. w19.XOptions = ((global::Gtk.AttachOptions)(4));
  300. w19.YOptions = ((global::Gtk.AttachOptions)(4));
  301. this.vbox6.Add(this.table1);
  302. global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.table1]));
  303. w20.Position = 0;
  304. w20.Expand = false;
  305. w20.Fill = false;
  306. // Container child vbox6.Gtk.Box+BoxChild
  307. this.buttonServerConnection = new global::Gtk.Button();
  308. this.buttonServerConnection.CanFocus = true;
  309. this.buttonServerConnection.Name = "buttonServerConnection";
  310. this.buttonServerConnection.UseUnderline = true;
  311. this.buttonServerConnection.Label = global::Mono.Unix.Catalog.GetString("Connect");
  312. this.vbox6.Add(this.buttonServerConnection);
  313. global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox6[this.buttonServerConnection]));
  314. w21.PackType = ((global::Gtk.PackType)(1));
  315. w21.Position = 1;
  316. w21.Expand = false;
  317. w21.Fill = false;
  318. this.gtkAlignmentServer.Add(this.vbox6);
  319. this.vbox10.Add(this.gtkAlignmentServer);
  320. global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox10[this.gtkAlignmentServer]));
  321. w23.Position = 1;
  322. w23.Expand = false;
  323. w23.Fill = false;
  324. this.vbox5.Add(this.vbox10);
  325. global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox10]));
  326. w24.Position = 0;
  327. w24.Expand = false;
  328. w24.Fill = false;
  329. // Container child vbox5.Gtk.Box+BoxChild
  330. this.hseparator1 = new global::Gtk.HSeparator();
  331. this.hseparator1.Name = "hseparator1";
  332. this.vbox5.Add(this.hseparator1);
  333. global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator1]));
  334. w25.Position = 1;
  335. w25.Expand = false;
  336. w25.Fill = false;
  337. // Container child vbox5.Gtk.Box+BoxChild
  338. this.vbox11 = new global::Gtk.VBox();
  339. this.vbox11.Name = "vbox11";
  340. this.vbox11.Spacing = 6;
  341. // Container child vbox11.Gtk.Box+BoxChild
  342. this.labelRobot = new global::Gtk.Label();
  343. this.labelRobot.HeightRequest = 36;
  344. this.labelRobot.Name = "labelRobot";
  345. this.labelRobot.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Robot Activation</u></b>");
  346. this.labelRobot.UseMarkup = true;
  347. this.vbox11.Add(this.labelRobot);
  348. global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.labelRobot]));
  349. w26.Position = 0;
  350. w26.Expand = false;
  351. w26.Fill = false;
  352. // Container child vbox11.Gtk.Box+BoxChild
  353. this.alignment9 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  354. this.alignment9.Name = "alignment9";
  355. // Container child alignment9.Gtk.Container+ContainerChild
  356. this.gtkAlignmentRobot = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
  357. this.gtkAlignmentRobot.Name = "gtkAlignmentRobot";
  358. this.gtkAlignmentRobot.LeftPadding = ((uint)(12));
  359. // Container child gtkAlignmentRobot.Gtk.Container+ContainerChild
  360. this.vbox8 = new global::Gtk.VBox();
  361. this.vbox8.Name = "vbox8";
  362. this.vbox8.Spacing = 6;
  363. // Container child vbox8.Gtk.Box+BoxChild
  364. this.alignment6 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  365. this.alignment6.Name = "alignment6";
  366. // Container child alignment6.Gtk.Container+ContainerChild
  367. this.hbox4 = new global::Gtk.HBox();
  368. this.hbox4.Name = "hbox4";
  369. this.hbox4.Spacing = 6;
  370. // Container child hbox4.Gtk.Box+BoxChild
  371. this.radioButtonWithWatchdog = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("with watchdog"));
  372. this.radioButtonWithWatchdog.CanFocus = true;
  373. this.radioButtonWithWatchdog.Name = "radioButtonWithWatchdog";
  374. this.radioButtonWithWatchdog.DrawIndicator = true;
  375. this.radioButtonWithWatchdog.UseUnderline = true;
  376. this.radioButtonWithWatchdog.Group = new global::GLib.SList(global::System.IntPtr.Zero);
  377. this.hbox4.Add(this.radioButtonWithWatchdog);
  378. global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radioButtonWithWatchdog]));
  379. w27.Position = 0;
  380. // Container child hbox4.Gtk.Box+BoxChild
  381. this.radioButtonWithoutWatchdog = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("without watchdog"));
  382. this.radioButtonWithoutWatchdog.CanFocus = true;
  383. this.radioButtonWithoutWatchdog.Name = "radioButtonWithoutWatchdog";
  384. this.radioButtonWithoutWatchdog.DrawIndicator = true;
  385. this.radioButtonWithoutWatchdog.UseUnderline = true;
  386. this.radioButtonWithoutWatchdog.Group = this.radioButtonWithWatchdog.Group;
  387. this.hbox4.Add(this.radioButtonWithoutWatchdog);
  388. global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.radioButtonWithoutWatchdog]));
  389. w28.Position = 1;
  390. this.alignment6.Add(this.hbox4);
  391. this.vbox8.Add(this.alignment6);
  392. global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.alignment6]));
  393. w30.Position = 0;
  394. w30.Expand = false;
  395. w30.Fill = false;
  396. // Container child vbox8.Gtk.Box+BoxChild
  397. this.alignment5 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  398. this.alignment5.Name = "alignment5";
  399. // Container child alignment5.Gtk.Container+ContainerChild
  400. this.alignment7 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
  401. this.alignment7.Name = "alignment7";
  402. // Container child alignment7.Gtk.Container+ContainerChild
  403. this.buttonRobotActivation = new global::Gtk.Button();
  404. this.buttonRobotActivation.CanFocus = true;
  405. this.buttonRobotActivation.Name = "buttonRobotActivation";
  406. this.buttonRobotActivation.UseUnderline = true;
  407. this.buttonRobotActivation.Label = global::Mono.Unix.Catalog.GetString("Activation");
  408. this.alignment7.Add(this.buttonRobotActivation);
  409. this.alignment5.Add(this.alignment7);
  410. this.vbox8.Add(this.alignment5);
  411. global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox8[this.alignment5]));
  412. w33.Position = 1;
  413. w33.Expand = false;
  414. w33.Fill = false;
  415. this.gtkAlignmentRobot.Add(this.vbox8);
  416. this.alignment9.Add(this.gtkAlignmentRobot);
  417. this.vbox11.Add(this.alignment9);
  418. global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox11[this.alignment9]));
  419. w36.Position = 1;
  420. w36.Expand = false;
  421. w36.Fill = false;
  422. this.vbox5.Add(this.vbox11);
  423. global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox11]));
  424. w37.Position = 2;
  425. w37.Expand = false;
  426. w37.Fill = false;
  427. // Container child vbox5.Gtk.Box+BoxChild
  428. this.hseparator2 = new global::Gtk.HSeparator();
  429. this.hseparator2.Name = "hseparator2";
  430. this.vbox5.Add(this.hseparator2);
  431. global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hseparator2]));
  432. w38.Position = 3;
  433. w38.Expand = false;
  434. w38.Fill = false;
  435. // Container child vbox5.Gtk.Box+BoxChild
  436. this.vbox12 = new global::Gtk.VBox();
  437. this.vbox12.Name = "vbox12";
  438. this.vbox12.Spacing = 6;
  439. // Container child vbox12.Gtk.Box+BoxChild
  440. this.labelRobotControl = new global::Gtk.Label();
  441. this.labelRobotControl.HeightRequest = 36;
  442. this.labelRobotControl.Name = "labelRobotControl";
  443. this.labelRobotControl.LabelProp = global::Mono.Unix.Catalog.GetString("<b><u>Robot Controls and Status</u></b>");
  444. this.labelRobotControl.UseMarkup = true;
  445. this.vbox12.Add(this.labelRobotControl);
  446. global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.labelRobotControl]));
  447. w39.Position = 0;
  448. w39.Expand = false;
  449. w39.Fill = false;
  450. // Container child vbox12.Gtk.Box+BoxChild
  451. this.gtkAlignmentRobotControl = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
  452. this.gtkAlignmentRobotControl.Name = "gtkAlignmentRobotControl";
  453. this.gtkAlignmentRobotControl.LeftPadding = ((uint)(12));
  454. // Container child gtkAlignmentRobotControl.Gtk.Container+ContainerChild
  455. this.vbox9 = new global::Gtk.VBox();
  456. this.vbox9.Name = "vbox9";
  457. this.vbox9.Spacing = 6;
  458. // Container child vbox9.Gtk.Box+BoxChild
  459. this.alignment8 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
  460. this.alignment8.Name = "alignment8";
  461. // Container child alignment8.Gtk.Container+ContainerChild
  462. this.table4 = new global::Gtk.Table(((uint)(3)), ((uint)(3)), false);
  463. this.table4.Name = "table4";
  464. this.table4.RowSpacing = ((uint)(6));
  465. this.table4.ColumnSpacing = ((uint)(6));
  466. // Container child table4.Gtk.Table+TableChild
  467. this.buttonDown = new global::Gtk.Button();
  468. this.buttonDown.CanFocus = true;
  469. this.buttonDown.Name = "buttonDown";
  470. this.buttonDown.UseUnderline = true;
  471. global::Gtk.Image w40 = new global::Gtk.Image();
  472. w40.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-down-symbolic.symbolic.png");
  473. this.buttonDown.Image = w40;
  474. this.table4.Add(this.buttonDown);
  475. global::Gtk.Table.TableChild w41 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonDown]));
  476. w41.TopAttach = ((uint)(2));
  477. w41.BottomAttach = ((uint)(3));
  478. w41.LeftAttach = ((uint)(1));
  479. w41.RightAttach = ((uint)(2));
  480. w41.XOptions = ((global::Gtk.AttachOptions)(4));
  481. w41.YOptions = ((global::Gtk.AttachOptions)(4));
  482. // Container child table4.Gtk.Table+TableChild
  483. this.buttonForward = new global::Gtk.Button();
  484. this.buttonForward.CanFocus = true;
  485. this.buttonForward.Name = "buttonForward";
  486. this.buttonForward.UseUnderline = true;
  487. global::Gtk.Image w42 = new global::Gtk.Image();
  488. w42.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-up-symbolic.symbolic.png");
  489. this.buttonForward.Image = w42;
  490. this.table4.Add(this.buttonForward);
  491. global::Gtk.Table.TableChild w43 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonForward]));
  492. w43.LeftAttach = ((uint)(1));
  493. w43.RightAttach = ((uint)(2));
  494. w43.XOptions = ((global::Gtk.AttachOptions)(4));
  495. w43.YOptions = ((global::Gtk.AttachOptions)(4));
  496. // Container child table4.Gtk.Table+TableChild
  497. this.buttonLeft = new global::Gtk.Button();
  498. this.buttonLeft.CanFocus = true;
  499. this.buttonLeft.Name = "buttonLeft";
  500. this.buttonLeft.UseUnderline = true;
  501. global::Gtk.Image w44 = new global::Gtk.Image();
  502. w44.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-start-symbolic.symbolic.png");
  503. this.buttonLeft.Image = w44;
  504. this.table4.Add(this.buttonLeft);
  505. global::Gtk.Table.TableChild w45 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonLeft]));
  506. w45.TopAttach = ((uint)(1));
  507. w45.BottomAttach = ((uint)(2));
  508. w45.XOptions = ((global::Gtk.AttachOptions)(4));
  509. w45.YOptions = ((global::Gtk.AttachOptions)(4));
  510. // Container child table4.Gtk.Table+TableChild
  511. this.buttonRight = new global::Gtk.Button();
  512. this.buttonRight.CanFocus = true;
  513. this.buttonRight.Name = "buttonRight";
  514. this.buttonRight.UseUnderline = true;
  515. global::Gtk.Image w46 = new global::Gtk.Image();
  516. w46.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("monitor.ressources.pan-end-symbolic.symbolic.png");
  517. this.buttonRight.Image = w46;
  518. this.table4.Add(this.buttonRight);
  519. global::Gtk.Table.TableChild w47 = ((global::Gtk.Table.TableChild)(this.table4[this.buttonRight]));
  520. w47.TopAttach = ((uint)(1));
  521. w47.BottomAttach = ((uint)(2));
  522. w47.LeftAttach = ((uint)(2));
  523. w47.RightAttach = ((uint)(3));
  524. w47.XOptions = ((global::Gtk.AttachOptions)(4));
  525. w47.YOptions = ((global::Gtk.AttachOptions)(4));
  526. this.alignment8.Add(this.table4);
  527. this.vbox9.Add(this.alignment8);
  528. global::Gtk.Box.BoxChild w49 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.alignment8]));
  529. w49.Position = 0;
  530. w49.Expand = false;
  531. w49.Fill = false;
  532. // Container child vbox9.Gtk.Box+BoxChild
  533. this.table3 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false);
  534. this.table3.Name = "table3";
  535. this.table3.RowSpacing = ((uint)(6));
  536. this.table3.ColumnSpacing = ((uint)(6));
  537. // Container child table3.Gtk.Table+TableChild
  538. this.label3 = new global::Gtk.Label();
  539. this.label3.Name = "label3";
  540. this.label3.Xalign = 1F;
  541. this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Battery level:");
  542. this.label3.Justify = ((global::Gtk.Justification)(1));
  543. this.table3.Add(this.label3);
  544. global::Gtk.Table.TableChild w50 = ((global::Gtk.Table.TableChild)(this.table3[this.label3]));
  545. w50.YPadding = ((uint)(10));
  546. w50.XOptions = ((global::Gtk.AttachOptions)(4));
  547. w50.YOptions = ((global::Gtk.AttachOptions)(4));
  548. // Container child table3.Gtk.Table+TableChild
  549. this.labelBatteryLevel = new global::Gtk.Label();
  550. this.labelBatteryLevel.Name = "labelBatteryLevel";
  551. this.labelBatteryLevel.Xpad = 1;
  552. this.labelBatteryLevel.Xalign = 0F;
  553. this.labelBatteryLevel.LabelProp = global::Mono.Unix.Catalog.GetString("Unknown");
  554. this.table3.Add(this.labelBatteryLevel);
  555. global::Gtk.Table.TableChild w51 = ((global::Gtk.Table.TableChild)(this.table3[this.labelBatteryLevel]));
  556. w51.LeftAttach = ((uint)(1));
  557. w51.RightAttach = ((uint)(2));
  558. w51.YOptions = ((global::Gtk.AttachOptions)(4));
  559. this.vbox9.Add(this.table3);
  560. global::Gtk.Box.BoxChild w52 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.table3]));
  561. w52.Position = 2;
  562. w52.Expand = false;
  563. w52.Fill = false;
  564. // Container child vbox9.Gtk.Box+BoxChild
  565. this.checkButtonGetBattery = new global::Gtk.CheckButton();
  566. this.checkButtonGetBattery.CanFocus = true;
  567. this.checkButtonGetBattery.Name = "checkButtonGetBattery";
  568. this.checkButtonGetBattery.Label = global::Mono.Unix.Catalog.GetString("Get battery level");
  569. this.checkButtonGetBattery.Active = true;
  570. this.checkButtonGetBattery.DrawIndicator = true;
  571. this.checkButtonGetBattery.UseUnderline = true;
  572. this.vbox9.Add(this.checkButtonGetBattery);
  573. global::Gtk.Box.BoxChild w53 = ((global::Gtk.Box.BoxChild)(this.vbox9[this.checkButtonGetBattery]));
  574. w53.Position = 3;
  575. w53.Expand = false;
  576. w53.Fill = false;
  577. this.gtkAlignmentRobotControl.Add(this.vbox9);
  578. this.vbox12.Add(this.gtkAlignmentRobotControl);
  579. global::Gtk.Box.BoxChild w55 = ((global::Gtk.Box.BoxChild)(this.vbox12[this.gtkAlignmentRobotControl]));
  580. w55.Position = 1;
  581. this.vbox5.Add(this.vbox12);
  582. global::Gtk.Box.BoxChild w56 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.vbox12]));
  583. w56.Position = 4;
  584. this.alignment3.Add(this.vbox5);
  585. this.hbox3.Add(this.alignment3);
  586. global::Gtk.Box.BoxChild w58 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.alignment3]));
  587. w58.Position = 1;
  588. w58.Expand = false;
  589. w58.Fill = false;
  590. this.hbox1.Add(this.hbox3);
  591. global::Gtk.Box.BoxChild w59 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.hbox3]));
  592. w59.Position = 1;
  593. w59.Expand = false;
  594. w59.Fill = false;
  595. this.vbox1.Add(this.hbox1);
  596. global::Gtk.Box.BoxChild w60 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
  597. w60.Position = 1;
  598. this.Add(this.vbox1);
  599. if ((this.Child != null))
  600. {
  601. this.Child.ShowAll();
  602. }
  603. this.DefaultWidth = 1025;
  604. this.DefaultHeight = 686;
  605. this.Show();
  606. this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
  607. this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated);
  608. this.ShowLogWindowAction.Activated += new global::System.EventHandler(this.OnShowLogWindowActionActivated);
  609. this.checkButtonCameraOn.Clicked += new global::System.EventHandler(this.OnCheckButtonCameraOnClicked);
  610. this.checkButtonRobotPosition.Clicked += new global::System.EventHandler(this.OnCheckButtonRobotPositionClicked);
  611. this.checkButtonFPS.Toggled += new global::System.EventHandler(this.OnCheckButtonFPSToggled);
  612. this.buttonAskArena.Clicked += new global::System.EventHandler(this.OnButtonAskArenaClicked);
  613. this.drawingAreaCamera.ExposeEvent += new global::Gtk.ExposeEventHandler(this.OnDrawingAreaCameraExposeEvent);
  614. this.buttonServerConnection.Clicked += new global::System.EventHandler(this.OnButtonServerConnectionClicked);
  615. this.buttonRobotActivation.Clicked += new global::System.EventHandler(this.OnButtonRobotActivationClicked);
  616. this.buttonRight.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
  617. this.buttonLeft.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
  618. this.buttonForward.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
  619. this.buttonDown.Clicked += new global::System.EventHandler(this.OnButtonMouvClicked);
  620. }
  621. }