mirror of
https://github.com/Relintai/uml_generator.git
synced 2024-11-22 11:09:09 +01:00
15 lines
301 B
GDScript
15 lines
301 B
GDScript
extends PanelContainer
|
|
|
|
func set_class_name(n):
|
|
$VBoxContainer/HBoxContainer/ClassName.text = n
|
|
|
|
|
|
func add_h_separator():
|
|
var hsep : HSeparator = HSeparator.new()
|
|
$VBoxContainer.add_child(hsep)
|
|
|
|
func add_line(line : String):
|
|
var l : Label = Label.new()
|
|
l.text = line
|
|
$VBoxContainer.add_child(l)
|