EmoteWall/src/Emotes.tscn
2024-10-21 22:30:26 -04:00

122 lines
3.6 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://dsp5r4i4h08v2"]
[ext_resource type="Script" path="res://src/emotes.gd" id="1_fhqqu"]
[ext_resource type="PackedScene" uid="uid://b2585bqiywbwv" path="res://addons/TwitchGod/nodes/TwitchEventListener.tscn" id="2_iwst4"]
[ext_resource type="PackedScene" uid="uid://b40miugn8pf1c" path="res://src/Emote.tscn" id="3_52qj6"]
[ext_resource type="Script" path="res://src/add_to_whitelist.gd" id="4_quosf"]
[node name="Emotes" type="Control"]
layout_mode = 3
anchors_preset = 0
offset_right = 1152.0
offset_bottom = 648.0
script = ExtResource("1_fhqqu")
[node name="TwitchEventListener" parent="." instance=ExtResource("2_iwst4")]
event = 9
[node name="Emote" parent="." instance=ExtResource("3_52qj6")]
layout_mode = 0
[node name="AddToWhitelist" type="Control" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -264.0
offset_top = -119.0
offset_right = 264.0
offset_bottom = 119.0
grow_horizontal = 2
grow_vertical = 2
pivot_offset = Vector2(268, 120)
script = ExtResource("4_quosf")
[node name="InsertIdLineEdit" type="LineEdit" parent="AddToWhitelist"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -35.0
offset_right = 158.0
offset_bottom = -4.0
grow_horizontal = 2
grow_vertical = 2
placeholder_text = "Insert Channel Name"
[node name="SubmitButton" type="Button" parent="AddToWhitelist"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -140.0
offset_top = 9.0
offset_right = -58.0
offset_bottom = 26.0
grow_horizontal = 2
grow_vertical = 2
text = "Submit"
[node name="CloseButton" type="Button" parent="AddToWhitelist"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -26.0
offset_bottom = 31.0
grow_horizontal = 0
text = "X"
[node name="AddLabel" type="Label" parent="AddToWhitelist"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -134.0
offset_top = -79.0
offset_right = 134.0
offset_bottom = -36.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 24
text = "Add to Whitelist"
horizontal_alignment = 1
[node name="AddedChannels" type="HBoxContainer" parent="AddToWhitelist"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -361.0
offset_top = 71.0
offset_right = 307.0
offset_bottom = 291.0
grow_horizontal = 2
grow_vertical = 2
[node name="AddedChannels1" type="VBoxContainer" parent="AddToWhitelist/AddedChannels"]
layout_mode = 2
[node name="AddedChannels2" type="VBoxContainer" parent="AddToWhitelist/AddedChannels"]
layout_mode = 2
[node name="AddedChannels3" type="VBoxContainer" parent="AddToWhitelist/AddedChannels"]
layout_mode = 2
[connection signal="received" from="TwitchEventListener" to="." method="_on_twitch_event_listener_received"]
[connection signal="new_whitelist_id" from="AddToWhitelist" to="." method="_on_add_to_whitelist_new_whitelist_id"]
[connection signal="focus_entered" from="AddToWhitelist/InsertIdLineEdit" to="AddToWhitelist" method="_on_insert_id_line_edit_focus_entered"]
[connection signal="focus_exited" from="AddToWhitelist/InsertIdLineEdit" to="AddToWhitelist" method="_on_insert_id_line_edit_focus_exited"]
[connection signal="pressed" from="AddToWhitelist/SubmitButton" to="AddToWhitelist" method="_on_submit_button_pressed"]
[connection signal="pressed" from="AddToWhitelist/CloseButton" to="AddToWhitelist" method="_on_close_button_pressed"]