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.

EmitSignal.tscn 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. [gd_scene load_steps=8 format=2]
  2. [ext_resource path="res://addons/dialogic/Images/signal.svg" type="Texture" id=1]
  3. [ext_resource path="res://addons/dialogic/Editor/Pieces/EmitSignal.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/DragController.tscn" type="PackedScene" id=5]
  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.14902, 0.333333, 0.509804, 0.4 )
  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. [sub_resource type="StyleBoxFlat" id=2]
  23. bg_color = Color( 0.745098, 0.745098, 0.745098, 1 )
  24. corner_radius_top_left = 4
  25. corner_radius_top_right = 4
  26. corner_radius_bottom_right = 4
  27. corner_radius_bottom_left = 4
  28. expand_margin_left = 5.0
  29. expand_margin_right = 5.0
  30. [node name="EmitSignal" type="HBoxContainer"]
  31. margin_right = 1004.0
  32. margin_bottom = 42.0
  33. size_flags_horizontal = 3
  34. size_flags_vertical = 9
  35. script = ExtResource( 2 )
  36. __meta__ = {
  37. "_edit_use_anchors_": false
  38. }
  39. [node name="Indent" type="Control" parent="."]
  40. visible = false
  41. margin_bottom = 42.0
  42. [node name="PanelContainer" type="PanelContainer" parent="."]
  43. margin_right = 1004.0
  44. margin_bottom = 42.0
  45. mouse_filter = 1
  46. size_flags_horizontal = 3
  47. size_flags_vertical = 3
  48. custom_styles/panel = SubResource( 1 )
  49. __meta__ = {
  50. "_edit_use_anchors_": false
  51. }
  52. [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
  53. margin_left = 16.0
  54. margin_top = 6.0
  55. margin_right = 998.0
  56. margin_bottom = 36.0
  57. size_flags_horizontal = 3
  58. [node name="Header" type="HBoxContainer" parent="PanelContainer/VBoxContainer"]
  59. margin_right = 982.0
  60. margin_bottom = 28.0
  61. [node name="TextureRect" type="TextureRect" parent="PanelContainer/VBoxContainer/Header"]
  62. margin_right = 22.0
  63. margin_bottom = 28.0
  64. texture = ExtResource( 1 )
  65. stretch_mode = 6
  66. [node name="Title" type="Label" parent="PanelContainer/VBoxContainer/Header"]
  67. margin_left = 26.0
  68. margin_top = 7.0
  69. margin_right = 124.0
  70. margin_bottom = 21.0
  71. text = " Emit Signal "
  72. [node name="LineEdit" type="LineEdit" parent="PanelContainer/VBoxContainer/Header"]
  73. margin_left = 128.0
  74. margin_right = 176.0
  75. margin_bottom = 28.0
  76. custom_styles/read_only = SubResource( 2 )
  77. custom_styles/focus = SubResource( 2 )
  78. custom_styles/normal = SubResource( 2 )
  79. custom_colors/selection_color = Color( 0.345098, 0.345098, 0.345098, 1 )
  80. custom_colors/cursor_color = Color( 0, 0, 0, 1 )
  81. custom_colors/clear_button_color_pressed = Color( 0, 0, 0, 1 )
  82. custom_colors/font_color_selected = Color( 0, 0, 0, 1 )
  83. custom_colors/font_color = Color( 0, 0, 0, 1 )
  84. custom_colors/clear_button_color = Color( 0, 0, 0, 1 )
  85. custom_colors/font_color_uneditable = Color( 0, 0, 0, 1 )
  86. expand_to_text_length = true
  87. caret_blink = true
  88. caret_blink_speed = 0.5
  89. [node name="Preview" type="Label" parent="PanelContainer/VBoxContainer/Header"]
  90. margin_left = 180.0
  91. margin_top = 7.0
  92. margin_right = 180.0
  93. margin_bottom = 21.0
  94. custom_colors/font_color = Color( 1, 1, 1, 0.513726 )
  95. [node name="Spacer" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 3 )]
  96. margin_left = 184.0
  97. margin_right = 941.0
  98. margin_bottom = 28.0
  99. [node name="OptionButton" parent="PanelContainer/VBoxContainer/Header" instance=ExtResource( 4 )]
  100. margin_left = 945.0
  101. margin_right = 982.0
  102. margin_bottom = 28.0
  103. 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 ]
  104. [node name="DragController" parent="." instance=ExtResource( 5 )]
  105. [connection signal="text_changed" from="PanelContainer/VBoxContainer/Header/LineEdit" to="." method="_on_LineEdit_text_changed"]