online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/account/usernamepass.tscn')
| -rw-r--r-- | ui/menus/account/usernamepass.tscn | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/ui/menus/account/usernamepass.tscn b/ui/menus/account/usernamepass.tscn new file mode 100644 index 0000000..291a3dc --- /dev/null +++ b/ui/menus/account/usernamepass.tscn @@ -0,0 +1,89 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://assets/fonts/ubuntu/ubuntu-normal-nerd.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://ui/menus/account/Secret.gd" type="Script" id=2] +[ext_resource path="res://ui/menus/account/Restrict.gd" type="Script" id=3] +[ext_resource path="res://assets/fonts/migu.ttf" type="DynamicFontData" id=4] +[ext_resource path="res://ui/theme/main.theme" type="Theme" id=5] +[ext_resource path="res://ui/menus/account/usernamepass.gd" type="Script" id=6] +[ext_resource path="res://assets/fonts/ubuntu/ubuntu-bold.ttf" type="DynamicFontData" id=7] + +[sub_resource type="DynamicFont" id=2] +size = 60 +font_data = ExtResource( 7 ) +fallback/0 = ExtResource( 1 ) +fallback/1 = ExtResource( 4 ) + +[sub_resource type="StyleBoxEmpty" id=1] + +[node name="usernamepass" type="VBoxContainer"] +anchor_right = 1.0 +anchor_bottom = 1.0 +rect_min_size = Vector2( 0, 225 ) +mouse_filter = 2 +size_flags_horizontal = 4 +size_flags_vertical = 4 +theme = ExtResource( 5 ) +alignment = 1 +script = ExtResource( 6 ) + +[node name="Username" type="LineEdit" parent="."] +margin_left = 511.0 +margin_top = 334.0 +margin_right = 911.0 +margin_bottom = 388.0 +rect_min_size = Vector2( 400, 0 ) +size_flags_horizontal = 4 +size_flags_vertical = 0 +max_length = 15 +placeholder_text = "username goes here" +caret_blink = true +caret_blink_speed = 0.5 +script = ExtResource( 3 ) + +[node name="H" type="HBoxContainer" parent="."] +margin_top = 398.0 +margin_right = 1422.0 +margin_bottom = 466.0 +mouse_filter = 2 +custom_constants/separation = 2 +alignment = 1 + +[node name="Password" type="LineEdit" parent="H"] +margin_left = 480.0 +margin_top = 7.0 +margin_right = 880.0 +margin_bottom = 61.0 +rect_min_size = Vector2( 400, 0 ) +size_flags_horizontal = 4 +size_flags_vertical = 4 +max_length = 20 +secret = true +context_menu_enabled = false +placeholder_text = "password goes here" +caret_blink = true +caret_blink_speed = 0.5 +script = ExtResource( 3 ) + +[node name="Secret" type="Button" parent="H"] +margin_left = 882.0 +margin_right = 942.0 +margin_bottom = 68.0 +focus_mode = 0 +custom_colors/font_color_focus = Color( 1, 1, 1, 1 ) +custom_colors/font_color = Color( 1, 1, 1, 1 ) +custom_colors/font_color_hover = Color( 0.976471, 0.937255, 0.937255, 1 ) +custom_colors/font_color_pressed = Color( 1, 1, 1, 1 ) +custom_fonts/font = SubResource( 2 ) +custom_styles/hover = SubResource( 1 ) +custom_styles/pressed = SubResource( 1 ) +custom_styles/focus = SubResource( 1 ) +custom_styles/disabled = SubResource( 1 ) +custom_styles/normal = SubResource( 1 ) +toggle_mode = true +pressed = true +text = "" +script = ExtResource( 2 ) + +[connection signal="text_entered" from="Username" to="." method="_entered"] +[connection signal="text_entered" from="H/Password" to="." method="_entered"] |