128 lines
3.7 KiB
Text
128 lines
3.7 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://Graphics/UI/ui_theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://Graphics/space.png" type="Texture" id=2]
|
|
[ext_resource path="res://Graphics/UI/uifont.tres" type="DynamicFont" id=3]
|
|
[ext_resource path="res://Scenes/UI/SpaceMapInside.gd" type="Script" id=4]
|
|
|
|
[node name="MapPopup" type="PopupDialog"]
|
|
margin_right = 558.0
|
|
margin_bottom = 476.0
|
|
theme = ExtResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 15.0
|
|
margin_top = 15.0
|
|
margin_right = -15.0
|
|
margin_bottom = -15.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
margin_right = 528.0
|
|
margin_bottom = 446.0
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
custom_constants/separation = 10
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
margin_right = 528.0
|
|
margin_bottom = 24.0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
|
margin_top = 3.0
|
|
margin_right = 104.0
|
|
margin_bottom = 21.0
|
|
text = "S01\\AR SYSTEM"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer"]
|
|
margin_left = 108.0
|
|
margin_right = 528.0
|
|
margin_bottom = 24.0
|
|
size_flags_horizontal = 3
|
|
alignment = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label2" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/HBoxContainer"]
|
|
margin_left = 210.0
|
|
margin_top = 3.0
|
|
margin_right = 248.0
|
|
margin_bottom = 21.0
|
|
text = "SPD: "
|
|
align = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="CurrentSpeed" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/HBoxContainer"]
|
|
margin_left = 252.0
|
|
margin_top = 3.0
|
|
margin_right = 252.0
|
|
margin_bottom = 21.0
|
|
custom_colors/font_color = Color( 0.494118, 0.52549, 0.737255, 1 )
|
|
align = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Label3" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/HBoxContainer"]
|
|
margin_left = 256.0
|
|
margin_top = 3.0
|
|
margin_right = 296.0
|
|
margin_bottom = 21.0
|
|
text = "ANGL:"
|
|
align = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="CurrentAngle" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/HBoxContainer"]
|
|
margin_left = 300.0
|
|
margin_top = 3.0
|
|
margin_right = 300.0
|
|
margin_bottom = 21.0
|
|
custom_colors/font_color = Color( 0.494118, 0.52549, 0.737255, 1 )
|
|
align = 2
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Button" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer/HBoxContainer"]
|
|
margin_left = 304.0
|
|
margin_right = 420.0
|
|
margin_bottom = 24.0
|
|
text = "Set destination"
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Map" type="Control" parent="MarginContainer/VBoxContainer"]
|
|
margin_top = 34.0
|
|
margin_right = 528.0
|
|
margin_bottom = 446.0
|
|
rect_clip_content = true
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
script = ExtResource( 4 )
|
|
background = ExtResource( 2 )
|
|
font = ExtResource( 3 )
|
|
[connection signal="about_to_show" from="." to="MarginContainer/VBoxContainer/Map" method="_reset_position"]
|
|
[connection signal="popup_hide" from="." to="MarginContainer/VBoxContainer/Map" method="_on_hide"]
|
|
[connection signal="mouse_entered" from="MarginContainer/VBoxContainer/Map" to="MarginContainer/VBoxContainer/Map" method="_mouse_status" binds= [ true ]]
|
|
[connection signal="mouse_exited" from="MarginContainer/VBoxContainer/Map" to="MarginContainer/VBoxContainer/Map" method="_mouse_status" binds= [ false ]]
|