online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/GameUI.tscn')
| -rw-r--r-- | ui/GameUI.tscn | 43 |
1 files changed, 36 insertions, 7 deletions
diff --git a/ui/GameUI.tscn b/ui/GameUI.tscn index 0e2afc5..b12c656 100644 --- a/ui/GameUI.tscn +++ b/ui/GameUI.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=22 format=2] +[gd_scene load_steps=25 format=2] [ext_resource path="res://ui/main.tres" type="Theme" id=1] [ext_resource path="res://ui/roboto.tres" type="DynamicFont" id=2] @@ -14,6 +14,7 @@ [ext_resource path="res://ui/flatblack.tres" type="StyleBox" id=12] [ext_resource path="res://ui/button.tres" type="StyleBox" id=13] [ext_resource path="res://ui/buttonhover.tres" type="StyleBox" id=14] +[ext_resource path="res://ui/FENlabel.gd" type="Script" id=15] [sub_resource type="DynamicFont" id=1] size = 25 @@ -84,6 +85,14 @@ PopupMenu/styles/panel = ExtResource( 12 ) VBoxContainer/constants/separation = 15 VScrollBar/styles/scroll = SubResource( 5 ) +[sub_resource type="DynamicFont" id=8] +size = 15 +font_data = ExtResource( 3 ) + +[sub_resource type="DynamicFont" id=9] +size = 40 +font_data = ExtResource( 3 ) + [node name="UI" type="CanvasLayer"] [node name="Holder" type="Control" parent="."] @@ -114,9 +123,9 @@ __meta__ = { } [node name="BlackTime" type="Label" parent="Holder/Back/VBox"] -margin_top = 167.0 +margin_top = 105.0 margin_right = 400.0 -margin_bottom = 250.0 +margin_bottom = 188.0 custom_fonts/font = ExtResource( 2 ) text = "00:00.0" align = 1 @@ -147,9 +156,9 @@ autowrap = true script = ExtResource( 7 ) [node name="MovesList" type="ScrollContainer" parent="Holder/Back/VBox"] -margin_top = 300.0 +margin_top = 238.0 margin_right = 400.0 -margin_bottom = 500.0 +margin_bottom = 438.0 rect_min_size = Vector2( 0, 200 ) theme = SubResource( 6 ) scroll_horizontal_enabled = false @@ -160,9 +169,9 @@ custom_constants/vseparation = 0 columns = 3 [node name="WhiteTime" type="Label" parent="Holder/Back/VBox"] -margin_top = 550.0 +margin_top = 488.0 margin_right = 400.0 -margin_bottom = 633.0 +margin_bottom = 571.0 custom_fonts/font = ExtResource( 2 ) text = "00:00.0" align = 1 @@ -185,6 +194,26 @@ color = Color( 0, 0, 0, 1 ) [node name="Timer" type="Node" parent="Holder/Back/VBox"] script = ExtResource( 5 ) +[node name="FENlabel" type="LineEdit" parent="Holder/Back/VBox"] +margin_top = 621.0 +margin_right = 400.0 +margin_bottom = 695.0 +custom_colors/font_color_uneditable = Color( 1, 1, 1, 1 ) +custom_fonts/font = SubResource( 8 ) +text = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1" +editable = false +placeholder_text = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1" +script = ExtResource( 15 ) + +[node name="Label" type="Label" parent="Holder/Back/VBox/FENlabel"] +margin_top = -49.0 +margin_right = 400.0 +margin_bottom = 11.0 +custom_fonts/font = SubResource( 9 ) +text = "fen" +align = 1 +valign = 2 + [node name="Darken" type="ColorRect" parent="."] visible = false anchor_right = 1.0 |