TD-66 CodeCleanup2.0
This commit is contained in:
parent
ba6fa4193b
commit
8c23ec64fa
6 changed files with 55 additions and 60 deletions
|
@ -1,12 +1,59 @@
|
||||||
[gd_scene load_steps=6 format=3 uid="uid://dtaaw31x3n22f"]
|
[gd_scene load_steps=6 format=3 uid="uid://dtaaw31x3n22f"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://scenes/v_box_container.gd" id="1_xvh5p"]
|
[ext_resource type="Script" path="res://scripts/login/v_box_container.gd" id="1_xvh5p"]
|
||||||
[ext_resource type="Script" path="res://scripts/Login/login_button.gd" id="2_lg3ab"]
|
|
||||||
[ext_resource type="Script" path="res://scenes/username_label.gd" id="2_sxlqo"]
|
|
||||||
[ext_resource type="Script" path="res://scenes/username_input.gd" id="3_q2601"]
|
|
||||||
|
|
||||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_d0bbp"]
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_d0bbp"]
|
||||||
|
|
||||||
|
[sub_resource type="GDScript" id="GDScript_ol411"]
|
||||||
|
script/source = "extends RichTextLabel
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
pass
|
||||||
|
"
|
||||||
|
|
||||||
|
[sub_resource type="GDScript" id="GDScript_4n687"]
|
||||||
|
script/source = "extends LineEdit
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
pass
|
||||||
|
"
|
||||||
|
|
||||||
|
[sub_resource type="GDScript" id="GDScript_7g1da"]
|
||||||
|
script/source = "extends Node
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
func _ready() -> void:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
func _process(delta: float) -> void:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
func _on_button_up() -> void:
|
||||||
|
|
||||||
|
pass # Replace with function body.
|
||||||
|
|
||||||
|
|
||||||
|
func _on_username_input_text_changed(new_text: String) -> void:
|
||||||
|
pass # Replace with function body.
|
||||||
|
"
|
||||||
|
|
||||||
[node name="Login" type="Control"]
|
[node name="Login" type="Control"]
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
|
@ -61,11 +108,11 @@ text = "Username:
|
||||||
"
|
"
|
||||||
fit_content = true
|
fit_content = true
|
||||||
scroll_active = false
|
scroll_active = false
|
||||||
script = ExtResource("2_sxlqo")
|
script = SubResource("GDScript_ol411")
|
||||||
|
|
||||||
[node name="UsernameInput" type="LineEdit" parent="Panel/VBoxContainer/InputContainer/UsernameContainer"]
|
[node name="UsernameInput" type="LineEdit" parent="Panel/VBoxContainer/InputContainer/UsernameContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
script = ExtResource("3_q2601")
|
script = SubResource("GDScript_4n687")
|
||||||
|
|
||||||
[node name="PasswordContainer" type="VBoxContainer" parent="Panel/VBoxContainer/InputContainer"]
|
[node name="PasswordContainer" type="VBoxContainer" parent="Panel/VBoxContainer/InputContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
@ -82,7 +129,7 @@ layout_mode = 2
|
||||||
[node name="Button" type="Button" parent="Panel/VBoxContainer"]
|
[node name="Button" type="Button" parent="Panel/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
text = "Login"
|
text = "Login"
|
||||||
script = ExtResource("2_lg3ab")
|
script = SubResource("GDScript_7g1da")
|
||||||
|
|
||||||
[node name="HTTPRequest" type="HTTPRequest" parent="Panel/VBoxContainer"]
|
[node name="HTTPRequest" type="HTTPRequest" parent="Panel/VBoxContainer"]
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
extends LineEdit
|
|
||||||
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
|
@ -1,11 +0,0 @@
|
||||||
extends RichTextLabel
|
|
||||||
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
|
@ -1,19 +0,0 @@
|
||||||
extends Node
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
func _on_button_up() -> void:
|
|
||||||
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
func _on_username_input_text_changed(new_text: String) -> void:
|
|
||||||
pass # Replace with function body.
|
|
11
test.gd
11
test.gd
|
@ -1,11 +0,0 @@
|
||||||
extends Control
|
|
||||||
|
|
||||||
|
|
||||||
# Called when the node enters the scene tree for the first time.
|
|
||||||
func _ready() -> void:
|
|
||||||
pass # Replace with function body.
|
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta: float) -> void:
|
|
||||||
pass
|
|
Loading…
Add table
Reference in a new issue