2024-02-26 12:37:57 +01:00
|
|
|
[gd_scene load_steps=3 format=3 uid="uid://eioso6jb42jy"]
|
2023-12-15 22:44:25 +01:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://graph_node_renderer/obs_websocket_setup_dialog.gd" id="1_6ggla"]
|
2024-02-26 12:37:57 +01:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c1y0cg4arcbhw" path="res://graph_node_renderer/obs_ws_subscriptions_container.tscn" id="2_pab7h"]
|
2023-12-15 22:44:25 +01:00
|
|
|
|
|
|
|
[node name="OBSWebsocketSetupDialog" type="ConfirmationDialog"]
|
|
|
|
title = "OBS Websocket Setup"
|
|
|
|
initial_position = 4
|
|
|
|
size = Vector2i(500, 300)
|
|
|
|
script = ExtResource("1_6ggla")
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
|
offset_left = 8.0
|
|
|
|
offset_top = 8.0
|
|
|
|
offset_right = 492.0
|
|
|
|
offset_bottom = 251.0
|
|
|
|
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="VBoxContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
columns = 2
|
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/GridContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Port"
|
|
|
|
|
|
|
|
[node name="PortSpinBox" type="SpinBox" parent="VBoxContainer/GridContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
max_value = 25565.0
|
|
|
|
value = 4455.0
|
|
|
|
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/GridContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Password"
|
|
|
|
|
|
|
|
[node name="PasswordLineEdit" type="LineEdit" parent="VBoxContainer/GridContainer"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
secret = true
|
|
|
|
|
2024-02-26 12:37:57 +01:00
|
|
|
[node name="ToggleSubscriptionsButton" type="Button" parent="VBoxContainer"]
|
|
|
|
unique_name_in_owner = true
|
2023-12-15 22:44:25 +01:00
|
|
|
layout_mode = 2
|
2024-02-26 12:37:57 +01:00
|
|
|
size_flags_horizontal = 4
|
|
|
|
toggle_mode = true
|
|
|
|
text = "Subscriptions"
|
2023-12-15 22:44:25 +01:00
|
|
|
|
2024-02-26 12:37:57 +01:00
|
|
|
[node name="OBSWSSubscriptionsContainer" parent="VBoxContainer" instance=ExtResource("2_pab7h")]
|
|
|
|
visible = false
|
2023-12-15 22:44:25 +01:00
|
|
|
layout_mode = 2
|
|
|
|
|
2024-02-26 12:37:57 +01:00
|
|
|
[node name="ConnectButton" type="Button" parent="VBoxContainer"]
|
2023-12-15 22:44:25 +01:00
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 2
|
2024-02-26 12:37:57 +01:00
|
|
|
size_flags_horizontal = 4
|
2023-12-15 22:44:25 +01:00
|
|
|
text = "Connect"
|
2024-02-26 12:37:57 +01:00
|
|
|
|
|
|
|
[connection signal="toggled" from="VBoxContainer/ToggleSubscriptionsButton" to="VBoxContainer/OBSWSSubscriptionsContainer" method="set_visible"]
|