Emote.tscn 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. [gd_scene load_steps=4 format=3 uid="uid://bmsbt0owg4j86"]
  2. [ext_resource type="Theme" uid="uid://dhb6h35g1bk0x" path="res://data/themes/DefaultTheme.tres" id="1_dnsxy"]
  3. [ext_resource type="Script" uid="uid://da1qit03a4t2l" path="res://sources/gui/Emote.gd" id="2_fbark"]
  4. [ext_resource type="Script" uid="uid://cuhwrw40yxve1" path="res://sources/gui/CellGrid.gd" id="3_2xdy7"]
  5. [node name="Panel" type="PanelContainer"]
  6. custom_minimum_size = Vector2(160, 96)
  7. offset_right = 160.0
  8. offset_bottom = 96.0
  9. theme = ExtResource("1_dnsxy")
  10. script = ExtResource("2_fbark")
  11. [node name="ItemContainer" type="ScrollContainer" parent="."]
  12. custom_minimum_size = Vector2(34, 34)
  13. layout_mode = 2
  14. size_flags_vertical = 3
  15. horizontal_scroll_mode = 3
  16. [node name="Grid" type="GridContainer" parent="ItemContainer"]
  17. clip_contents = true
  18. layout_mode = 2
  19. size_flags_horizontal = 3
  20. size_flags_vertical = 3
  21. theme_override_constants/h_separation = 4
  22. theme_override_constants/v_separation = 4
  23. script = ExtResource("3_2xdy7")
  24. maxCount = 17
  25. [connection signal="gui_input" from="." to="." method="OnGuiInput"]
  26. [connection signal="gui_input" from="ItemContainer/Grid" to="ItemContainer/Grid" method="_on_gui_input"]
  27. [connection signal="resized" from="ItemContainer/Grid" to="ItemContainer/Grid" method="_on_panel_resized"]