This commit is contained in:
shurongsen 2024-12-26 01:38:41 +08:00
parent 8d1a8f6a97
commit 87ed09aa80
10 changed files with 338 additions and 147 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -1,4 +1,4 @@
extends HBoxContainer
extends MarginContainer
@onready var side_display_texture_rect: TextureRect = %sideDisplayTextureRect
@onready var _3d_texture_rect: TextureRect = %"3DTextureRect"

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=49 format=3 uid="uid://dx5owafvbqdec"]
[gd_scene load_steps=57 format=3 uid="uid://dx5owafvbqdec"]
[ext_resource type="Script" path="res://common/base/base_control.gd" id="1_gebae"]
[ext_resource type="Script" path="res://Modules/data_panel.gd" id="1_h1ywm"]
@ -26,8 +26,10 @@
[ext_resource type="Texture2D" uid="uid://ku2yccf0rbwk" path="res://pad_hmi_ui/home/l2_2.png" id="23_30tmj"]
[ext_resource type="PackedScene" uid="uid://cffp3l0yvp4fg" path="res://Modules/volume_settings.tscn" id="24_xb5k6"]
[ext_resource type="PackedScene" uid="uid://ccp1epic52e7k" path="res://Modules/margin_container_2.tscn" id="25_8qx5b"]
[ext_resource type="Script" path="res://Modules/date_time.gd" id="25_jui6s"]
[ext_resource type="Texture2D" uid="uid://eqerf7cx3cfa" path="res://pad_hmi_ui/home/sitechoose_bg.png" id="26_h2ca6"]
[ext_resource type="Texture2D" uid="uid://c6y0bhe0ygnw2" path="res://pad_hmi_ui/home/pull_btn.png" id="27_mc4go"]
[ext_resource type="Script" path="res://Modules/site_selection_texture_rect.gd" id="28_4wyck"]
[ext_resource type="Texture2D" uid="uid://c8huui56t4lo4" path="res://pad_hmi_ui/home/locate_btn_dis.png" id="28_hx0jv"]
[ext_resource type="Texture2D" uid="uid://d3sqjh1bpfeyy" path="res://pad_hmi_ui/home/stop_btn_high.png" id="29_d8rna"]
[ext_resource type="Script" path="res://code/hsliderPor.gd" id="30_idfpi"]
@ -98,10 +100,72 @@ content_margin_left = 58.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_p77x8"]
texture = ExtResource("26_h2ca6")
texture_margin_left = 32.0
texture_margin_top = 32.0
texture_margin_right = 32.0
texture_margin_bottom = 28.0
region_rect = Rect2(0, 0, 576, 100)
region_rect = Rect2(0, 32, 576, 68)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_sfaow"]
[sub_resource type="ImageTexture" id="ImageTexture_c1s5e"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2n3wh"]
content_margin_left = 4.0
content_margin_top = 4.0
content_margin_right = 4.0
content_margin_bottom = 4.0
bg_color = Color(0.943114, 0.644787, 0.803611, 0.75)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
corner_detail = 6
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qe760"]
content_margin_left = 4.0
content_margin_top = 0.0
content_margin_right = 4.0
content_margin_bottom = 0.0
bg_color = Color(0.1, 0.1, 0.1, 0.6)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
corner_detail = 6
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_j3cf1"]
content_margin_left = 4.0
content_margin_top = 4.0
content_margin_right = 4.0
content_margin_bottom = 4.0
bg_color = Color(1, 1, 1, 0.75)
draw_center = false
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
corner_detail = 5
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[sub_resource type="Theme" id="Theme_f5wb5"]
ScrollContainer/styles/panel = SubResource("StyleBoxEmpty_sfaow")
VScrollBar/icons/decrement = SubResource("ImageTexture_c1s5e")
VScrollBar/icons/decrement_highlight = SubResource("ImageTexture_c1s5e")
VScrollBar/icons/decrement_pressed = SubResource("ImageTexture_c1s5e")
VScrollBar/icons/increment = SubResource("ImageTexture_c1s5e")
VScrollBar/icons/increment_highlight = SubResource("ImageTexture_c1s5e")
VScrollBar/icons/increment_pressed = SubResource("ImageTexture_c1s5e")
VScrollBar/styles/grabber = SubResource("StyleBoxFlat_2n3wh")
VScrollBar/styles/grabber_highlight = SubResource("StyleBoxFlat_2n3wh")
VScrollBar/styles/grabber_pressed = SubResource("StyleBoxFlat_2n3wh")
VScrollBar/styles/scroll = SubResource("StyleBoxFlat_qe760")
VScrollBar/styles/scroll_focus = SubResource("StyleBoxFlat_j3cf1")
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_v7412"]
texture = ExtResource("26_h2ca6")
@ -115,11 +179,19 @@ texture_margin_right = 6.0
expand_margin_top = 1.0
expand_margin_bottom = 1.0
[node name="DataPanel" type="HBoxContainer"]
theme_override_constants/separation = 30
[node name="DataPanel" type="MarginContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_h1ywm")
[node name="MediumMenu" type="MarginContainer" parent="."]
[node name="DataPanel" type="HBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 30
[node name="MediumMenu" type="MarginContainer" parent="DataPanel"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 15.0
@ -135,11 +207,11 @@ is_Rotation = null
is_OnClickScaleAwt = null
StatusTime = null
[node name="VBoxContainer" type="VBoxContainer" parent="MediumMenu"]
[node name="VBoxContainer" type="VBoxContainer" parent="DataPanel/MediumMenu"]
layout_mode = 2
theme_override_constants/separation = 50
[node name="CarInfoDisplay" type="HBoxContainer" parent="MediumMenu/VBoxContainer"]
[node name="CarInfoDisplay" type="HBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
size_flags_stretch_ratio = 1.51
@ -151,7 +223,7 @@ is_Rotation = null
is_OnClickScaleAwt = null
StatusTime = null
[node name="3DVehicle" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay"]
[node name="3DVehicle" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 2.8
@ -162,18 +234,18 @@ is_Rotation = null
size_max = 0.3
is_OnClickScaleAwt = null
[node name="3DTextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle"]
[node name="3DTextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle"]
unique_name_in_owner = true
material = SubResource("ShaderMaterial_yeotr")
layout_mode = 2
texture = ExtResource("4_fkt10")
stretch_mode = 6
[node name="3DVehicleInformation" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle"]
[node name="3DVehicleInformation" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle"]
unique_name_in_owner = true
layout_mode = 2
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation"]
[node name="Label" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
@ -181,20 +253,20 @@ theme_override_font_sizes/font_size = 22
theme_override_styles/normal = SubResource("StyleBoxEmpty_j2i4v")
text = "FPS:51"
[node name="TrafficLight" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation"]
[node name="TrafficLight" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
theme_override_constants/margin_top = 13
[node name="TrafficLight" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/TrafficLight"]
[node name="TrafficLight" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/TrafficLight"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
texture = ExtResource("5_6abkt")
[node name="DrivingInformation" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation"]
[node name="DrivingInformation" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
@ -206,42 +278,42 @@ is_Rotation = null
is_OnClickScaleAwt = null
StatusTime = null
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation"]
[node name="TextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation"]
layout_mode = 2
size_flags_vertical = 4
texture = ExtResource("6_gqb21")
[node name="MarginContainer" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation"]
[node name="MarginContainer" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation"]
layout_mode = 2
theme_override_constants/margin_left = 17
theme_override_constants/margin_right = 27
[node name="Steering" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer"]
[node name="Steering" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("7_tcrvr")
[node name="VBoxContainer" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_constants/separation = -3
[node name="Speed" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
[node name="Speed" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 49
text = "20.0"
[node name="SpeedUnit" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
[node name="SpeedUnit" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 23
text = "Km/h"
[node name="SteeringWheel" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer"]
[node name="SteeringWheel" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle/3DVehicleInformation/DrivingInformation/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 8
@ -249,7 +321,7 @@ size_flags_vertical = 4
texture = ExtResource("8_1mxjd")
script = ExtResource("1_gebae")
[node name="VehicleInformation" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay"]
[node name="VehicleInformation" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay"]
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("1_gebae")
@ -259,42 +331,42 @@ is_Rotation = null
is_OnClickScaleAwt = null
StatusTime = null
[node name="VBoxContainer" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation"]
[node name="VBoxContainer" type="VBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation"]
layout_mode = 2
theme_override_constants/separation = 32
[node name="InformationDisplay1" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
[node name="InformationDisplay1" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
layout_mode = 2
[node name="OnlineStatus" type="HBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1"]
[node name="OnlineStatus" type="HBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1"]
layout_mode = 2
theme_override_constants/separation = 10
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1/OnlineStatus"]
[node name="TextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1/OnlineStatus"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("9_682iw")
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1/OnlineStatus"]
[node name="Label" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1/OnlineStatus"]
layout_mode = 2
theme_override_font_sizes/font_size = 25
text = "在线"
[node name="NDK" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1"]
[node name="NDK" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("10_kebty")
[node name="control_modeTextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1"]
[node name="control_modeTextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay1"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
texture = ExtResource("11_7pajr")
[node name="InformationDisplay2" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
[node name="InformationDisplay2" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_top = 25
theme_override_constants/margin_bottom = 16
@ -306,59 +378,59 @@ is_Rotation = null
is_OnClickScaleAwt = null
StatusTime = null
[node name="MarginContainer" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2"]
[node name="MarginContainer" type="VBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2"]
layout_mode = 2
theme_override_constants/separation = 13
[node name="GearAdjustment" type="HBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer"]
[node name="GearAdjustment" type="HBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 73
alignment = 1
[node name="gearPosition0" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
[node name="gearPosition0" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 35
text = "P"
[node name="gearPosition2" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
[node name="gearPosition2" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 35
text = "R"
[node name="gearPosition3" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
[node name="gearPosition3" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 35
text = "N"
[node name="gearPosition4" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
[node name="gearPosition4" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/GearAdjustment"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 35
text = "D"
[node name="VBoxContainer" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = -29
[node name="MarginContainer" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer"]
[node name="MarginContainer" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 38
theme_override_constants/margin_top = 13
theme_override_constants/margin_right = 40
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer"]
[node name="TextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer"]
layout_mode = 2
size_flags_vertical = 0
texture = ExtResource("13_da81j")
[node name="HBoxContainer" type="HBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer"]
layout_mode = 2
alignment = 1
[node name="accel_status" type="TextureProgressBar" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
[node name="accel_status" type="TextureProgressBar" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
@ -367,7 +439,7 @@ value = 50.0
fill_mode = 1
texture_progress = ExtResource("14_rblgy")
[node name="brake_status" type="TextureProgressBar" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
[node name="brake_status" type="TextureProgressBar" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
@ -375,112 +447,112 @@ size_flags_vertical = 4
value = 50.0
texture_progress = ExtResource("14_rblgy")
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer"]
[node name="Label" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay2/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxEmpty_bmudn")
text = "ACC"
horizontal_alignment = 1
vertical_alignment = 1
[node name="InformationDisplay3" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
[node name="InformationDisplay3" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_top = 17
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3"]
[node name="TextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3"]
layout_mode = 2
texture = ExtResource("12_5pyxi")
[node name="MarginContainer" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3"]
[node name="MarginContainer" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3"]
layout_mode = 2
theme_override_constants/margin_left = 39
theme_override_constants/margin_top = 19
theme_override_constants/margin_right = 40
[node name="BatteryLife" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer"]
[node name="BatteryLife" type="VBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 0
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/BatteryLife"]
[node name="Label" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/BatteryLife"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 23
text = "续航"
[node name="BatteryLifeLabel" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/BatteryLife"]
[node name="BatteryLifeLabel" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/BatteryLife"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 34
text = "60"
[node name="Label3" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/BatteryLife"]
[node name="Label3" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/BatteryLife"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 23
text = "Km"
[node name="SmallMileage" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer"]
[node name="SmallMileage" type="VBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 4
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/SmallMileage"]
[node name="Label" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/SmallMileage"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 23
text = "小里程"
[node name="SmallMileageLabel" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/SmallMileage"]
[node name="SmallMileageLabel" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/SmallMileage"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 34
text = "20"
[node name="Label3" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/SmallMileage"]
[node name="Label3" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/SmallMileage"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 23
text = "Km"
[node name="Power" type="VBoxContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer"]
[node name="Power" type="VBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 8
theme_override_constants/separation = 13
[node name="Label" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/Power"]
[node name="Label" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/Power"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 23
text = "电量"
[node name="PowerTextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/Power"]
[node name="PowerTextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/Power"]
unique_name_in_owner = true
layout_mode = 2
texture = ExtResource("15_fxv8p")
[node name="PowerLabel" type="Label" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/Power"]
[node name="PowerLabel" type="Label" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay3/MarginContainer/Power"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 23
text = "70%"
[node name="InformationDisplay4" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
[node name="InformationDisplay4" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_top = 17
[node name="TextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4"]
[node name="TextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4"]
layout_mode = 2
texture = ExtResource("16_jnve3")
[node name="MarginContainer" type="MarginContainer" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4"]
[node name="MarginContainer" type="MarginContainer" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4"]
layout_mode = 2
theme_override_constants/margin_left = 39
theme_override_constants/margin_top = 29
theme_override_constants/margin_right = 40
theme_override_constants/margin_bottom = 27
[node name="CarbonDioxideTextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
[node name="CarbonDioxideTextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0
@ -491,7 +563,7 @@ script = ExtResource("1_gebae")
size_max = 2.0
is_OnClickScaleAwt = null
[node name="smokeTextureRect2" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
[node name="smokeTextureRect2" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 8
@ -502,7 +574,7 @@ script = ExtResource("1_gebae")
size_max = 2.0
is_OnClickScaleAwt = null
[node name="seatbelt" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
[node name="seatbelt" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0
@ -513,7 +585,7 @@ script = ExtResource("1_gebae")
size_max = 2.0
is_OnClickScaleAwt = null
[node name="Vcu_Report1TextureRect4" type="TextureRect" parent="MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
[node name="Vcu_Report1TextureRect4" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/VehicleInformation/VBoxContainer/InformationDisplay4/MarginContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 8
@ -524,7 +596,7 @@ script = ExtResource("1_gebae")
size_max = 2.0
is_OnClickScaleAwt = null
[node name="HBoxContainer2" type="HBoxContainer" parent="MediumMenu/VBoxContainer"]
[node name="HBoxContainer2" type="HBoxContainer" parent="DataPanel/MediumMenu/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 50
@ -535,7 +607,7 @@ is_Rotation = null
is_OnClickScaleAwt = null
StatusTime = null
[node name="mapTextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/HBoxContainer2"]
[node name="mapTextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/HBoxContainer2"]
unique_name_in_owner = true
modulate = Color(1, 0, 0, 1)
material = SubResource("ShaderMaterial_7qxv8")
@ -545,13 +617,13 @@ size_flags_stretch_ratio = 1.58
texture = ExtResource("21_h8qb6")
expand_mode = 1
[node name="TextureRect2" type="TextureRect" parent="MediumMenu/VBoxContainer/HBoxContainer2"]
[node name="TextureRect2" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 3
texture = ExtResource("22_co28d")
expand_mode = 1
[node name="sideDisplayTextureRect" type="TextureRect" parent="MediumMenu/VBoxContainer/HBoxContainer2/TextureRect2"]
[node name="sideDisplayTextureRect" type="TextureRect" parent="DataPanel/MediumMenu/VBoxContainer/HBoxContainer2/TextureRect2"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
@ -560,7 +632,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="RightMenu" type="MarginContainer" parent="."]
[node name="RightMenu" type="MarginContainer" parent="DataPanel"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 6.0
@ -574,48 +646,52 @@ is_Rotation = null
is_OnClickScaleAwt = null
StatusTime = null
[node name="VBoxContainer" type="VBoxContainer" parent="RightMenu"]
[node name="VBoxContainer" type="VBoxContainer" parent="DataPanel/RightMenu"]
layout_mode = 2
theme_override_constants/separation = 26
[node name="MarginContainer" type="MarginContainer" parent="RightMenu/VBoxContainer"]
[node name="MarginContainer" type="MarginContainer" parent="DataPanel/RightMenu/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 54
theme_override_constants/margin_top = 18
theme_override_constants/margin_right = 9
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer"]
[node name="Label" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 30
text = "25°C"
[node name="Label2" type="Label" parent="RightMenu/VBoxContainer/MarginContainer"]
[node name="dateTime" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 8
theme_override_fonts/font = SubResource("FontVariation_frbsn")
theme_override_font_sizes/font_size = 31
text = "2024-04-27 00:35:24"
script = ExtResource("25_jui6s")
[node name="VolumeSettings" parent="RightMenu/VBoxContainer" instance=ExtResource("24_xb5k6")]
[node name="VolumeSettings" parent="DataPanel/RightMenu/VBoxContainer" instance=ExtResource("24_xb5k6")]
layout_mode = 2
[node name="HSlider" parent="RightMenu/VBoxContainer/VolumeSettings" index="0"]
[node name="HSlider" parent="DataPanel/RightMenu/VBoxContainer/VolumeSettings" index="0"]
value = 40.0
[node name="MarginContainer2" parent="RightMenu/VBoxContainer" instance=ExtResource("25_8qx5b")]
[node name="MarginContainer2" parent="DataPanel/RightMenu/VBoxContainer" instance=ExtResource("25_8qx5b")]
layout_mode = 2
[node name="MarginContainer3" type="MarginContainer" parent="RightMenu/VBoxContainer"]
[node name="MarginContainer3" type="MarginContainer" parent="DataPanel/RightMenu/VBoxContainer"]
layout_mode = 2
mouse_filter = 2
theme_override_constants/margin_left = 14
theme_override_constants/margin_top = 105
[node name="TextureRect" type="TextureRect" parent="RightMenu/VBoxContainer/MarginContainer3"]
[node name="SiteSelectionTextureRect" type="TextureRect" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3"]
layout_mode = 2
mouse_filter = 0
texture = ExtResource("26_h2ca6")
script = ExtResource("28_4wyck")
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer3/TextureRect"]
[node name="Label" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionTextureRect"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 1
anchors_preset = 4
anchor_top = 0.5
@ -628,48 +704,128 @@ theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="MarginContainer" type="MarginContainer" parent="RightMenu/VBoxContainer/MarginContainer3"]
[node name="MarginContainer" type="MarginContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3"]
layout_mode = 2
size_flags_horizontal = 8
mouse_filter = 2
theme_override_constants/margin_left = 29
theme_override_constants/margin_right = 29
[node name="TextureRect" type="TextureRect" parent="RightMenu/VBoxContainer/MarginContainer3/MarginContainer"]
[node name="TextureRect" type="TextureRect" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/MarginContainer"]
layout_mode = 2
size_flags_vertical = 4
texture = ExtResource("27_mc4go")
[node name="Control" type="Control" parent="RightMenu/VBoxContainer/MarginContainer3"]
[node name="SiteSelectionDetails" type="Control" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3"]
unique_name_in_owner = true
z_index = 1
layout_mode = 2
mouse_filter = 2
[node name="ScrollContainer" type="ScrollContainer" parent="RightMenu/VBoxContainer/MarginContainer3/Control"]
[node name="SiteSelectionScrollContainer" type="ScrollContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_top = 0.74
anchor_right = 1.0
anchor_bottom = 4.61
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 0
horizontal_scroll_mode = 0
metadata/_edit_use_anchors_ = true
[node name="VBoxContainer" type="VBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer3/Control/ScrollContainer"]
[node name="MarginContainer" type="MarginContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2
theme_override_constants/margin_top = 28
theme_override_constants/margin_bottom = 28
script = ExtResource("1_gebae")
styleBox = SubResource("StyleBoxTexture_p77x8")
[node name="MarginContainer4" type="MarginContainer" parent="RightMenu/VBoxContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2
theme = SubResource("Theme_f5wb5")
[node name="Label" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer/VBoxContainer"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="Label2" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer/VBoxContainer"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="Label3" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer/VBoxContainer"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="Label4" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer/VBoxContainer"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="Label5" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer/VBoxContainer"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="Label6" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer/VBoxContainer"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="Label7" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer/VBoxContainer"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="Label8" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer/VBoxContainer"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="Label9" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionDetails/SiteSelectionScrollContainer/MarginContainer/VBoxContainer"]
modulate = Color(0.690196, 0.760784, 0.752941, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 28
theme_override_styles/normal = SubResource("StyleBoxEmpty_dyppf")
text = "站点选择"
[node name="MarginContainer4" type="MarginContainer" parent="DataPanel/RightMenu/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
theme_override_constants/margin_top = 51
[node name="HBoxContainer" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer4"]
[node name="HBoxContainer" type="HBoxContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer4"]
layout_mode = 2
theme_override_constants/separation = 39
theme_override_constants/separation = 33
alignment = 1
[node name="Button" type="Button" parent="RightMenu/VBoxContainer/MarginContainer4/HBoxContainer"]
[node name="Button" type="Button" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer4/HBoxContainer"]
layout_mode = 2
focus_mode = 0
theme_override_font_sizes/font_size = 32
@ -680,7 +836,7 @@ icon_alignment = 1
script = ExtResource("1_gebae")
is_Scale = true
[node name="Button2" type="Button" parent="RightMenu/VBoxContainer/MarginContainer4/HBoxContainer"]
[node name="Button2" type="Button" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer4/HBoxContainer"]
layout_mode = 2
focus_mode = 0
theme_override_font_sizes/font_size = 32
@ -691,12 +847,12 @@ icon_alignment = 1
script = ExtResource("1_gebae")
is_Scale = true
[node name="MarginContainer5" type="MarginContainer" parent="RightMenu/VBoxContainer"]
[node name="MarginContainer5" type="MarginContainer" parent="DataPanel/RightMenu/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 15
theme_override_constants/margin_top = 49
[node name="HSlider" type="HSlider" parent="RightMenu/VBoxContainer/MarginContainer5"]
[node name="HSlider" type="HSlider" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer5"]
layout_mode = 2
theme_override_icons/grabber = ExtResource("29_d8rna")
theme_override_icons/grabber_highlight = ExtResource("29_d8rna")
@ -707,66 +863,66 @@ script = ExtResource("30_idfpi")
texture1 = ExtResource("31_x5wo1")
texture2 = ExtResource("29_d8rna")
[node name="HBoxContainer" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer5"]
[node name="HBoxContainer" type="HBoxContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer5"]
layout_mode = 2
size_flags_horizontal = 4
mouse_filter = 2
theme_override_constants/separation = 230
[node name="Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer5/HBoxContainer"]
[node name="Label" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer5/HBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 29
text = "停止"
[node name="Label2" type="Label" parent="RightMenu/VBoxContainer/MarginContainer5/HBoxContainer"]
[node name="Label2" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer5/HBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 29
text = "启动"
[node name="MarginContainer7" type="MarginContainer" parent="RightMenu/VBoxContainer"]
[node name="MarginContainer7" type="MarginContainer" parent="DataPanel/RightMenu/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 41
[node name="HBoxContainer" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer7"]
[node name="HBoxContainer" type="HBoxContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer7"]
layout_mode = 2
theme_override_constants/separation = 21
[node name="TextureRect" type="TextureRect" parent="RightMenu/VBoxContainer/MarginContainer7/HBoxContainer"]
[node name="TextureRect" type="TextureRect" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer7/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("32_p3q22")
[node name="target_distance" type="Label" parent="RightMenu/VBoxContainer/MarginContainer7/HBoxContainer"]
[node name="target_distance" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer7/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 21
text = "500m"
[node name="HBoxContainer2" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer7"]
[node name="HBoxContainer2" type="HBoxContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer7"]
layout_mode = 2
size_flags_horizontal = 8
theme_override_constants/separation = 21
[node name="TextureRect" type="TextureRect" parent="RightMenu/VBoxContainer/MarginContainer7/HBoxContainer2"]
[node name="TextureRect" type="TextureRect" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer7/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("33_nsaf0")
[node name="estimate_time_label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer7/HBoxContainer2"]
[node name="estimate_time_label" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer7/HBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 21
text = "10min"
[node name="MarginContainer8" type="MarginContainer" parent="RightMenu/VBoxContainer"]
[node name="MarginContainer8" type="MarginContainer" parent="DataPanel/RightMenu/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = 1
[node name="distanceHScrollBar" type="HSlider" parent="RightMenu/VBoxContainer/MarginContainer8"]
[node name="distanceHScrollBar" type="HSlider" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer8"]
unique_name_in_owner = true
layout_mode = 2
theme_override_icons/grabber = ExtResource("34_q6dol")
@ -776,33 +932,34 @@ theme_override_styles/grabber_area = SubResource("StyleBoxTexture_gpo2x")
theme_override_styles/grabber_area_highlight = SubResource("StyleBoxTexture_gpo2x")
value = 50.0
[node name="MarginContainer9" type="MarginContainer" parent="RightMenu/VBoxContainer"]
[node name="MarginContainer9" type="MarginContainer" parent="DataPanel/RightMenu/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 16
theme_override_constants/margin_top = -7
[node name="HBoxContainer" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer9"]
[node name="HBoxContainer" type="HBoxContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer9"]
layout_mode = 2
theme_override_constants/separation = 21
[node name="Current_platform_Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer9/HBoxContainer"]
[node name="Current_platform_Label" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer9/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 25
text = "长通集团北"
[node name="HBoxContainer2" type="HBoxContainer" parent="RightMenu/VBoxContainer/MarginContainer9"]
[node name="HBoxContainer2" type="HBoxContainer" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer9"]
layout_mode = 2
size_flags_horizontal = 8
theme_override_constants/separation = 21
[node name="Next_platform_Label" type="Label" parent="RightMenu/VBoxContainer/MarginContainer9/HBoxContainer2"]
[node name="Next_platform_Label" type="Label" parent="DataPanel/RightMenu/VBoxContainer/MarginContainer9/HBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 25
text = "长通集团南"
[connection signal="on_click" from="MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle" to="." method="_on_d_vehicle_on_click"]
[connection signal="drag_ended" from="RightMenu/VBoxContainer/MarginContainer5/HSlider" to="RightMenu/VBoxContainer/MarginContainer5/HSlider" method="_on_drag_ended"]
[connection signal="on_click" from="DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle" to="." method="_on_d_vehicle_on_click"]
[connection signal="on_click" from="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionTextureRect" to="DataPanel/RightMenu/VBoxContainer/MarginContainer3/SiteSelectionTextureRect" method="_on_on_click"]
[connection signal="drag_ended" from="DataPanel/RightMenu/VBoxContainer/MarginContainer5/HSlider" to="DataPanel/RightMenu/VBoxContainer/MarginContainer5/HSlider" method="_on_drag_ended"]
[editable path="RightMenu/VBoxContainer/VolumeSettings"]
[editable path="DataPanel/RightMenu/VBoxContainer/VolumeSettings"]

View File

@ -0,0 +1,23 @@
extends Label
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
# 获取当前时间的字典
var current_time = Time.get_datetime_dict_from_system()
# 提取各部分并格式化为 "YYYY-MM-DD HH:mm:ss"
var formatted_time = "%04d-%02d-%02d %02d:%02d:%02d" % [
current_time.year,
current_time.month,
current_time.day,
current_time.hour,
current_time.minute,
current_time.second
]
text = formatted_time

View File

@ -1,7 +1,8 @@
[gd_scene load_steps=14 format=3 uid="uid://dd5e3n5lfbffj"]
[gd_scene load_steps=15 format=3 uid="uid://dd5e3n5lfbffj"]
[ext_resource type="Texture2D" uid="uid://bhsjkyho6jr42" path="res://pad_hmi_ui/home/l2_1.png" id="1_c65lw"]
[ext_resource type="Texture2D" uid="uid://cuekwjm0hawts" path="res://pad_hmi_ui/information/log_bg.png" id="2_j8yeg"]
[ext_resource type="Script" path="res://Modules/date_time.gd" id="2_n8emw"]
[ext_resource type="Script" path="res://common/base/base_control.gd" id="2_p6uk3"]
[ext_resource type="PackedScene" uid="uid://c2jso50cp2n4t" path="res://Modules/information_item.tscn" id="3_742pl"]
[ext_resource type="Texture2D" uid="uid://crgg6n2a4ggap" path="res://pad_hmi_ui/information/radar_high.png" id="4_deb0i"]
@ -47,6 +48,7 @@ text = "25°C"
layout_mode = 2
theme_override_font_sizes/font_size = 30
text = "2024-04-27 00:35:24"
script = ExtResource("2_n8emw")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=42 format=3 uid="uid://33cgqbhyfl47"]
[gd_scene load_steps=43 format=3 uid="uid://33cgqbhyfl47"]
[ext_resource type="Script" path="res://Modules/setting.gd" id="1_ehdr1"]
[ext_resource type="Texture2D" uid="uid://dncdx223e1re4" path="res://pad_hmi_ui/setting/function_bg.png" id="2_o74j2"]
@ -33,6 +33,7 @@
[ext_resource type="Texture2D" uid="uid://o418ai5uhori" path="res://pad_hmi_ui/setting/confirm_btn.png" id="18_i0avx"]
[ext_resource type="PackedScene" uid="uid://ctjlpah7am5se" path="res://Modules/update_progress.tscn" id="19_ra4y1"]
[ext_resource type="Texture2D" uid="uid://tiauoobg8vyr" path="res://pad_hmi_ui/setting/setting/l1-3.png" id="21_b1cxm"]
[ext_resource type="Script" path="res://Modules/date_time.gd" id="22_jad6j"]
[ext_resource type="Texture2D" uid="uid://c2wb86x10ngb7" path="res://pad_hmi_ui/setting/setting/l1-4.png" id="29_ou8fg"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mgevr"]
@ -446,35 +447,27 @@ styleBox = SubResource("StyleBoxTexture_mho40")
layout_mode = 2
theme_override_constants/separation = 0
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer"]
[node name="SystemInformation" type="MarginContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 19
size_flags_horizontal = 8
size_flags_vertical = 0
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 50
[node name="Temperature" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/SystemInformation"]
layout_mode = 2
size_flags_horizontal = 10
theme_override_colors/font_color = Color(0.952941, 0.952941, 0.952941, 1)
theme_override_font_sizes/font_size = 34
text = "25℃"
theme_override_constants/separation = 175
[node name="tab" type="Control" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(86.18, 0)
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/SystemInformation/HBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 30
text = "25°C"
[node name="Date" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
[node name="Label2" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/SystemInformation/HBoxContainer"]
layout_mode = 2
theme_override_colors/font_color = Color(0.952941, 0.952941, 0.952941, 1)
theme_override_font_sizes/font_size = 34
text = "2024-04-27"
[node name="Time" type="Label" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_colors/font_color = Color(0.952941, 0.952941, 0.952941, 1)
theme_override_font_sizes/font_size = 34
text = "00:35:24"
theme_override_font_sizes/font_size = 30
text = "2024-04-27 00:35:24"
script = ExtResource("22_jad6j")
[node name="tab" type="Control" parent="HBoxContainer/VBoxContainer/margin/VBoxContainer"]
custom_minimum_size = Vector2(0, 110.275)

View File

@ -0,0 +1,16 @@
extends BaseControl
func _on_on_click(_node: Variant) -> void:
print("--===")
%SiteSelectionDetails.visible = !%SiteSelectionDetails.visible
pass # Replace with function body.
func _input(event: InputEvent) -> void:
if event is InputEventMouseButton:
if event.pressed and not Rect2(%SiteSelectionScrollContainer.position, %SiteSelectionScrollContainer.size).has_point(get_local_mouse_position()):# 未悬停在区域上。
%SiteSelectionDetails.visible = false
pass
pass

View File

@ -2,11 +2,11 @@ extends BaseControl
@onready var main_3d_vehicle: MarginContainer = %Main3DVehicle
@onready var main_3d_vehicle_texture: BaseControl = %Main3DVehicleTexture
@onready var data_panel: HBoxContainer = %DataPanel
@onready var _3d_vehicle: BaseControl = $"HBoxContainer/MarginContainer/DataPanel/MediumMenu/VBoxContainer/CarInfoDisplay/3DVehicle"
@onready var main_3d_vehicle_background: NinePatchRect = %Main3DVehicleBackground
@onready var main_3d_vehicle_information: MarginContainer = %Main3DVehicleInformation
@onready var _3d_vehicle_information: MarginContainer = %"3DVehicleInformation"
@onready var data_panel = %DataPanel
@onready var _3d_vehicle
@onready var main_3d_vehicle_background: NinePatchRect
@onready var main_3d_vehicle_information: MarginContainer
@onready var _3d_vehicle_information: MarginContainer
@onready var pretend_main_3d_vehicle_information: MarginContainer
var isVolumeSettings = false:
set(value):
@ -20,7 +20,7 @@ func _ready() -> void:
main_3d_vehicle_information = find_child("Main3DVehicleInformation")
_3d_vehicle_information = find_child("3DVehicleInformation")
main_3d_vehicle_texture = find_child("Main3DVehicleTexture")
_3d_vehicle = find_child("3DVehicle")
#Engine.time_scale = 0.01
pass # Replace with function body.
@ -49,6 +49,7 @@ func _on_tabs_onclick(State: Variant) -> void:
func _on_data_panel_on_click_3d_vehicle() -> void:
print("--=======-----")
if !isVolumeSettings:
isVolumeSettings = true
main_3d_vehicle.visible = true

View File

@ -1,7 +1,7 @@
extends BaseControl
@onready var main_3d_vehicle_texture: BaseControl = %Main3DVehicleTexture
@onready var data_panel: HBoxContainer = %DataPanel
@onready var data_panel = %DataPanel
@onready var main_3d_vehicle_information: MarginContainer = %Main3DVehicleInformation
@onready var main_3d_vehicle_background: NinePatchRect = %Main3DVehicleBackground
func _ready() -> void:

View File

@ -33,6 +33,5 @@ pointing/emulate_touch_from_mouse=true
[rendering]
renderer/rendering_method="gl_compatibility"
renderer/rendering_method.mobile="gl_compatibility"
renderer/rendering_method="mobile"
textures/vram_compression/import_etc2_astc=true