From 924c478b8d55e116fd0852213fce0c1be6e392b5 Mon Sep 17 00:00:00 2001 From: TsubakiLoL <2789646812@qq.com> Date: Sat, 14 Dec 2024 20:44:56 +0800 Subject: [PATCH] update --- Robo-Bus-A31-HMI/Modules/setting.tscn | 6 +++- Robo-Bus-A31-HMI/Modules/update_progress.tscn | 32 +++++++++---------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/Robo-Bus-A31-HMI/Modules/setting.tscn b/Robo-Bus-A31-HMI/Modules/setting.tscn index 06f49c1..442be00 100644 --- a/Robo-Bus-A31-HMI/Modules/setting.tscn +++ b/Robo-Bus-A31-HMI/Modules/setting.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=36 format=3 uid="uid://33cgqbhyfl47"] +[gd_scene load_steps=37 format=3 uid="uid://33cgqbhyfl47"] [ext_resource type="Script" path="res://Modules/setting.gd" id="1_ehdr1"] [ext_resource type="Texture2D" uid="uid://c17iqjrj23ojq" path="res://pad_hmi_ui/setting/setting_bg_cut.png" id="1_x62x2"] @@ -41,6 +41,8 @@ texture = ExtResource("5_ba7hx") [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_jad8g"] texture = ExtResource("9_i06j1") +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_emjfk"] + [sub_resource type="StyleBoxTexture" id="StyleBoxTexture_12j7c"] texture = ExtResource("13_g54n4") @@ -530,6 +532,7 @@ theme_override_styles/panel = SubResource("StyleBoxTexture_jad8g") unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 30 +theme_override_styles/focus = SubResource("StyleBoxEmpty_emjfk") text = "ws://192.168.4.88:9091" alignment = 1 flat = true @@ -658,6 +661,7 @@ texture = ExtResource("16_t8xnk") [node name="UpdateMesPanel" type="MarginContainer" parent="HBoxContainer/VBoxContainer/RightBottonPanel/VBoxContainer/UpdateLog"] unique_name_in_owner = true +visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 diff --git a/Robo-Bus-A31-HMI/Modules/update_progress.tscn b/Robo-Bus-A31-HMI/Modules/update_progress.tscn index d9d594f..05662d6 100644 --- a/Robo-Bus-A31-HMI/Modules/update_progress.tscn +++ b/Robo-Bus-A31-HMI/Modules/update_progress.tscn @@ -7,22 +7,6 @@ [ext_resource type="Texture2D" uid="uid://d4m85u6yl6py8" path="res://pad_hmi_ui/setting/inprogress_icon_high.png" id="4_7bfrc"] [ext_resource type="Texture2D" uid="uid://dc88flrbrvoas" path="res://pad_hmi_ui/setting/line_icon_dis.png" id="5_swik2"] -[sub_resource type="Animation" id="Animation_8yyyk"] -resource_name = "item1_rotate" -loop_mode = 1 -tracks/0/type = "value" -tracks/0/imported = false -tracks/0/enabled = true -tracks/0/path = NodePath("hbox/item_1/progressItem1/ItemIcon1:rotation") -tracks/0/interp = 1 -tracks/0/loop_wrap = true -tracks/0/keys = { -"times": PackedFloat32Array(0, 0.5, 1), -"transitions": PackedFloat32Array(1, 1, 1), -"update": 0, -"values": [0.0, 3.14159, 6.28319] -} - [sub_resource type="Animation" id="Animation_qrca2"] length = 0.001 tracks/0/type = "value" @@ -74,6 +58,22 @@ tracks/3/keys = { "values": [0.0] } +[sub_resource type="Animation" id="Animation_8yyyk"] +resource_name = "item1_rotate" +loop_mode = 1 +tracks/0/type = "value" +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/path = NodePath("hbox/item_1/progressItem1/ItemIcon1:rotation") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/keys = { +"times": PackedFloat32Array(0, 0.5, 1), +"transitions": PackedFloat32Array(1, 1, 1), +"update": 0, +"values": [0.0, 3.14159, 6.28319] +} + [sub_resource type="Animation" id="Animation_6tmx4"] resource_name = "item2_rotate" loop_mode = 1