Aviate_Godot_Chromium/chromiummockup/control.tscn

155 lines
3.6 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://jnqqk7ffrvkk"]
[ext_resource type="Script" path="res://GUI.gd" id="1_lvwfx"]
[node name="GUI" type="Control"]
layout_mode = 3
anchor_top = 0.059
anchor_right = 0.994
anchor_bottom = 0.988
offset_left = 13.0
offset_top = -0.232002
offset_right = -0.0880127
offset_bottom = -0.223999
script = ExtResource("1_lvwfx")
[node name="MenuButton" type="MenuButton" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.68
anchor_top = 0.842
anchor_right = 0.761
anchor_bottom = 0.94
offset_left = 4.35999
offset_top = -4.93207
offset_right = 4.37195
offset_bottom = -5.24005
text = "Launch"
[node name="Button" type="Button" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.564
anchor_top = 0.844
anchor_right = 0.646
anchor_bottom = 0.937
offset_left = 0.528015
offset_top = -0.223999
offset_right = 0.391968
offset_bottom = 0.697998
text = "Home"
[node name="Button2" type="Button" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.445
anchor_top = 0.842
anchor_right = 0.531
anchor_bottom = 0.937
offset_left = 0.139984
offset_top = 0.0679321
offset_right = 0.411987
offset_bottom = 3.698
text = "Setting"
[node name="Button3" type="Button" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.319
anchor_top = 0.845
anchor_right = 0.414
anchor_bottom = 0.938
offset_left = -0.212006
offset_top = 0.130005
offset_right = -0.272034
offset_bottom = 4.052
text = "Theme"
[node name="Button4" type="Button" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.185
anchor_top = 0.841
anchor_right = 0.282
anchor_bottom = 0.941
offset_left = -0.380005
offset_top = -0.286011
offset_right = 0.264008
offset_bottom = 4.11395
text = "Demo"
[node name="CEF" type="GDCef" parent="."]
[node name="Panel" type="Panel" parent="CEF"]
anchors_preset = -1
anchor_left = 0.148
anchor_top = 0.14
anchor_right = 0.896
anchor_bottom = 0.735
offset_left = -0.496002
offset_top = 0.279999
offset_right = -0.192017
offset_bottom = -0.279999
[node name="LineEdit" type="TextEdit" parent="CEF/Panel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.312
anchor_right = 0.765
anchor_bottom = 0.104
offset_left = -39.944
offset_top = 5.0
offset_right = -40.4301
offset_bottom = -0.0400009
[node name="Label" type="Label" parent="CEF/Panel"]
layout_mode = 0
offset_left = 175.0
offset_top = 9.0
offset_right = 211.0
offset_bottom = 34.0
text = "URL:"
[node name="Prev" type="Button" parent="CEF/Panel"]
layout_mode = 0
offset_left = 2.0
offset_top = 2.0
offset_right = 49.0
offset_bottom = 33.0
text = "<"
[node name="Home" type="Button" parent="CEF/Panel"]
layout_mode = 0
offset_left = 47.0
offset_right = 102.0
offset_bottom = 33.0
text = "Home"
[node name="Next" type="Button" parent="CEF/Panel"]
layout_mode = 0
offset_left = 103.0
offset_top = 2.0
offset_right = 152.0
offset_bottom = 33.0
text = ">"
[node name="TextureRect" type="TextureRect" parent="CEF/Panel"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.003
anchor_top = 0.122
anchor_right = 0.997
anchor_bottom = 0.939
offset_left = 0.414
offset_top = 0.029995
offset_right = -0.414062
offset_bottom = 20.485
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="CEF/Panel"]
[connection signal="text_changed" from="CEF/Panel/LineEdit" to="." method="_on_TextEdit_text_changed"]
[connection signal="pressed" from="CEF/Panel/Prev" to="." method="_on_Prev_pressed"]
[connection signal="pressed" from="CEF/Panel/Home" to="." method="_on_Home_pressed"]
[connection signal="pressed" from="CEF/Panel/Next" to="." method="_on_Next_pressed"]
[connection signal="gui_input" from="CEF/Panel/TextureRect" to="." method="_on_TextureRect_gui_input"]