diff --git a/Robo-Bus-A31-HMI/Modules/setting.tscn b/Robo-Bus-A31-HMI/Modules/setting.tscn index a956f29..b0fe252 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=37 format=3 uid="uid://33cgqbhyfl47"] +[gd_scene load_steps=38 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"] @@ -25,6 +25,7 @@ [ext_resource type="Texture2D" uid="uid://dr5maw7xa58mq" path="res://pad_hmi_ui/setting/upload_icon_normal.png" id="13_8lrx3"] [ext_resource type="Texture2D" uid="uid://bqxv0p5et7qnb" path="res://pad_hmi_ui/setting/connect_btn.png" id="13_g54n4"] [ext_resource type="Texture2D" uid="uid://yspjrkbkr0re" path="res://pad_hmi_ui/setting/update_btn.png" id="14_32p5r"] +[ext_resource type="Texture2D" uid="uid://70imd3xnkydk" path="res://pad_hmi_ui/setting/upload_icon_high.png" id="15_f66s7"] [ext_resource type="Script" path="res://common/base/base_control.gd" id="15_od2fy"] [ext_resource type="Texture2D" uid="uid://t2ku0xn32sqd" path="res://pad_hmi_ui/setting/progress_bar_normal.png" id="16_rrajj"] [ext_resource type="Texture2D" uid="uid://siw3iqyojrmb" path="res://pad_hmi_ui/setting/updatelog_bg.png" id="16_t8xnk"] @@ -271,8 +272,8 @@ custom_minimum_size = Vector2(220, 220) layout_mode = 2 focus_mode = 0 script = ExtResource("10_jyc6b") -TextureNormal = ExtResource("3_t55mh") -TexturePressed = ExtResource("3_r83c5") +TextureNormal = ExtResource("13_8lrx3") +TexturePressed = ExtResource("15_f66s7") styleBox = SubResource("StyleBoxTexture_bqmim") is_Scale = true diff --git a/Robo-Bus-A31-HMI/Modules/settingButtonItem.gd b/Robo-Bus-A31-HMI/Modules/settingButtonItem.gd index 084813e..11f1551 100644 --- a/Robo-Bus-A31-HMI/Modules/settingButtonItem.gd +++ b/Robo-Bus-A31-HMI/Modules/settingButtonItem.gd @@ -21,3 +21,5 @@ func _on_button_down() -> void: func _on_button_up() -> void: $TextureRect.texture=TextureNormal pass # Replace with function body. + +var is_selected