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.

WaitSeconds.tscn 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. [gd_scene load_steps=8 format=2]
  2. [ext_resource path="res://addons/dialogic/Images/Events/Wait.svg" type="Texture" id=1]
  3. [ext_resource path="res://addons/dialogic/Editor/Pieces/WaitSeconds.gd" type="Script" id=2]
  4. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/Spacer.tscn" type="PackedScene" id=3]
  5. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/PieceExtraSettings.tscn" type="PackedScene" id=4]
  6. [ext_resource path="res://addons/dialogic/Editor/Pieces/Common/SpinBoxPreventDnD.gd" type="Script" id=6]
  7. [sub_resource type="StyleBoxFlat" id=1]
  8. content_margin_left = 16.0
  9. content_margin_right = 6.0
  10. content_margin_top = 6.0
  11. content_margin_bottom = 6.0
  12. bg_color = Color( 0.435294, 0.301961, 0.603922, 0.192157 )
  13. border_width_left = 2
  14. border_width_top = 2
  15. border_width_right = 2
  16. border_width_bottom = 2
  17. border_color = Color( 0.12549, 0.12549, 0.12549, 1 )
  18. corner_radius_top_left = 6
  19. corner_radius_top_right = 6
  20. corner_radius_bottom_right = 6
  21. corner_radius_bottom_left = 6
  22. [node name="WaitSeconds" type="HBoxContainer"]
  23. margin_right = 1004.0
  24. margin_bottom = 42.0
  25. size_flags_horizontal = 3
  26. size_flags_vertical = 9
  27. script = ExtResource( 2 )
  28. __meta__ = {
  29. "_edit_use_anchors_": false
  30. }
  31. [node name="Indent" type="Control" parent="."]
  32. visible = false
  33. margin_bottom = 42.0
  34. [node name="PanelContainer" type="PanelContainer" parent="."]
  35. margin_right = 1004.0
  36. margin_bottom = 42.0
  37. mouse_filter = 1
  38. size_flags_horizontal = 3
  39. size_flags_vertical = 3
  40. custom_styles/panel = SubResource( 1 )
  41. __meta__ = {
  42. "_edit_use_anchors_": false
  43. }
  44. [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
  45. margin_left = 16.0
  46. margin_top = 6.0
  47. margin_right = 998.0
  48. margin_bottom = 36.0
  49. size_flags_horizontal = 3
  50. [node name="Header" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
  51. margin_right = 982.0
  52. margin_bottom = 28.0
  53. [node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/Header"]
  54. margin_right = 22.0
  55. margin_bottom = 28.0
  56. texture = ExtResource( 1 )
  57. stretch_mode = 6
  58. [node name="Title" type="Label" parent="PanelContainer/VBoxContainer/Header"]
  59. margin_left = 26.0
  60. margin_top = 7.0
  61. margin_right = 75.0
  62. margin_bottom = 21.0
  63. text = " Wait "
  64. [node name="SpinBox" type="SpinBox" parent="PanelContainer/VBoxContainer/Header"]
  65. margin_left = 79.0
  66. margin_right = 153.0
  67. margin_bottom = 28.0
  68. min_value = 0.1
  69. value = 0.1
  70. allow_greater = true
  71. align = 1
  72. script = ExtResource( 6 )
  73. [node name="Title2" type="Label" parent="PanelContainer/VBoxContainer/Header"]
  74. margin_left = 157.0
  75. margin_top = 7.0
  76. margin_right = 218.0
  77. margin_bottom = 21.0
  78. text = " Seconds"
  79. [node name="Preview" type="Label" parent="PanelContainer/VBoxContainer/Header"]
  80. margin_left = 222.0
  81. margin_top = 7.0
  82. margin_right = 222.0
  83. margin_bottom = 21.0
  84. custom_colors/font_color = Color( 1, 1, 1, 0.513726 )
  85. [node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 3 )]
  86. margin_left = 226.0
  87. margin_right = 941.0
  88. margin_bottom = 28.0
  89. [node name="OptionButton" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 4 )]
  90. margin_left = 945.0
  91. margin_right = 982.0
  92. margin_bottom = 28.0
  93. items = [ "Move Up", null, 0, false, false, 0, 0, null, "", false, "Move Down", null, 0, false, false, 1, 0, null, "", false, "", null, 0, false, false, 2, 0, null, "", true, "Remove", null, 0, false, false, 3, 0, null, "", false ]
  94. [connection signal="value_changed" from="PanelContainer/VBoxContainer/Header/SpinBox" to="." method="_on_SpinBox_value_changed"]