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.

163 lines
5.3 KiB

[gd_scene load_steps=3 format=2]
[ext_resource path="res://gui/forms/twitch_config/TwitchAuthConfig.gd" type="Script" id=1]
[ext_resource path="res://gui/widgets/Background.tscn" type="PackedScene" id=2]
[node name="TwitchAuthConfig" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Background" parent="." instance=ExtResource( 2 )]
[node name="CenterContainer" type="CenterContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -1.05945
margin_bottom = -1.05945
__meta__ = {
"_edit_use_anchors_": false
}
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
margin_left = 410.0
margin_top = 221.0
margin_right = 613.0
margin_bottom = 379.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TitleLabel" type="Label" parent="CenterContainer/VBoxContainer"]
margin_right = 203.0
margin_bottom = 14.0
text = "TWITCH CHAT CONFIGURATION"
[node name="NickContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
margin_top = 18.0
margin_right = 203.0
margin_bottom = 42.0
hint_tooltip = "May be whatever you want."
size_flags_horizontal = 3
[node name="NickLabel" type="Label" parent="CenterContainer/VBoxContainer/NickContainer"]
margin_top = 5.0
margin_right = 28.0
margin_bottom = 19.0
text = "Nick"
[node name="NickLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/NickContainer"]
margin_left = 32.0
margin_right = 203.0
margin_bottom = 24.0
hint_tooltip = "May be whatever you want."
size_flags_horizontal = 3
[node name="ChannelContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
margin_top = 46.0
margin_right = 203.0
margin_bottom = 70.0
hint_tooltip = "Your lowercase twitch username, usually. "
size_flags_horizontal = 3
[node name="ChannelLabel" type="Label" parent="CenterContainer/VBoxContainer/ChannelContainer"]
margin_top = 5.0
margin_right = 51.0
margin_bottom = 19.0
text = "Channel"
[node name="ChannelLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/ChannelContainer"]
margin_left = 55.0
margin_right = 203.0
margin_bottom = 24.0
hint_tooltip = "Your lowercase twitch username, usually. "
size_flags_horizontal = 3
[node name="ClientIdContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
margin_top = 74.0
margin_right = 203.0
margin_bottom = 98.0
hint_tooltip = "May be generated here : https://dev.twitch.tv/dashboard/apps/create"
size_flags_horizontal = 3
[node name="ClientIdLabel" type="Label" parent="CenterContainer/VBoxContainer/ClientIdContainer"]
margin_top = 5.0
margin_right = 54.0
margin_bottom = 19.0
text = "Client Id"
[node name="ClientIdLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/ClientIdContainer"]
margin_left = 58.0
margin_right = 181.0
margin_bottom = 24.0
hint_tooltip = "May be generated here : https://dev.twitch.tv/dashboard/apps/create"
size_flags_horizontal = 3
[node name="ClientIdHelpButton" type="Button" parent="CenterContainer/VBoxContainer/ClientIdContainer"]
margin_left = 185.0
margin_right = 203.0
margin_bottom = 24.0
text = "?"
[node name="OAuthContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
margin_top = 102.0
margin_right = 203.0
margin_bottom = 126.0
hint_tooltip = "May be generated here : https://twitchapps.com/tmi/"
size_flags_horizontal = 3
[node name="OAuthLabel" type="Label" parent="CenterContainer/VBoxContainer/OAuthContainer"]
margin_top = 5.0
margin_right = 83.0
margin_bottom = 19.0
text = "OAuth Token"
[node name="OAuthLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/OAuthContainer"]
margin_left = 87.0
margin_right = 181.0
margin_bottom = 24.0
hint_tooltip = "May be generated here : https://twitchapps.com/tmi/"
size_flags_horizontal = 3
secret = true
[node name="OAuthHelpButton" type="Button" parent="CenterContainer/VBoxContainer/OAuthContainer"]
margin_left = 185.0
margin_right = 203.0
margin_bottom = 24.0
text = "?"
[node name="HSeparator" type="HSeparator" parent="CenterContainer/VBoxContainer"]
margin_top = 130.0
margin_right = 203.0
margin_bottom = 134.0
rect_min_size = Vector2( 200, 0 )
[node name="ButtonsContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
margin_top = 138.0
margin_right = 203.0
margin_bottom = 158.0
[node name="CancelButton" type="Button" parent="CenterContainer/VBoxContainer/ButtonsContainer"]
margin_right = 54.0
margin_bottom = 20.0
text = "Cancel"
[node name="VSeparator" type="VSeparator" parent="CenterContainer/VBoxContainer/ButtonsContainer"]
margin_left = 58.0
margin_right = 158.0
margin_bottom = 20.0
size_flags_horizontal = 3
[node name="SaveButton" type="Button" parent="CenterContainer/VBoxContainer/ButtonsContainer"]
margin_left = 162.0
margin_right = 203.0
margin_bottom = 20.0
text = "Save"
[connection signal="pressed" from="CenterContainer/VBoxContainer/ClientIdContainer/ClientIdHelpButton" to="." method="_on_ClientIdHelpButton_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/OAuthContainer/OAuthHelpButton" to="." method="_on_OAuthHelpButton_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/ButtonsContainer/CancelButton" to="." method="_on_CancelButton_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/ButtonsContainer/SaveButton" to="." method="_on_SaveButton_pressed"]