Files
VirtualChemistry.Demo/Scenes/CompoundConstructor.tscn
2024-06-21 20:57:19 +08:00

44 lines
1.3 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://c1ww4cmceq16t"]
[ext_resource type="Script" path="res://Scenes/CompoundConstructor.cs" id="1_bhwhs"]
[ext_resource type="Script" path="res://Scenes/AddAtom.cs" id="2_ddlyc"]
[node name="CompoundConstructor" type="Panel"]
offset_left = -370.0
offset_top = -182.0
offset_right = 1678.0
offset_bottom = 842.0
script = ExtResource("1_bhwhs")
[node name="ControlLayer" type="CanvasLayer" parent="."]
[node name="Controller" type="HBoxContainer" parent="ControlLayer"]
offset_left = 57.0
offset_top = 588.0
offset_right = 877.0
offset_bottom = 632.0
[node name="AddAtom" type="MenuButton" parent="ControlLayer/Controller"]
layout_mode = 2
text = "Add Atom ^"
script = ExtResource("2_ddlyc")
[node name="BuildMixture" type="Button" parent="ControlLayer/Controller"]
layout_mode = 2
text = "Build
"
[node name="Clear" type="Button" parent="ControlLayer/Controller"]
layout_mode = 2
text = "Clear"
[node name="Back" type="Button" parent="ControlLayer/Controller"]
layout_mode = 2
text = "Back"
[node name="MovingLayer" type="CanvasLayer" parent="."]
[connection signal="pressed" from="ControlLayer/Controller/BuildMixture" to="." method="Build"]
[connection signal="pressed" from="ControlLayer/Controller/Clear" to="." method="ForceClear"]
[connection signal="pressed" from="ControlLayer/Controller/Back" to="." method="Back"]