67 lines
3.4 KiB
Plaintext
67 lines
3.4 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://blsv4lgybr3nc"]
|
|
|
|
[ext_resource type="Script" path="res://UI/screenDoorOperate/screen_door_operate.gd" id="1_2p52y"]
|
|
[ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="1_5wvuu"]
|
|
[ext_resource type="Texture2D" uid="uid://c8lwj1sqanx5l" path="res://Assets/screenDoorOperate/胶带.png" id="1_pc0lg"]
|
|
[ext_resource type="FontFile" uid="uid://bkbpyidjguavf" path="res://Assets/FeiHuaSongTi-2.ttf" id="2_esllj"]
|
|
[ext_resource type="Texture2D" uid="uid://co57dk4piito4" path="res://Assets/screenDoorOperate/隔离带.png" id="2_k5cyw"]
|
|
|
|
[node name="ScreenDoorOperate" type="Window"]
|
|
title = "屏蔽门操作"
|
|
position = Vector2i(10, 36)
|
|
size = Vector2i(153, 111)
|
|
wrap_controls = true
|
|
theme = ExtResource("1_5wvuu")
|
|
theme_override_fonts/title_font = ExtResource("2_esllj")
|
|
script = ExtResource("1_2p52y")
|
|
|
|
[node name="PanelContainer" type="PanelContainer" parent="."]
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 15
|
|
theme_override_constants/margin_right = 15
|
|
theme_override_constants/margin_bottom = 15
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_top = 15
|
|
theme_override_constants/margin_bottom = 15
|
|
|
|
[node name="AdhesiveTape" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape"]
|
|
layout_mode = 2
|
|
texture = ExtResource("1_pc0lg")
|
|
expand_mode = 2
|
|
stretch_mode = 5
|
|
|
|
[node name="AdhesiveTape" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape"]
|
|
layout_mode = 2
|
|
text = "贴胶带"
|
|
|
|
[node name="IsolationStrip" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="TextureRect2" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip"]
|
|
layout_mode = 2
|
|
texture = ExtResource("2_k5cyw")
|
|
expand_mode = 2
|
|
|
|
[node name="IsolationStrip" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip"]
|
|
layout_mode = 2
|
|
text = "放置隔离带"
|
|
|
|
[connection signal="button_down" from="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape/AdhesiveTape" to="." method="_on_adhesive_tape_button_down"]
|
|
[connection signal="mouse_entered" from="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape/AdhesiveTape" to="." method="_on_adhesive_tape_mouse_entered"]
|
|
[connection signal="mouse_exited" from="PanelContainer/MarginContainer/VBoxContainer/MarginContainer/AdhesiveTape/AdhesiveTape" to="." method="_on_adhesive_tape_mouse_exited"]
|
|
[connection signal="button_down" from="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip/IsolationStrip" to="." method="_on_isolation_strip_button_down"]
|
|
[connection signal="mouse_entered" from="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip/IsolationStrip" to="." method="_on_isolation_strip_mouse_entered"]
|
|
[connection signal="mouse_exited" from="PanelContainer/MarginContainer/VBoxContainer/IsolationStrip/IsolationStrip" to="." method="_on_isolation_strip_mouse_exited"]
|