Main.tscn 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://Main.gd" type="Script" id=1]
  3. [node name="Control" type="Control"]
  4. anchor_right = 1.0
  5. anchor_bottom = 1.0
  6. script = ExtResource( 1 )
  7. __meta__ = {
  8. "_edit_use_anchors_": false
  9. }
  10. [node name="VBoxContainer" type="VBoxContainer" parent="."]
  11. anchor_left = 0.5
  12. anchor_top = 0.5
  13. anchor_right = 0.5
  14. anchor_bottom = 0.5
  15. margin_left = -151.0
  16. margin_top = -267.0
  17. margin_right = 152.0
  18. margin_bottom = -107.0
  19. __meta__ = {
  20. "_edit_use_anchors_": false
  21. }
  22. [node name="Header" type="Label" parent="VBoxContainer"]
  23. margin_right = 303.0
  24. margin_bottom = 14.0
  25. text = "Main Menu"
  26. align = 1
  27. __meta__ = {
  28. "_edit_use_anchors_": false
  29. }
  30. [node name="HSplitContainer" type="HSplitContainer" parent="VBoxContainer"]
  31. margin_top = 18.0
  32. margin_right = 303.0
  33. margin_bottom = 38.0
  34. [node name="Reconnect" type="Button" parent="VBoxContainer/HSplitContainer"]
  35. margin_right = 19.0
  36. margin_bottom = 20.0
  37. text = "x"
  38. [node name="HSeparator" type="HSeparator" parent="VBoxContainer/HSplitContainer"]
  39. margin_left = 31.0
  40. margin_right = 303.0
  41. margin_bottom = 20.0
  42. [node name="GetIntPoint" type="Button" parent="VBoxContainer"]
  43. margin_top = 42.0
  44. margin_right = 303.0
  45. margin_bottom = 62.0
  46. text = "Get IntPoint"
  47. [node name="id" type="TextEdit" parent="VBoxContainer/GetIntPoint"]
  48. margin_left = 30.0
  49. margin_top = -1.0
  50. margin_right = 60.0
  51. margin_bottom = 21.0
  52. rect_pivot_offset = Vector2( 37, 83 )
  53. text = "id"
  54. __meta__ = {
  55. "_edit_use_anchors_": false
  56. }
  57. [node name="x" type="TextEdit" parent="VBoxContainer/GetIntPoint"]
  58. margin_left = 244.0
  59. margin_right = 266.0
  60. margin_bottom = 22.0
  61. text = "x"
  62. __meta__ = {
  63. "_edit_use_anchors_": false
  64. }
  65. [node name="y" type="TextEdit" parent="VBoxContainer/GetIntPoint"]
  66. margin_left = 280.0
  67. margin_right = 300.0
  68. margin_bottom = 21.0
  69. text = "y"
  70. __meta__ = {
  71. "_edit_use_anchors_": false
  72. }
  73. [node name="CreateIntPoint" type="Button" parent="VBoxContainer"]
  74. margin_top = 66.0
  75. margin_right = 303.0
  76. margin_bottom = 86.0
  77. text = "Create IntPoint"
  78. [node name="x" type="TextEdit" parent="VBoxContainer/CreateIntPoint"]
  79. margin_left = 244.0
  80. margin_right = 266.0
  81. margin_bottom = 22.0
  82. text = "x"
  83. __meta__ = {
  84. "_edit_use_anchors_": false
  85. }
  86. [node name="y" type="TextEdit" parent="VBoxContainer/CreateIntPoint"]
  87. margin_left = 280.0
  88. margin_right = 300.0
  89. margin_bottom = 21.0
  90. text = "y"
  91. __meta__ = {
  92. "_edit_use_anchors_": false
  93. }
  94. [node name="id" type="TextEdit" parent="VBoxContainer/CreateIntPoint"]
  95. margin_left = 30.0
  96. margin_top = -1.0
  97. margin_right = 60.0
  98. margin_bottom = 21.0
  99. rect_pivot_offset = Vector2( 37, 83 )
  100. text = "id"
  101. __meta__ = {
  102. "_edit_use_anchors_": false
  103. }
  104. [node name="UpdateIntPoint" type="Button" parent="VBoxContainer"]
  105. margin_top = 90.0
  106. margin_right = 303.0
  107. margin_bottom = 110.0
  108. text = "Update IntPoint"
  109. [node name="x" type="TextEdit" parent="VBoxContainer/UpdateIntPoint"]
  110. margin_left = 244.0
  111. margin_right = 266.0
  112. margin_bottom = 22.0
  113. text = "x"
  114. __meta__ = {
  115. "_edit_use_anchors_": false
  116. }
  117. [node name="y" type="TextEdit" parent="VBoxContainer/UpdateIntPoint"]
  118. margin_left = 280.0
  119. margin_right = 300.0
  120. margin_bottom = 21.0
  121. text = "y"
  122. __meta__ = {
  123. "_edit_use_anchors_": false
  124. }
  125. [node name="id" type="TextEdit" parent="VBoxContainer/UpdateIntPoint"]
  126. margin_left = 30.0
  127. margin_top = -1.0
  128. margin_right = 60.0
  129. margin_bottom = 21.0
  130. rect_pivot_offset = Vector2( 37, 83 )
  131. text = "id"
  132. __meta__ = {
  133. "_edit_use_anchors_": false
  134. }
  135. [node name="DeleteIntPoint2" type="Button" parent="VBoxContainer"]
  136. margin_top = 114.0
  137. margin_right = 303.0
  138. margin_bottom = 134.0
  139. text = "Delete IntPoint"
  140. [node name="x" type="TextEdit" parent="VBoxContainer/DeleteIntPoint2"]
  141. margin_left = 244.0
  142. margin_right = 266.0
  143. margin_bottom = 22.0
  144. text = "x"
  145. __meta__ = {
  146. "_edit_use_anchors_": false
  147. }
  148. [node name="y" type="TextEdit" parent="VBoxContainer/DeleteIntPoint2"]
  149. margin_left = 280.0
  150. margin_right = 300.0
  151. margin_bottom = 21.0
  152. text = "y"
  153. __meta__ = {
  154. "_edit_use_anchors_": false
  155. }
  156. [node name="id" type="TextEdit" parent="VBoxContainer/DeleteIntPoint2"]
  157. margin_left = 30.0
  158. margin_top = -1.0
  159. margin_right = 60.0
  160. margin_bottom = 21.0
  161. rect_pivot_offset = Vector2( 37, 83 )
  162. text = "id"
  163. __meta__ = {
  164. "_edit_use_anchors_": false
  165. }
  166. [connection signal="pressed" from="VBoxContainer/HSplitContainer/Reconnect" to="." method="_on_Reconnect_pressed"]
  167. [connection signal="pressed" from="VBoxContainer/GetIntPoint" to="." method="_on_GetIntPoint_pressed"]
  168. [connection signal="pressed" from="VBoxContainer/CreateIntPoint" to="." method="_on_CreateIntPoint_pressed"]
  169. [connection signal="pressed" from="VBoxContainer/UpdateIntPoint" to="." method="_on_UpdateIntPoint_pressed"]
  170. [connection signal="pressed" from="VBoxContainer/DeleteIntPoint2" to="." method="_on_DeleteIntPoint2_pressed"]