bcp de characters

This commit is contained in:
E250429F
2026-09-03 09:43:13 +02:00
parent a061aff066
commit 025a866eef
1175 changed files with 85837 additions and 286 deletions
+27
View File
@@ -0,0 +1,27 @@
@tool
extends HBoxContainer
# Dialogic Editor toolbar. Works together with editors_mangager.
################################################################################
## EDITOR BUTTONS/LABELS
################################################################################
func _ready() -> void:
if owner.get_parent() is SubViewport:
return
%CustomButtons.custom_minimum_size.y = 33 * DialogicUtil.get_editor_scale()
for child in get_children():
if child is Button:
child.queue_free()
func add_button(icon: Texture, label:String, tooltip: String, placement:int) -> Button:
var button := Button.new()
button.icon = icon
button.text = label
button.tooltip_text = tooltip
button.theme_type_variation = "FlatButton"
button.size_flags_vertical = Control.SIZE_FILL
%CustomButtons.add_child(button)
return button