[gd_scene load_steps=2 format=3 uid="uid://bf24pr1xj60o6"] [ext_resource type="Script" path="res://addons/gdUnit4/test/mocker/resources/scenes/TestScene.gd" id="1"] [node name="Control" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 size_flags_vertical = 3 script = ExtResource("1") [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] custom_minimum_size = Vector2(0, 40) layout_mode = 2 [node name="test1" type="Button" parent="VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 text = "Test 1" [node name="test2" type="Button" parent="VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 text = "Test 2" [node name="test3" type="Button" parent="VBoxContainer/HBoxContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 text = "Test 3" [node name="PanelContainer" type="TabContainer" parent="VBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/PanelContainer"] layout_mode = 2 [node name="Panel1" type="ColorRect" parent="VBoxContainer/PanelContainer/HBoxContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 [node name="Label" type="Label" parent="VBoxContainer/PanelContainer/HBoxContainer/Panel1"] layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_bottom = 14.0 grow_horizontal = 2 text = "Panel 1" [node name="Panel2" type="ColorRect" parent="VBoxContainer/PanelContainer/HBoxContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 [node name="Label" type="Label" parent="VBoxContainer/PanelContainer/HBoxContainer/Panel2"] layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_bottom = 14.0 grow_horizontal = 2 text = "Panel 2" [node name="Panel3" type="ColorRect" parent="VBoxContainer/PanelContainer/HBoxContainer"] custom_minimum_size = Vector2(100, 0) layout_mode = 2 [node name="Label" type="Label" parent="VBoxContainer/PanelContainer/HBoxContainer/Panel3"] layout_mode = 1 anchors_preset = 10 anchor_right = 1.0 offset_bottom = 14.0 grow_horizontal = 2 text = "Panel 3" [node name="Line2D" type="Line2D" parent="VBoxContainer"] points = PackedVector2Array(0, 0, 20, 0) width = 30.0 default_color = Color(1, 0.0509804, 0.192157, 1) [node name="Line2D2" type="Line2D" parent="VBoxContainer"] points = PackedVector2Array(20, 0, 40, 0) width = 30.0 default_color = Color(0.0392157, 1, 0.278431, 1) [node name="Line2D3" type="Line2D" parent="VBoxContainer"] points = PackedVector2Array(40, 0, 60, 0) width = 30.0 default_color = Color(1, 0.0392157, 0.247059, 1) [connection signal="pressed" from="VBoxContainer/HBoxContainer/test1" to="." method="_on_test_pressed" binds= [1]] [connection signal="pressed" from="VBoxContainer/HBoxContainer/test2" to="." method="_on_test_pressed" binds= [2]] [connection signal="pressed" from="VBoxContainer/HBoxContainer/test3" to="." method="_on_test_pressed" binds= [3]]