@ -1,8 +1,9 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=5 format=2]
[ext_resource path="res://gui/widgets/Background.tscn" type="PackedScene" id=1]
[ext_resource path="res://gui/forms/SettingsForm.gd" type="Script" id=2]
[ext_resource path="res://gui/popups/NoTwitchSettingsPopup.tscn" type="PackedScene" id=3]
[ext_resource path="res://gui/themes/AndroidAppTheme.tres" type="Theme" id=4]
[node name="SettingsForm" type="Control"]
anchor_right = 1.0
@ -24,23 +25,25 @@ __meta__ = {
}
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
margin_left = 125.0
margin_top = 123.0
margin_right = 475.0
margin_bottom = 377.0
margin_left = 5.0
margin_top = 149.0
margin_right = 595.0
margin_bottom = 649.0
rect_min_size = Vector2( 590, 500 )
[node name="TabContainer" type="TabContainer" parent="CenterContainer/VBoxContainer"]
margin_right = 3 50.0
margin_bottom = 23 0.0
rect_min_size = Vector2( 350, 230 )
margin_right = 59 0.0
margin_bottom = 44 0.0
size_flags_vertical = 3
[node name="Providers" type="Control" parent="CenterContainer/VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4 .0
margin_top = 32 .0
margin_right = -4 .0
margin_bottom = -4 .0
margin_left = 8 .0
margin_top = 60 .0
margin_right = -8 .0
margin_bottom = -8 .0
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/VBoxContainer/TabContainer/Providers"]
anchor_right = 1.0
@ -50,57 +53,79 @@ __meta__ = {
}
[node name="NoProvidersHelpLabel" type="RichTextLabel" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer"]
margin_right = 342 .0
margin_bottom = 5 0.0
rect_min_size = Vector2( 0, 5 0 )
margin_right = 585 .0
margin_bottom = 10 0.0
rect_min_size = Vector2( 0, 10 0 )
bbcode_enabled = true
bbcode_text = "Your community votes by sending commands such as \"B2\" in the chat. You must enable at least one provider or your polls will have no participants."
text = "Your community votes by sending commands such as \"B2\" in the chat. You must enable at least one provider or your polls will have no participants."
bbcode_text = "Your community votes by sending commands such as \"A4 B2\" in the chat. You must enable [b] at least one provider[/b] or your polls will have no participants."
text = "Your community votes by sending commands such as \"A4 B2\" in the chat. You must enable at least one provider or your polls will have no participants."
[node name="DemoContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer"]
margin_top = 54 .0
margin_right = 342 .0
margin_bottom = 94 .0
margin_top = 108 .0
margin_right = 585 .0
margin_bottom = 188 .0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="DemoProviderCheckButton" type="CheckButton" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/DemoContainer"]
margin_right = 176 .0
margin_bottom = 4 0.0
margin_right = 324 .0
margin_bottom = 8 0.0
text = "Demo Provider"
[node name="Label" type="Label" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/DemoContainer"]
margin_left = 180 .0
margin_top = 4 .0
margin_right = 330 .0
margin_bottom = 35 .0
[node name="DemoHelp Label" type="Label" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/DemoContainer"]
margin_left = 332 .0
margin_top = 12 .0
margin_right = 585 .0
margin_bottom = 68 .0
text = "Enable this to simulate
votes for a quick demo."
[node name="TwitchContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer"]
margin_top = 98 .0
margin_right = 342 .0
margin_bottom = 138 .0
margin_top = 196 .0
margin_right = 585 .0
margin_bottom = 276 .0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TwitchCheckButton" type="CheckButton" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/TwitchContainer"]
margin_right = 229 .0
margin_bottom = 4 0.0
margin_right = 415 .0
margin_bottom = 8 0.0
text = "Twitch Chat Commands"
[node name="TwitchConfigureButton" type="Button" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/TwitchContainer"]
margin_left = 23 3.0
margin_right = 30 5.0
margin_bottom = 4 0.0
margin_left = 4 23.0
margin_right = 553 .0
margin_bottom = 8 0.0
text = "Configure"
[node name="SmsContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer"]
margin_top = 284.0
margin_right = 585.0
margin_bottom = 364.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="SmsCheckButton" type="CheckButton" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/SmsContainer"]
margin_right = 337.0
margin_bottom = 80.0
disabled = true
text = "SMS Commands"
[node name="SmsHelpLabel" type="Label" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/SmsContainer"]
margin_left = 345.0
margin_top = 27.0
margin_right = 516.0
margin_bottom = 52.0
text = "Android 7+ only"
[node name="OtherContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer"]
margin_top = 142.0
visible = false
margin_top = 186.0
margin_right = 342.0
margin_bottom = 182.0
margin_bottom = 226 .0
__meta__ = {
"_edit_use_anchors_": false
}
@ -112,13 +137,12 @@ disabled = true
text = "Some other Chat Commands"
[node name="General" type="Control" parent="CenterContainer/VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4 .0
margin_top = 32 .0
margin_right = -4 .0
margin_bottom = -4 .0
margin_left = 8 .0
margin_top = 61 .0
margin_right = -8 .0
margin_bottom = -8 .0
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer/VBoxContainer/TabContainer/General"]
anchor_right = 1.0
@ -128,52 +152,54 @@ __meta__ = {
}
[node name="HelpLabel" type="RichTextLabel" parent="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer"]
margin_right = 342 .0
margin_bottom = 166 .0
margin_right = 574 .0
margin_bottom = 318 .0
size_flags_horizontal = 3
size_flags_vertical = 3
text = "TODO: General settings like background color (right now you need to run the source and change the clear color in the project settings)"
text = "General settings.
Open an issue in our tracker to request more."
__meta__ = {
"_edit_use_anchors_": false
}
[node name="WindowSizeContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer"]
margin_top = 170 .0
margin_right = 342 .0
margin_bottom = 194 .0
margin_top = 326 .0
margin_right = 574 .0
margin_bottom = 37 1.0
[node name="WindowSizeLabel" type="Label" parent="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer/WindowSizeContainer"]
margin_top = 5 .0
margin_right = 122 .0
margin_bottom = 19 .0
text = "Initial Window Size "
margin_top = 10 .0
margin_right = 87 .0
margin_bottom = 35 .0
text = "Window"
[node name="WindowSizeWidthLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer/WindowSizeContainer"]
margin_left = 126.0
margin_right = 184.0
margin_bottom = 24.0
margin_left = 95.0
margin_right = 259.0
margin_bottom = 45.0
grow_horizontal = 0
align = 1
[node name="XLabel" type="Label" parent="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer/WindowSizeContainer"]
margin_left = 188 .0
margin_top = 5 .0
margin_right = 195 .0
margin_bottom = 19 .0
margin_left = 267 .0
margin_top = 10 .0
margin_right = 279 .0
margin_bottom = 35 .0
text = "x"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="WindowSizeHeightLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer/WindowSizeContainer"]
margin_left = 199 .0
margin_right = 257 .0
margin_bottom = 2 4.0
margin_left = 287 .0
margin_right = 451 .0
margin_bottom = 45 .0
align = 1
[node name="WindowSizeDetectionButton" type="Button" parent="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer/WindowSizeContainer"]
margin_left = 261 .0
margin_right = 316 .0
margin_bottom = 2 4.0
margin_left = 459 .0
margin_right = 552 .0
margin_bottom = 45 .0
hint_tooltip = "Set to the dimensions of this window."
text = "Detect"
@ -185,20 +211,21 @@ margin_bottom = 240.0
rect_min_size = Vector2( 350, 200 )
[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer/VBoxContainer"]
margin_top = 23 4.0
margin_right = 3 50.0
margin_bottom = 254 .0
margin_top = 448 .0
margin_right = 59 0.0
margin_bottom = 500 .0
[node name="VSeparator" type="VSeparator" parent="CenterContainer/VBoxContainer/HBoxContainer"]
self_modulate = Color( 1, 1, 1, 0 )
margin_right = 296 .0
margin_bottom = 20 .0
margin_right = 478 .0
margin_bottom = 5 2.0
size_flags_horizontal = 3
[node name="DoneButton" type="Button" parent="CenterContainer/VBoxContainer/HBoxContainer"]
margin_left = 300.0
margin_right = 350.0
margin_bottom = 20.0
margin_left = 486.0
margin_right = 590.0
margin_bottom = 52.0
theme = ExtResource( 4 )
text = "DONE"
[node name="NoTwitchSettingsPopup" parent="." instance=ExtResource( 3 )]
@ -206,6 +233,7 @@ visible = false
[connection signal="toggled" from="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/DemoContainer/DemoProviderCheckButton" to="." method="_on_DemoProviderCheckButton_toggled"]
[connection signal="toggled" from="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/TwitchContainer/TwitchCheckButton" to="." method="_on_TwitchCheckButton_toggled"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/TwitchContainer/TwitchConfigureButton" to="." method="_on_TwitchConfigureButton_pressed"]
[connection signal="toggled" from="CenterContainer/VBoxContainer/TabContainer/Providers/VBoxContainer/SmsContainer/SmsCheckButton" to="." method="_on_SmsCheckButton_toggled"]
[connection signal="focus_exited" from="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer/WindowSizeContainer/WindowSizeWidthLineEdit" to="." method="_on_WindowSizeWidthLineEdit_focus_exited"]
[connection signal="focus_exited" from="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer/WindowSizeContainer/WindowSizeHeightLineEdit" to="." method="_on_WindowSizeHeightLineEdit_focus_exited"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/TabContainer/General/VBoxContainer/WindowSizeContainer/WindowSizeDetectionButton" to="." method="_on_WindowSizeDetectionButton_pressed"]