summaryrefslogtreecommitdiff
path: root/UI/lobby_setting.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-11-26 17:13:40 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-11-26 17:13:40 +0100
commitcb9bb9d1c757b53707c741a3c8c218b513ffb5ec (patch)
tree1e3741a70672504d71685db98b22f7fe61e0e6cb /UI/lobby_setting.gd
parent72863ffa31e27f4c6be862d80472cfb897fccaea (diff)
next commit
Diffstat (limited to 'UI/lobby_setting.gd')
-rw-r--r--UI/lobby_setting.gd26
1 files changed, 0 insertions, 26 deletions
diff --git a/UI/lobby_setting.gd b/UI/lobby_setting.gd
deleted file mode 100644
index a5b9e7e..0000000
--- a/UI/lobby_setting.gd
+++ /dev/null
@@ -1,26 +0,0 @@
-extends HBoxContainer
-
-
-signal value_changed(value: String)
-
-var label := "":
- set(value):
- $Label.text = str(value)
- name = str(value)
- get():
- return $Label.text
-
-var value: Variant = "":
- set(value):
- $TextEdit.text = str(value)
- get():
- return $TextEdit.text
-
-var disabled := false:
- set(value):
- disabled = value
- $TextEdit.editable = !disabled
-
-
-func _on_text_edit_text_changed(new_text: String) -> void:
- value_changed.emit(new_text)