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.
|
|
|
[gd_scene load_steps=3 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://gui/MainMenu.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://gui/widgets/Background.tscn" type="PackedScene" id=2]
|
|
|
|
|
|
|
|
[node name="Application" 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
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_lock_": true,
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
|
|
|
margin_left = 478.0
|
|
|
|
margin_top = 257.0
|
|
|
|
margin_right = 546.0
|
|
|
|
margin_bottom = 343.0
|
|
|
|
|
|
|
|
[node name="NewPollButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
|
|
margin_right = 68.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
text = "New Poll"
|
|
|
|
|
|
|
|
[node name="SettingsButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
|
|
margin_top = 24.0
|
|
|
|
margin_right = 68.0
|
|
|
|
margin_bottom = 44.0
|
|
|
|
text = "Settings"
|
|
|
|
|
|
|
|
[node name="ExitButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
|
|
margin_top = 48.0
|
|
|
|
margin_right = 68.0
|
|
|
|
margin_bottom = 68.0
|
|
|
|
text = "Exit"
|
|
|
|
|
|
|
|
[node name="VersionLabel" type="Label" parent="CenterContainer/VBoxContainer"]
|
|
|
|
margin_top = 72.0
|
|
|
|
margin_right = 68.0
|
|
|
|
margin_bottom = 86.0
|
|
|
|
text = "v0.1"
|
|
|
|
align = 1
|
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/NewPollButton" to="." method="_on_NewPollButton_pressed"]
|
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/SettingsButton" to="." method="_on_SettingsButton_pressed"]
|
|
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"]
|