online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/confirm/Confirm.tscn')
-rw-r--r--ui/confirm/Confirm.tscn44
1 files changed, 44 insertions, 0 deletions
diff --git a/ui/confirm/Confirm.tscn b/ui/confirm/Confirm.tscn
new file mode 100644
index 0000000..400fd5c
--- /dev/null
+++ b/ui/confirm/Confirm.tscn
@@ -0,0 +1,44 @@
+[gd_scene load_steps=6 format=2]
+
+[ext_resource path="res://ui/theme/main.tres" type="Theme" id=1]
+[ext_resource path="res://ui/barbutton/BarTextureButton.tscn" type="PackedScene" id=2]
+[ext_resource path="res://assets/ui/close.png" type="Texture" id=3]
+[ext_resource path="res://ui/confirm/confirm.gd" type="Script" id=4]
+[ext_resource path="res://assets/ui/check.png" type="Texture" id=5]
+
+[node name="Confirm" type="WindowDialog"]
+margin_right = 576.0
+margin_bottom = 168.0
+rect_min_size = Vector2( 700, 0 )
+theme = ExtResource( 1 )
+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" parent="H" instance=ExtResource( 2 )]
+margin_left = 250.0
+margin_top = 34.0
+margin_right = 350.0
+margin_bottom = 134.0
+rect_min_size = Vector2( 100, 100 )
+size_flags_horizontal = 4
+size_flags_vertical = 4
+texture_normal = ExtResource( 5 )
+
+[node name="no" parent="H" instance=ExtResource( 2 )]
+margin_left = 350.0
+margin_top = 34.0
+margin_right = 450.0
+margin_bottom = 134.0
+rect_min_size = Vector2( 100, 100 )
+size_flags_horizontal = 4
+size_flags_vertical = 4
+texture_normal = ExtResource( 3 )
+
+[connection signal="pressed" from="H/yes" to="." method="_pressed" binds= [ true ]]
+[connection signal="pressed" from="H/no" to="." method="_pressed" binds= [ false ]]