online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/confirm/Confirm.tscn')
| -rw-r--r-- | ui/confirm/Confirm.tscn | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ui/confirm/Confirm.tscn b/ui/confirm/Confirm.tscn new file mode 100644 index 0000000..3812a53 --- /dev/null +++ b/ui/confirm/Confirm.tscn @@ -0,0 +1,48 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://ui/theme/main.theme" type="Theme" id=1] +[ext_resource path="res://ui/barbutton/BarButton.theme" type="Theme" id=2] +[ext_resource path="res://ui/confirm/confirm.gd" type="Script" id=4] +[ext_resource path="res://ui/ubuntu-bold-regular.tres" type="DynamicFont" id=6] + +[node name="Confirm" type="WindowDialog"] +margin_right = 400.0 +margin_bottom = 150.0 +rect_min_size = Vector2( 400, 150 ) +theme = ExtResource( 1 ) +custom_fonts/title_font = ExtResource( 6 ) +popup_exclusive = true +script = ExtResource( 4 ) + +[node name="H" type="HBoxContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +custom_constants/separation = 0 +alignment = 1 + +[node name="yes" type="Button" parent="H"] +margin_left = 100.0 +margin_top = 25.0 +margin_right = 200.0 +margin_bottom = 125.0 +rect_min_size = Vector2( 100, 100 ) +focus_mode = 0 +mouse_default_cursor_shape = 2 +size_flags_vertical = 4 +theme = ExtResource( 2 ) +text = "" + +[node name="no" type="Button" parent="H"] +margin_left = 200.0 +margin_top = 25.0 +margin_right = 300.0 +margin_bottom = 125.0 +rect_min_size = Vector2( 100, 100 ) +focus_mode = 0 +mouse_default_cursor_shape = 2 +size_flags_vertical = 4 +theme = ExtResource( 2 ) +text = "" + +[connection signal="pressed" from="H/yes" to="." method="_pressed" binds= [ true ]] +[connection signal="pressed" from="H/no" to="." method="_pressed" binds= [ false ]] |