online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/sidebarright/UserPanel.tscn')
| -rw-r--r-- | ui/menus/sidebarright/UserPanel.tscn | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/ui/menus/sidebarright/UserPanel.tscn b/ui/menus/sidebarright/UserPanel.tscn new file mode 100644 index 0000000..8e73ec7 --- /dev/null +++ b/ui/menus/sidebarright/UserPanel.tscn @@ -0,0 +1,88 @@ +[gd_scene load_steps=8 format=2] + +[ext_resource path="res://ui/ubuntu-bold-regular.tres" type="DynamicFont" id=1] +[ext_resource path="res://assets/flags/rainbow.png" type="Texture" id=2] +[ext_resource path="res://ui/theme/main.theme" type="Theme" id=3] +[ext_resource path="res://ui/menus/sidebarright/UserPanel.gd" type="Script" id=4] +[ext_resource path="res://ui/animations/thehalo.tres" type="Material" id=5] + +[sub_resource type="StyleBoxFlat" id=1] +bg_color = Color( 0.372549, 0.564706, 0.152941, 1 ) + +[sub_resource type="StyleBoxFlat" id=2] +bg_color = Color( 0, 0, 0, 0 ) + +[node name="UserPanel" type="MarginContainer" groups=["userpanel"]] +anchor_right = 1.0 +anchor_bottom = 1.0 +rect_min_size = Vector2( 0, 40 ) +theme = ExtResource( 3 ) +custom_constants/margin_top = 2 +custom_constants/margin_bottom = 2 +script = ExtResource( 4 ) + +[node name="V" type="VBoxContainer" parent="."] +margin_top = 2.0 +margin_right = 1422.0 +margin_bottom = 798.0 +custom_constants/separation = 0 + +[node name="H" type="HBoxContainer" parent="V"] +margin_right = 1422.0 +margin_bottom = 30.0 +custom_constants/separation = 10 + +[node name="LoadingAnimation" type="ColorRect" parent="V/H"] +unique_name_in_owner = true +visible = false +material = ExtResource( 5 ) +margin_top = 2.0 +margin_right = 25.0 +margin_bottom = 27.0 +rect_min_size = Vector2( 25, 25 ) +size_flags_horizontal = 4 +size_flags_vertical = 4 + +[node name="Name" type="Label" parent="V/H"] +unique_name_in_owner = true +margin_right = 52.0 +margin_bottom = 30.0 +rect_min_size = Vector2( 0, 30 ) +custom_fonts/font = ExtResource( 1 ) +text = "name" +valign = 1 + +[node name="Flag" type="TextureRect" parent="V/H"] +unique_name_in_owner = true +margin_left = 62.0 +margin_top = 5.0 +margin_right = 88.0 +margin_bottom = 25.0 +rect_min_size = Vector2( 26, 20 ) +size_flags_horizontal = 4 +size_flags_vertical = 4 +texture = ExtResource( 2 ) +expand = true +stretch_mode = 6 + +[node name="Nps" type="Label" parent="V"] +unique_name_in_owner = true +visible = false +margin_top = 30.0 +margin_right = 1422.0 +margin_bottom = 53.0 +custom_fonts/font = ExtResource( 1 ) +text = "000004n/s" +valign = 1 + +[node name="ThinkingProgress" type="ProgressBar" parent="V"] +unique_name_in_owner = true +visible = false +margin_top = 30.0 +margin_right = 1422.0 +margin_bottom = 64.0 +rect_min_size = Vector2( 0, 10 ) +custom_styles/fg = SubResource( 1 ) +custom_styles/bg = SubResource( 2 ) +step = 1.0 +percent_visible = false |