online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/GameUI.tscn')
-rw-r--r--ui/GameUI.tscn93
1 files changed, 5 insertions, 88 deletions
diff --git a/ui/GameUI.tscn b/ui/GameUI.tscn
index 5ce9684..74caf62 100644
--- a/ui/GameUI.tscn
+++ b/ui/GameUI.tscn
@@ -1,93 +1,20 @@
-[gd_scene load_steps=29 format=2]
+[gd_scene load_steps=15 format=2]
-[ext_resource path="res://ui/main.tres" type="Theme" id=1]
+[ext_resource path="res://ui/theme/main.tres" type="Theme" id=1]
[ext_resource path="res://ui/roboto.tres" type="DynamicFont" id=2]
[ext_resource path="res://assets/ui/Roboto-Medium.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://ui/TimerLabels.gd" type="Script" id=4]
[ext_resource path="res://ui/Timer.gd" type="Script" id=5]
-[ext_resource path="res://ui/MovesList.gd" type="Script" id=6]
+[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://assets/ui/whitespace.png" type="Texture" id=8]
-[ext_resource path="res://assets/ui/verdana-bold.ttf" type="DynamicFontData" id=9]
-[ext_resource path="res://assets/ui/checkedbox.png" type="Texture" id=10]
-[ext_resource path="res://assets/ui/button.png" type="Texture" id=11]
-[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]
-[ext_resource path="res://ui/BarTextureButton.tscn" type="PackedScene" id=16]
-[ext_resource path="res://assets/ui/flip_board.png" type="Texture" id=17]
+[ext_resource path="res://ui/barbutton/BarTextureButton.tscn" type="PackedScene" id=16]
[ext_resource path="res://ui/flipbutton.gd" type="Script" id=18]
[sub_resource type="DynamicFont" id=1]
size = 25
font_data = ExtResource( 3 )
-[sub_resource type="StyleBoxEmpty" id=2]
-
-[sub_resource type="StyleBoxEmpty" id=4]
-
-[sub_resource type="StyleBoxFlat" id=3]
-bg_color = Color( 0.0784314, 0.0784314, 0.0784314, 1 )
-border_width_left = 2
-border_width_top = 2
-border_width_right = 2
-border_width_bottom = 2
-border_color = Color( 1, 1, 1, 1 )
-corner_detail = 20
-
-[sub_resource type="StyleBoxEmpty" id=5]
-
-[sub_resource type="DynamicFont" id=7]
-size = 35
-font_data = ExtResource( 9 )
-
-[sub_resource type="Theme" id=6]
-default_font = SubResource( 7 )
-Button/colors/font_color = Color( 1, 1, 1, 1 )
-Button/colors/font_color_focus = Color( 1, 1, 1, 1 )
-Button/colors/font_color_hover = Color( 0, 0, 0, 1 )
-Button/colors/font_color_pressed = Color( 1, 1, 1, 1 )
-Button/styles/disabled = SubResource( 2 )
-Button/styles/focus = ExtResource( 13 )
-Button/styles/hover = ExtResource( 14 )
-Button/styles/normal = ExtResource( 13 )
-Button/styles/pressed = ExtResource( 13 )
-CheckBox/icons/checked = ExtResource( 10 )
-CheckBox/icons/checked_disabled = null
-CheckBox/icons/radio_checked = null
-CheckBox/icons/radio_checked_disabled = null
-CheckBox/icons/radio_unchecked = null
-CheckBox/icons/radio_unchecked_disabled = null
-CheckBox/icons/unchecked = ExtResource( 11 )
-CheckBox/icons/unchecked_disabled = null
-HBoxContainer/constants/separation = 15
-ItemList/colors/font_color = Color( 1, 1, 1, 1 )
-ItemList/colors/font_color_selected = Color( 0.905882, 0.905882, 0.905882, 1 )
-ItemList/styles/bg = SubResource( 4 )
-ItemList/styles/bg_focus = ExtResource( 12 )
-LineEdit/colors/cursor_color = Color( 1, 1, 1, 1 )
-LineEdit/colors/font_color = Color( 1, 1, 1, 1 )
-LineEdit/colors/font_color_uneditable = Color( 1, 1, 1, 0.67451 )
-LineEdit/styles/focus = ExtResource( 13 )
-LineEdit/styles/normal = ExtResource( 13 )
-LineEdit/styles/read_only = ExtResource( 13 )
-OptionButton/colors/font_color = Color( 1, 1, 1, 1 )
-OptionButton/colors/font_color_focus = Color( 1, 1, 1, 1 )
-OptionButton/colors/font_color_hover = Color( 0, 0, 0, 1 )
-OptionButton/colors/font_color_pressed = Color( 1, 1, 1, 1 )
-OptionButton/icons/arrow = ExtResource( 8 )
-PopupMenu/colors/font_color = Color( 1, 1, 1, 1 )
-PopupMenu/colors/font_color_accel = Color( 1, 1, 1, 0.8 )
-PopupMenu/colors/font_color_hover = Color( 1, 1, 1, 1 )
-PopupMenu/colors/font_color_separator = Color( 0.262745, 0.262745, 0.262745, 1 )
-PopupMenu/icons/radio_checked = ExtResource( 8 )
-PopupMenu/icons/radio_unchecked = ExtResource( 8 )
-PopupMenu/styles/hover = SubResource( 3 )
-PopupMenu/styles/panel = ExtResource( 12 )
-VBoxContainer/constants/separation = 15
-VScrollBar/styles/scroll = SubResource( 5 )
-
[sub_resource type="StyleBoxFlat" id=10]
bg_color = Color( 0, 0, 0, 1 )
@@ -160,18 +87,9 @@ align = 1
autowrap = true
script = ExtResource( 7 )
-[node name="MovesList" type="ScrollContainer" parent="Holder/Back/VBox"]
+[node name="MovesList" parent="Holder/Back/VBox" instance=ExtResource( 6 )]
margin_top = 238.0
-margin_right = 400.0
margin_bottom = 438.0
-rect_min_size = Vector2( 0, 200 )
-theme = SubResource( 6 )
-scroll_horizontal_enabled = false
-script = ExtResource( 6 )
-
-[node name="sans" type="GridContainer" parent="Holder/Back/VBox/MovesList"]
-custom_constants/vseparation = 0
-columns = 3
[node name="buttonbarholder" type="Control" parent="Holder/Back/VBox"]
visible = false
@@ -196,7 +114,6 @@ margin_right = 225.0
margin_bottom = 50.0
rect_min_size = Vector2( 50, 50 )
script = ExtResource( 18 )
-texture = ExtResource( 17 )
[node name="WhiteTime" type="Label" parent="Holder/Back/VBox"]
margin_top = 453.0