Files
Super-Mario-Bros.-Remastere…/addons/mod_tool/interface/global/input_options.tscn
2025-10-17 22:27:44 +01:00

42 lines
1.4 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://dyunxqcmy4esi"]
[ext_resource type="Script" uid="uid://8rtbm4ypixcs" path="res://addons/mod_tool/interface/global/input_options.gd" id="1"]
[sub_resource type="DPITexture" id="DPITexture_i2vx1"]
_source = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\"><path fill=\"#ffdd65\" d=\"M8 2a1 1 0 0 0-.85.484l-6 10A1 1 0 0 0 2 14h12a1 1 0 0 0 .857-1.514l-6-10a1 1 0 0 0-.85-.484zM7 5h2v5H7zm0 6h2v2H7z\"/></svg>
"
saturation = 2.0
color_map = {
Color(1, 0.37254903, 0.37254903, 1): Color(1, 0.47, 0.42, 1),
Color(0.37254903, 1, 0.5921569, 1): Color(0.45, 0.95, 0.5, 1),
Color(1, 0.8666667, 0.39607844, 1): Color(1, 0.87, 0.4, 1)
}
[node name="InputOptions" type="HBoxContainer"]
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 32.0
script = ExtResource("1")
[node name="Label" type="Label" parent="."]
layout_mode = 2
size_flags_horizontal = 3
text = " (optional)"
clip_text = true
[node name="ErrorIcon" type="TextureRect" parent="."]
unique_name_in_owner = true
self_modulate = Color(1, 1, 1, 0)
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
texture = SubResource("DPITexture_i2vx1")
expand_mode = 1
stretch_mode = 6
[node name="Input" type="OptionButton" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
[connection signal="item_selected" from="Input" to="." method="_on_Input_item_selected"]