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

47 lines
2.2 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://c4e1cn0qrak2v"]
[ext_resource type="StyleBox" uid="uid://d2f2wgj4omqrj" path="res://UI/CameraSwitch/CameraSwitchButtonNormal.tres" id="1_x7ttc"]
[ext_resource type="Script" path="res://UI/CameraSwitch/vehicleControlRoom.gd" id="1_ylqsv"]
[ext_resource type="StyleBox" uid="uid://c4cifub1prvg0" path="res://UI/CameraSwitch/CarmeraSwitchButtonPressed.tres" id="2_1408d"]
[ext_resource type="FontFile" uid="uid://bkbpyidjguavf" path="res://Assets/FeiHuaSongTi-2.ttf" id="2_y0n3c"]
[ext_resource type="ButtonGroup" uid="uid://bp8jp7h6rsj7y" path="res://UI/CameraSwitch/vehicleControlRoomBG.tres" id="3_3oxh3"]
[ext_resource type="Texture2D" uid="uid://crh0yovojc7wq" path="res://Assets/backIcon.png" id="4_vdrwi"]
[node name="VehicleControlRoom" type="Node2D"]
script = ExtResource("1_ylqsv")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
offset_right = 40.0
offset_bottom = 40.0
[node name="SparePartsCabinet" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_y0n3c")
theme_override_styles/normal = ExtResource("1_x7ttc")
theme_override_styles/hover = ExtResource("2_1408d")
theme_override_styles/pressed = ExtResource("2_1408d")
toggle_mode = true
button_pressed = true
button_group = ExtResource("3_3oxh3")
text = "备品柜"
[node name="PartsArea" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_y0n3c")
theme_override_styles/normal = ExtResource("1_x7ttc")
theme_override_styles/hover = ExtResource("2_1408d")
theme_override_styles/pressed = ExtResource("2_1408d")
toggle_mode = true
button_group = ExtResource("3_3oxh3")
text = "备品区"
[node name="Back" type="Button" parent="HBoxContainer"]
layout_mode = 2
theme_override_styles/normal = ExtResource("1_x7ttc")
theme_override_styles/hover = ExtResource("2_1408d")
icon = ExtResource("4_vdrwi")
[connection signal="pressed" from="HBoxContainer/SparePartsCabinet" to="." method="_on_spare_parts_cabinet_pressed"]
[connection signal="pressed" from="HBoxContainer/PartsArea" to="." method="_on_parts_area_pressed"]
[connection signal="pressed" from="HBoxContainer/Back" to="." method="_on_back_pressed"]