mirror of
				https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
				synced 2025-10-31 11:49:42 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			52 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| [gd_scene load_steps=3 format=3 uid="uid://dlvpj0h0faaih"]
 | |
| 
 | |
| [ext_resource type="Script" uid="uid://dkdwnp05n1vy6" path="res://addons/mod_tool/interface/global/input_string_with_button.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="InputStringWithButton" type="HBoxContainer"]
 | |
| anchors_preset = 10
 | |
| anchor_right = 1.0
 | |
| offset_bottom = 24.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="HBoxContainer" type="HBoxContainer" parent="."]
 | |
| layout_mode = 2
 | |
| size_flags_horizontal = 3
 | |
| 
 | |
| [node name="Input" type="LineEdit" parent="HBoxContainer"]
 | |
| unique_name_in_owner = true
 | |
| layout_mode = 2
 | |
| size_flags_horizontal = 3
 | |
| 
 | |
| [node name="Button" type="Button" parent="HBoxContainer"]
 | |
| layout_mode = 2
 | |
| size_flags_vertical = 3
 | |
| text = " ... "
 | |
| 
 | |
| [connection signal="text_changed" from="HBoxContainer/Input" to="." method="_on_Input_text_changed"]
 | |
| [connection signal="pressed" from="HBoxContainer/Button" to="." method="emit_signal" binds= ["button_pressed"]]
 | 
