online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/GameUI.tscn')
| -rw-r--r-- | ui/GameUI.tscn | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/ui/GameUI.tscn b/ui/GameUI.tscn index 43901e7..c85aeb5 100644 --- a/ui/GameUI.tscn +++ b/ui/GameUI.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=16 format=2] +[gd_scene load_steps=18 format=2] [ext_resource path="res://ui/theme/main.tres" type="Theme" id=1] [ext_resource path="res://ui/roboto.tres" type="DynamicFont" id=2] @@ -7,6 +7,8 @@ [ext_resource path="res://ui/Timer.gd" type="Script" id=5] [ext_resource path="res://ui/sandisplay/SanDisplay.tscn" type="PackedScene" id=6] [ext_resource path="res://ui/Status.gd" type="Script" id=7] +[ext_resource path="res://ui/barbutton/resignbutton.gd" type="Script" id=8] +[ext_resource path="res://assets/ui/flag.png" type="Texture" id=9] [ext_resource path="res://ui/FENlabel.gd" type="Script" id=15] [ext_resource path="res://ui/barbutton/BarTextureButton.tscn" type="PackedScene" id=16] [ext_resource path="res://assets/ui/flip_board.png" type="Texture" id=17] @@ -106,16 +108,24 @@ custom_styles/panel = SubResource( 10 ) [node name="buttonbar" type="HBoxContainer" parent="Holder/Back/VBox/buttonbarholder"] margin_right = 400.0 margin_bottom = 50.0 +custom_constants/separation = 0 alignment = 1 [node name="FlipBoard" parent="Holder/Back/VBox/buttonbarholder/buttonbar" instance=ExtResource( 16 )] margin_left = 175.0 margin_right = 225.0 margin_bottom = 50.0 -rect_min_size = Vector2( 50, 50 ) script = ExtResource( 18 ) texture = ExtResource( 17 ) +[node name="ResignButton" parent="Holder/Back/VBox/buttonbarholder/buttonbar" instance=ExtResource( 16 )] +visible = false +margin_left = 200.0 +margin_right = 250.0 +margin_bottom = 50.0 +script = ExtResource( 8 ) +texture = ExtResource( 9 ) + [node name="WhiteTime" type="Label" parent="Holder/Back/VBox"] margin_top = 485.0 margin_right = 400.0 @@ -176,3 +186,4 @@ margin_right = -400.0 color = Color( 0, 0, 0, 0.784314 ) [connection signal="pressed" from="Holder/Back/VBox/buttonbarholder/buttonbar/FlipBoard" to="Holder/Back/VBox/buttonbarholder/buttonbar/FlipBoard" method="_pressed"] +[connection signal="pressed" from="Holder/Back/VBox/buttonbarholder/buttonbar/ResignButton" to="Holder/Back/VBox/buttonbarholder/buttonbar/ResignButton" method="_pressed"] |