online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/account/usernamepass.tscn')
| -rw-r--r-- | ui/menus/account/usernamepass.tscn | 45 |
1 files changed, 27 insertions, 18 deletions
diff --git a/ui/menus/account/usernamepass.tscn b/ui/menus/account/usernamepass.tscn index b795feb..78aebb5 100644 --- a/ui/menus/account/usernamepass.tscn +++ b/ui/menus/account/usernamepass.tscn @@ -1,14 +1,18 @@ [gd_scene load_steps=9 format=2] -[ext_resource path="res://assets/ui/eyemap.png" type="Texture" id=1] +[ext_resource path="res://assets/ui/ubuntu-bold.ttf" type="DynamicFontData" id=1] [ext_resource path="res://ui/menus/account/Secret.gd" type="Script" id=2] -[ext_resource path="res://assets/ui/eye.png" type="Texture" id=3] -[ext_resource path="res://assets/ui/eye_off.png" type="Texture" id=4] [ext_resource path="res://ui/theme/main.tres" type="Theme" id=5] [ext_resource path="res://ui/menus/account/usernamepass.gd" type="Script" id=6] [ext_resource path="res://ui/menus/account/Password.gd" type="Script" id=7] [ext_resource path="res://ui/menus/account/Username.gd" type="Script" id=8] +[sub_resource type="DynamicFont" id=2] +size = 85 +font_data = ExtResource( 1 ) + +[sub_resource type="StyleBoxEmpty" id=1] + [node name="usernamepass" type="VBoxContainer"] anchor_right = 1.0 anchor_bottom = 1.0 @@ -21,9 +25,9 @@ script = ExtResource( 6 ) [node name="Username" type="LineEdit" parent="."] margin_left = 361.0 -margin_top = 286.0 +margin_top = 288.0 margin_right = 1061.0 -margin_bottom = 392.0 +margin_bottom = 390.0 rect_min_size = Vector2( 700, 0 ) size_flags_horizontal = 4 size_flags_vertical = 0 @@ -34,16 +38,17 @@ caret_blink_speed = 0.5 script = ExtResource( 8 ) [node name="H" type="HBoxContainer" parent="."] -margin_top = 407.0 +margin_top = 405.0 margin_right = 1422.0 -margin_bottom = 513.0 +margin_bottom = 511.0 custom_constants/separation = 2 alignment = 1 [node name="Password" type="LineEdit" parent="H"] margin_left = 207.0 +margin_top = 2.0 margin_right = 1107.0 -margin_bottom = 106.0 +margin_bottom = 104.0 rect_min_size = Vector2( 900, 0 ) size_flags_horizontal = 4 size_flags_vertical = 4 @@ -55,23 +60,27 @@ caret_blink = true caret_blink_speed = 0.5 script = ExtResource( 7 ) -[node name="Secret" type="TextureButton" parent="H"] +[node name="Secret" type="Button" parent="H"] + focus_mode = 0 margin_left = 1109.0 margin_right = 1215.0 margin_bottom = 106.0 rect_min_size = Vector2( 106, 106 ) -focus_mode = 1 + +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 -enabled_focus_mode = 1 -texture_normal = ExtResource( 3 ) -texture_pressed = ExtResource( 4 ) -expand = true +text = "" script = ExtResource( 2 ) -focusedcolor = Color( 0.921569, 0.827451, 0.827451, 1 ) -map_tex = ExtResource( 1 ) [connection signal="text_changed" from="Username" to="Username" method="_on_text_changed"] [connection signal="text_changed" from="H/Password" to="H/Password" method="_on_text_changed"] -[connection signal="mouse_entered" from="H/Secret" to="H/Secret" method="_focus" binds= [ true ]] -[connection signal="mouse_exited" from="H/Secret" to="H/Secret" method="_focus" binds= [ false ]] |