godot-psd-training/UI/ShortcutTool/shortcutTool.tscn
joylink_fanyuhong 99a6a37b11 字体调整
2024-07-15 14:46:32 +08:00

172 lines
6.7 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://cug8qjy51yafw"]
[ext_resource type="Script" path="res://UI/ShortcutTool/shortcutTool.gd" id="1_4mlqa"]
[ext_resource type="Texture2D" uid="uid://bfsm3drlyvjbo" path="res://Assets/tool.png" id="1_x2804"]
[ext_resource type="StyleBox" uid="uid://jpisci6v4xpk" path="res://UI/ShortcutTool/shortcutToolButton.tres" id="2_7rp77"]
[ext_resource type="FontFile" uid="uid://bkbpyidjguavf" path="res://Assets/FeiHuaSongTi-2.ttf" id="3_38j4n"]
[ext_resource type="Texture2D" uid="uid://b31l507x0hj0w" path="res://Assets/shortcutTool/电扶梯钥匙.png" id="4_k0i5y"]
[ext_resource type="Texture2D" uid="uid://d4dvknuw3cv3" path="res://Assets/shortcutTool/手提广播.png" id="5_ke6yi"]
[ext_resource type="Texture2D" uid="uid://bxxba4vjla0te" path="res://Assets/shortcutTool/围挡.png" id="6_wgpls"]
[ext_resource type="Texture2D" uid="uid://cmhrouhc2gln6" path="res://Assets/shortcutTool/警戒线.png" id="7_pfgqd"]
[ext_resource type="Texture2D" uid="uid://cj4whmxj7wv6v" path="res://Assets/shortcutTool/铁马.png" id="8_kxstf"]
[ext_resource type="Texture2D" uid="uid://dp1qa4u1c5jan" path="res://Assets/shortcutTool/警示牌.png" id="9_3bsby"]
[node name="ShortcutTool" type="Node2D"]
script = ExtResource("1_4mlqa")
[node name="ColorRect" type="ColorRect" parent="."]
offset_right = 610.0
offset_bottom = 67.0
color = Color(0.298039, 0.321569, 0.345098, 1)
[node name="MarginContainer" type="MarginContainer" parent="."]
offset_right = 610.0
offset_bottom = 67.0
theme_override_constants/margin_left = 0
theme_override_constants/margin_top = 12
theme_override_constants/margin_right = 6
theme_override_constants/margin_bottom = 12
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
[node name="MarginContainer" type="BoxContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
size_flags_stretch_ratio = 1.08
[node name="Sprite2D" type="Sprite2D" parent="MarginContainer/HBoxContainer/MarginContainer"]
scale = Vector2(0.18, 0.18)
texture = ExtResource("1_x2804")
[node name="BoxContainer" type="BoxContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 1.78
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/BoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("3_38j4n")
text = "快捷工具"
[node name="escalatorKey" type="Button" parent="MarginContainer/HBoxContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
icon = ExtResource("4_k0i5y")
icon_alignment = 1
[node name="handheldRadio" type="Button" parent="MarginContainer/HBoxContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
icon = ExtResource("5_ke6yi")
icon_alignment = 1
[node name="hoarding" type="Button" parent="MarginContainer/HBoxContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
icon = ExtResource("6_wgpls")
icon_alignment = 1
[node name="picketline" type="Button" parent="MarginContainer/HBoxContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
icon = ExtResource("7_pfgqd")
icon_alignment = 1
[node name="metalBarrier" type="Button" parent="MarginContainer/HBoxContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
icon = ExtResource("8_kxstf")
icon_alignment = 1
[node name="noticeSigns" type="Button" parent="MarginContainer/HBoxContainer"]
visible = false
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
icon = ExtResource("9_3bsby")
icon_alignment = 1
[node name="Button7" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[node name="Button8" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[node name="Button9" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[node name="Button10" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[node name="escalatorKeyT" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/normal = ExtResource("2_7rp77")
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[node name="handheldRadioT" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[node name="hoardingT" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[node name="picketlineT" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[node name="metalBarrierT" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[node name="noticeSignsT" type="Button" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/disabled = ExtResource("2_7rp77")
disabled = true
[connection signal="pressed" from="MarginContainer/HBoxContainer/escalatorKey" to="." method="_on_escalator_key_pressed"]
[connection signal="pressed" from="MarginContainer/HBoxContainer/handheldRadio" to="." method="_on_handheld_radio_pressed"]
[connection signal="pressed" from="MarginContainer/HBoxContainer/hoarding" to="." method="_on_hoarding_pressed"]
[connection signal="pressed" from="MarginContainer/HBoxContainer/picketline" to="." method="_on_picketline_pressed"]
[connection signal="pressed" from="MarginContainer/HBoxContainer/metalBarrier" to="." method="_on_metal_barrier_pressed"]
[connection signal="pressed" from="MarginContainer/HBoxContainer/noticeSigns" to="." method="_on_notice_signs_pressed"]