thread.tscn 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [gd_scene load_steps=2 format=3 uid="uid://df1dmjx4ny0gd"]
  2. [ext_resource type="Script" path="res://thread.gd" id="1"]
  3. [node name="Thread" type="Control"]
  4. layout_mode = 3
  5. anchors_preset = 15
  6. anchor_right = 1.0
  7. anchor_bottom = 1.0
  8. grow_horizontal = 2
  9. grow_vertical = 2
  10. script = ExtResource("1")
  11. [node name="Load" type="Button" parent="."]
  12. layout_mode = 1
  13. anchors_preset = 8
  14. anchor_left = 0.5
  15. anchor_top = 0.5
  16. anchor_right = 0.5
  17. anchor_bottom = 0.5
  18. offset_left = -115.0
  19. offset_top = -227.5
  20. offset_right = 115.0
  21. offset_bottom = -172.5
  22. grow_horizontal = 2
  23. grow_vertical = 2
  24. size_flags_horizontal = 2
  25. size_flags_vertical = 2
  26. theme_override_font_sizes/font_size = 24
  27. text = "Load in Thread"
  28. [node name="ColorRect" type="Panel" parent="."]
  29. layout_mode = 1
  30. anchors_preset = 8
  31. anchor_left = 0.5
  32. anchor_top = 0.5
  33. anchor_right = 0.5
  34. anchor_bottom = 0.5
  35. offset_left = -115.5
  36. offset_top = -164.5
  37. offset_right = 115.5
  38. offset_bottom = 164.5
  39. grow_horizontal = 2
  40. grow_vertical = 2
  41. [node name="TextureRect" type="TextureRect" parent="."]
  42. layout_mode = 1
  43. anchors_preset = 8
  44. anchor_left = 0.5
  45. anchor_top = 0.5
  46. anchor_right = 0.5
  47. anchor_bottom = 0.5
  48. grow_horizontal = 2
  49. grow_vertical = 2
  50. stretch_mode = 5
  51. [connection signal="pressed" from="Load" to="." method="_on_load_pressed"]