diff --git a/data/connect_1.png b/data/connect_1.png new file mode 100644 index 00000000..7e78ff2a Binary files /dev/null and b/data/connect_1.png differ diff --git a/data/connect_1.png.import b/data/connect_1.png.import new file mode 100644 index 00000000..4f311f26 --- /dev/null +++ b/data/connect_1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bdlbqs88bki8x" +path="res://.godot/imported/connect_1.png-1d171b59fd32a8c472030e3672b21ba2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/connect_1.png" +dest_files=["res://.godot/imported/connect_1.png-1d171b59fd32a8c472030e3672b21ba2.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/disconnect_1.png b/data/disconnect_1.png new file mode 100644 index 00000000..55a3b774 Binary files /dev/null and b/data/disconnect_1.png differ diff --git a/data/disconnect_1.png.import b/data/disconnect_1.png.import new file mode 100644 index 00000000..42803c8c --- /dev/null +++ b/data/disconnect_1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://u3tnejvpm8it" +path="res://.godot/imported/disconnect_1.png-f509e4d9fb0e1e814fdc8edbae6ccf3d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/disconnect_1.png" +dest_files=["res://.godot/imported/disconnect_1.png-f509e4d9fb0e1e814fdc8edbae6ccf3d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/load1.png b/data/load1.png new file mode 100644 index 00000000..d88f4e28 Binary files /dev/null and b/data/load1.png differ diff --git a/data/load1.png.import b/data/load1.png.import new file mode 100644 index 00000000..c0a0d62d --- /dev/null +++ b/data/load1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://o8mam0a060d8" +path="res://.godot/imported/load1.png-2f9ad89470787ff4a3521b469b7e9fe3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/load1.png" +dest_files=["res://.godot/imported/load1.png-2f9ad89470787ff4a3521b469b7e9fe3.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/data/save1.png b/data/save1.png new file mode 100644 index 00000000..e83a5d7c Binary files /dev/null and b/data/save1.png differ diff --git a/data/save1.png.import b/data/save1.png.import new file mode 100644 index 00000000..ddd22dc7 --- /dev/null +++ b/data/save1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://lkw8k7ouj42i" +path="res://.godot/imported/save1.png-fe0ea2e877c55fd87cac57974b80e102.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://data/save1.png" +dest_files=["res://.godot/imported/save1.png-fe0ea2e877c55fd87cac57974b80e102.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/scenes/save1.png b/scenes/save1.png new file mode 100644 index 00000000..e83a5d7c Binary files /dev/null and b/scenes/save1.png differ diff --git a/scenes/save1.png.import b/scenes/save1.png.import new file mode 100644 index 00000000..a17ecd9b --- /dev/null +++ b/scenes/save1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://slace75bc6kj" +path="res://.godot/imported/save1.png-6b1d97f8e5244252585ce158fd5780d4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://scenes/save1.png" +dest_files=["res://.godot/imported/save1.png-6b1d97f8e5244252585ce158fd5780d4.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/scenes/контроль/контроль.tscn b/scenes/контроль/контроль.tscn index d7b96721..5a9b8134 100644 --- a/scenes/контроль/контроль.tscn +++ b/scenes/контроль/контроль.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=12 format=3 uid="uid://lwmw4egynmd1"] +[gd_scene load_steps=15 format=3 uid="uid://lwmw4egynmd1"] [ext_resource type="Script" path="res://scenes/контроль/контроль.gd" id="1_x5d6w"] [ext_resource type="Texture2D" uid="uid://bar8k5qef7kch" path="res://data/УФ.png" id="2_0nvm1"] @@ -6,12 +6,28 @@ [ext_resource type="Texture2D" uid="uid://dkqlvd750pplc" path="res://data/СПТ.png" id="3_hhadv"] [ext_resource type="Texture2D" uid="uid://b4isaggma6q3" path="res://data/Грани22.png" id="4_l0nc7"] [ext_resource type="Texture2D" uid="uid://b0o8jhb5jbrev" path="res://data/рамка-1.png" id="4_rasbe"] +[ext_resource type="Texture2D" uid="uid://bdlbqs88bki8x" path="res://data/connect_1.png" id="5_c621m"] [ext_resource type="Texture2D" uid="uid://d2jxmtd6n5jd1" path="res://data/Щ3.png" id="5_kvnex"] [ext_resource type="Texture2D" uid="uid://bos68thpqqvn" path="res://data/ПРД.png" id="6_i1yfn"] [ext_resource type="Texture2D" uid="uid://c6nve6f8sfyj2" path="res://data/состояние-исправности-0.png" id="7_6j01w"] +[ext_resource type="Texture2D" uid="uid://u3tnejvpm8it" path="res://data/disconnect_1.png" id="8_gs2be"] [ext_resource type="Texture2D" uid="uid://dnreyfh3cd1k2" path="res://data/состояние-исправности-1.png" id="8_isjua"] [ext_resource type="Texture2D" uid="uid://c6booa8753u5t" path="res://data/состояние-исправности-2.png" id="9_ll0vs"] +[sub_resource type="SpriteFrames" id="SpriteFrames_foasq"] +animations = [{ +"frames": [{ +"duration": 1.0, +"texture": ExtResource("8_gs2be") +}, { +"duration": 1.0, +"texture": ExtResource("5_c621m") +}], +"loop": true, +"name": &"default", +"speed": 5.0 +}] + [node name="Контроль" type="Panel"] anchors_preset = 15 anchor_right = 1.0 @@ -40,9 +56,9 @@ state_colors = [Color(1, 1, 1, 1), Color(0, 0.74, 0.37, 1), Color(0.854902, 0.07 [node name="label" type="Label" parent="pribor_uf"] layout_mode = 0 offset_left = 15.0 -offset_top = -15.0 +offset_top = -34.0 offset_right = 91.0 -offset_bottom = 4.0 +offset_bottom = -15.0 text = "УФ" horizontal_alignment = 1 vertical_alignment = 1 @@ -62,6 +78,14 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_uf"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(52, -6) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_rtr" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 @@ -80,9 +104,10 @@ state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0 [node name="label" type="Label" parent="pribor_rtr"] layout_mode = 0 -offset_left = 6.0 -offset_top = -19.0 -offset_right = 89.0 +offset_left = 9.0 +offset_top = -38.0 +offset_right = 92.0 +offset_bottom = -19.0 text = "РТР" horizontal_alignment = 1 vertical_alignment = 1 @@ -102,13 +127,21 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_rtr"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(49, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_afsp_l" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 offset_left = 996.0 -offset_top = 301.0 +offset_top = 291.0 offset_right = 1829.0 -offset_bottom = 941.0 +offset_bottom = 931.0 scale = Vector2(0.2, 0.2) size_flags_horizontal = 15 size_flags_vertical = 15 @@ -122,9 +155,9 @@ state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0 [node name="label" type="Label" parent="pribor_afsp_l"] layout_mode = 0 offset_left = 20.0 -offset_top = -95.0 +offset_top = -175.0 offset_right = 198.0 -offset_bottom = -76.0 +offset_bottom = -156.0 scale = Vector2(4.478, 5) text = "АФСП левый борт" horizontal_alignment = 1 @@ -146,13 +179,21 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_afsp_l"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(410, -30) +scale = Vector2(3.23077, 3.28125) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_afsp_r" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 offset_left = 1342.0 -offset_top = 301.0 +offset_top = 291.0 offset_right = 2175.0 -offset_bottom = 941.0 +offset_bottom = 931.0 scale = Vector2(0.2, 0.2) size_flags_horizontal = 15 size_flags_vertical = 15 @@ -166,9 +207,9 @@ state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0 [node name="label" type="Label" parent="pribor_afsp_r"] layout_mode = 0 offset_left = -20.0 -offset_top = -95.0 +offset_top = -180.0 offset_right = 168.0 -offset_bottom = -76.0 +offset_bottom = -161.0 scale = Vector2(4.65, 5) text = "АФСП правый борт" horizontal_alignment = 1 @@ -190,12 +231,20 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_afsp_r"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(410, -30) +scale = Vector2(3.23077, 3.28125) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_uyep" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1194.0 +offset_left = 1201.0 offset_top = 739.0 -offset_right = 1288.0 +offset_right = 1295.0 offset_bottom = 925.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -208,10 +257,10 @@ state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0 [node name="label" type="Label" parent="pribor_uyep"] layout_mode = 0 -offset_left = 29.8566 -offset_top = -21.3276 -offset_right = 69.8566 -offset_bottom = -2.32759 +offset_left = 26.8566 +offset_top = -38.3276 +offset_right = 66.8566 +offset_bottom = -19.3276 text = "У-ЭП" horizontal_alignment = 1 vertical_alignment = 1 @@ -231,13 +280,21 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_uyep"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(45, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.872305 + [node name="pribor_prd_v_2" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 offset_left = 960.0 -offset_top = 480.0 +offset_top = 475.0 offset_right = 1037.0 -offset_bottom = 596.0 +offset_bottom = 591.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -251,8 +308,9 @@ metadata/unit_name = "уарэп-яу07-2в" [node name="label" type="Label" parent="pribor_prd_v_2"] layout_mode = 0 offset_left = 14.0 -offset_top = -19.0 +offset_top = -38.0 offset_right = 66.0 +offset_bottom = -19.0 text = "ПРД В2" horizontal_alignment = 1 vertical_alignment = 1 @@ -272,6 +330,14 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_v_2"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(40, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_n_2" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 @@ -291,9 +357,10 @@ metadata/unit_name = "уарэп-яу07-2н" [node name="label" type="Label" parent="pribor_prd_n_2"] layout_mode = 0 -offset_left = 13.0 -offset_top = -19.0 -offset_right = 65.0 +offset_left = 15.0 +offset_top = -38.0 +offset_right = 67.0 +offset_bottom = -19.0 theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 0 text = "ПРД Н2" @@ -315,13 +382,21 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_n_2"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(40, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_k_2" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 offset_left = 1077.0 -offset_top = 479.0 +offset_top = 474.0 offset_right = 1154.0 -offset_bottom = 595.0 +offset_bottom = 590.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -334,9 +409,10 @@ metadata/unit_name = "уарэп-яу07-2к" [node name="label" type="Label" parent="pribor_prd_k_2"] layout_mode = 0 -offset_left = 14.0 -offset_top = -19.0 -offset_right = 66.0 +offset_left = 17.0 +offset_top = -38.0 +offset_right = 69.0 +offset_bottom = -19.0 text = "ПРД К2" horizontal_alignment = 1 vertical_alignment = 1 @@ -356,6 +432,14 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_k_2"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(43, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_v_3" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 @@ -376,10 +460,10 @@ metadata/unit_name = "уарэп-яу07-3в" [node name="label" type="Label" parent="pribor_prd_v_3"] layout_mode = 0 -offset_left = 13.0 -offset_top = -20.0 -offset_right = 65.0 -offset_bottom = -1.0 +offset_left = 9.0 +offset_top = -38.0 +offset_right = 61.0 +offset_bottom = -19.0 text = "ПРД В3" horizontal_alignment = 1 vertical_alignment = 1 @@ -399,12 +483,20 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_v_3"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(34, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_n_3" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1458.0 +offset_left = 1457.0 offset_top = 798.0 -offset_right = 1535.0 +offset_right = 1534.0 offset_bottom = 914.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -419,9 +511,10 @@ metadata/unit_name = "уарэп-яу07-3н" [node name="label" type="Label" parent="pribor_prd_n_3"] layout_mode = 0 -offset_left = 12.0 -offset_top = -19.0 -offset_right = 64.0 +offset_left = 8.0 +offset_top = -38.0 +offset_right = 60.0 +offset_bottom = -19.0 text = "ПРД Н3" horizontal_alignment = 1 vertical_alignment = 1 @@ -441,12 +534,20 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_n_3"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(33, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_k_3" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1343.0 +offset_left = 1344.0 offset_top = 635.0 -offset_right = 1420.0 +offset_right = 1421.0 offset_bottom = 751.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -461,10 +562,10 @@ metadata/unit_name = "уарэп-яу07-3к" [node name="label" type="Label" parent="pribor_prd_k_3"] layout_mode = 0 -offset_left = 13.0 -offset_top = -18.0 -offset_right = 65.0 -offset_bottom = 1.0 +offset_left = 9.0 +offset_top = -38.0 +offset_right = 61.0 +offset_bottom = -19.0 text = "ПРД К3" horizontal_alignment = 1 vertical_alignment = 1 @@ -484,13 +585,21 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_k_3"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(35, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_v_1" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 offset_left = 1457.0 -offset_top = 480.0 +offset_top = 475.0 offset_right = 1534.0 -offset_bottom = 596.0 +offset_bottom = 591.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -504,9 +613,10 @@ metadata/unit_name = "уарэп-яу07-1в" [node name="label" type="Label" parent="pribor_prd_v_1"] layout_mode = 0 -offset_left = 10.0 -offset_top = -19.0 -offset_right = 50.0 +offset_left = 8.0 +offset_top = -38.0 +offset_right = 60.0 +offset_bottom = -19.0 text = "ПРД В1" horizontal_alignment = 1 vertical_alignment = 1 @@ -526,12 +636,20 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_v_1"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(34, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_n_1" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1455.0 +offset_left = 1457.0 offset_top = 634.0 -offset_right = 1532.0 +offset_right = 1534.0 offset_bottom = 750.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -546,9 +664,10 @@ metadata/unit_name = "уарэп-яу07-1н" [node name="label" type="Label" parent="pribor_prd_n_1"] layout_mode = 0 -offset_left = 12.0 -offset_top = -19.0 -offset_right = 64.0 +offset_left = 8.0 +offset_top = -38.0 +offset_right = 60.0 +offset_bottom = -19.0 text = "ПРД Н1" horizontal_alignment = 1 vertical_alignment = 1 @@ -568,13 +687,21 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_n_1"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(35, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_k_1" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 offset_left = 1344.0 -offset_top = 478.0 +offset_top = 473.0 offset_right = 1421.0 -offset_bottom = 594.0 +offset_bottom = 589.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -588,9 +715,10 @@ metadata/unit_name = "уарэп-яу07-1к" [node name="label" type="Label" parent="pribor_prd_k_1"] layout_mode = 0 -offset_left = 12.0 -offset_top = -19.0 -offset_right = 64.0 +offset_left = 9.0 +offset_top = -38.0 +offset_right = 61.0 +offset_bottom = -19.0 text = "ПРД К1" horizontal_alignment = 1 vertical_alignment = 1 @@ -610,13 +738,21 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_k_1"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(35, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_v_4" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 offset_left = 1077.0 -offset_top = 796.0 +offset_top = 797.0 offset_right = 1154.0 -offset_bottom = 912.0 +offset_bottom = 913.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -629,10 +765,10 @@ metadata/unit_name = "уарэп-яу07-4в" [node name="label" type="Label" parent="pribor_prd_v_4"] layout_mode = 0 -offset_left = 13.0 -offset_top = -20.0 -offset_right = 65.0 -offset_bottom = -1.0 +offset_left = 17.0 +offset_top = -38.0 +offset_right = 69.0 +offset_bottom = -19.0 text = "ПРД В4" horizontal_alignment = 1 vertical_alignment = 1 @@ -652,13 +788,21 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_v_4"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(41, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_n_4" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 961.0 -offset_top = 794.0 -offset_right = 1038.0 -offset_bottom = 910.0 +offset_left = 960.0 +offset_top = 797.0 +offset_right = 1037.0 +offset_bottom = 913.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -671,9 +815,10 @@ metadata/unit_name = "уарэп-яу07-4н" [node name="label" type="Label" parent="pribor_prd_n_4"] layout_mode = 0 -offset_left = 13.0 -offset_top = -19.0 -offset_right = 65.0 +offset_left = 14.0 +offset_top = -38.0 +offset_right = 66.0 +offset_bottom = -19.0 text = "ПРД Н4" horizontal_alignment = 1 vertical_alignment = 1 @@ -693,6 +838,14 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_n_4"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(40, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="pribor_prd_k_4" type="TextureButton" parent="."] editor_description = "Кнопка для выбора прибора." layout_mode = 0 @@ -712,9 +865,10 @@ metadata/unit_name = "уарэп-яу07-4к" [node name="label" type="Label" parent="pribor_prd_k_4"] layout_mode = 0 -offset_left = 13.0 -offset_top = -19.0 -offset_right = 65.0 +offset_left = 17.0 +offset_top = -38.0 +offset_right = 69.0 +offset_bottom = -19.0 text = "ПРД К4" horizontal_alignment = 1 vertical_alignment = 1 @@ -734,6 +888,14 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 +[node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_prd_k_4"] +modulate = Color(0.498039, 0.498039, 0.498039, 1) +light_mask = 3 +position = Vector2(42, -10) +scale = Vector2(0.615385, 0.625) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 + [node name="mnemo_container" type="Panel" parent="."] layout_mode = 0 diff --git a/scenes/настройки/save1.png b/scenes/настройки/save1.png new file mode 100644 index 00000000..e83a5d7c Binary files /dev/null and b/scenes/настройки/save1.png differ diff --git a/scenes/настройки/save1.png.import b/scenes/настройки/save1.png.import new file mode 100644 index 00000000..32b523c7 --- /dev/null +++ b/scenes/настройки/save1.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://csnts8f155sf7" +path="res://.godot/imported/save1.png-71614b438670d8c00484426836e4048f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://scenes/настройки/save1.png" +dest_files=["res://.godot/imported/save1.png-71614b438670d8c00484426836e4048f.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/scenes/настройки/настройки.gd b/scenes/настройки/настройки.gd index 482c1a38..82bf49a0 100644 --- a/scenes/настройки/настройки.gd +++ b/scenes/настройки/настройки.gd @@ -138,10 +138,6 @@ func setting_tab(): if j < unit_data[2].size() - 1: joined_data += "," profiles.text = str(unit_data[1]) + " : " + joined_data - $end_table.set_header(HEADER_ROW) - $end_table.set_header_text(HEADER_ROW_TEXT) - $end_table.set_columns_min_size([600, 950]) - $end_table.set_columns_alignments(ALIGNMENT) button_settings() diff --git a/scenes/настройки/настройки.tscn b/scenes/настройки/настройки.tscn index 1c8ab22e..b55c290e 100644 --- a/scenes/настройки/настройки.tscn +++ b/scenes/настройки/настройки.tscn @@ -2,13 +2,20 @@ [ext_resource type="Script" path="res://scenes/настройки/настройки.gd" id="1_2l3rd"] [ext_resource type="Script" path="res://table/table.gd" id="2_6sx73"] -[ext_resource type="Texture2D" uid="uid://biyjygfnhhf7i" path="res://data/save.png" id="3_xqtce"] +[ext_resource type="Texture2D" uid="uid://csnts8f155sf7" path="res://scenes/настройки/save1.png" id="3_dbpks"] -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_bgm7i"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_pyq6h"] +texture = ExtResource("3_dbpks") +modulate_color = Color(0.8, 0.533333, 0.27451, 1) -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_eifcy"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_l5g3r"] +texture = ExtResource("3_dbpks") +expand_margin_left = 20.0 +expand_margin_top = 20.0 +modulate_color = Color(0.8, 0.533333, 0.27451, 1) -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_exytp"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tbxk6"] +texture = ExtResource("3_dbpks") [node name="Настройки" type="Panel"] script = ExtResource("1_2l3rd") @@ -32,25 +39,20 @@ offset_bottom = 988.0 layout_mode = 2 script = ExtResource("2_6sx73") -[node name="end_table" type="GridContainer" parent="."] -layout_mode = 0 -offset_left = 16.0 -offset_top = 1000.0 -offset_right = 16.0 -offset_bottom = 1000.0 -script = ExtResource("2_6sx73") - [node name="btn_save_settings" type="Button" parent="."] layout_mode = 0 offset_left = 1523.0 -offset_top = 1062.0 -offset_right = 2043.0 -offset_bottom = 1582.0 +offset_top = 1057.0 +offset_right = 2035.0 +offset_bottom = 1569.0 scale = Vector2(0.1, 0.1) +tooltip_text = "Сохранить настройки" focus_mode = 0 -theme_override_styles/focus = SubResource("StyleBoxEmpty_bgm7i") -theme_override_styles/pressed = SubResource("StyleBoxEmpty_eifcy") -theme_override_styles/normal = SubResource("StyleBoxEmpty_exytp") -icon = ExtResource("3_xqtce") +theme_override_styles/focus = SubResource("StyleBoxTexture_pyq6h") +theme_override_styles/disabled = SubResource("StyleBoxTexture_pyq6h") +theme_override_styles/hover_pressed = SubResource("StyleBoxTexture_pyq6h") +theme_override_styles/hover = SubResource("StyleBoxTexture_pyq6h") +theme_override_styles/pressed = SubResource("StyleBoxTexture_l5g3r") +theme_override_styles/normal = SubResource("StyleBoxTexture_tbxk6") [connection signal="pressed" from="btn_save_settings" to="." method="_on_btn_save_settings_pressed"] diff --git a/scenes/эмс/эмс.tscn b/scenes/эмс/эмс.tscn index 1eb1b15f..58f078d6 100644 --- a/scenes/эмс/эмс.tscn +++ b/scenes/эмс/эмс.tscn @@ -1,34 +1,64 @@ -[gd_scene load_steps=19 format=3 uid="uid://dab6loryocc73"] +[gd_scene load_steps=20 format=3 uid="uid://dab6loryocc73"] [ext_resource type="Script" path="res://scenes/эмс/эмс.gd" id="1_mk57x"] [ext_resource type="PackedScene" uid="uid://da7w3vkhadfwe" path="res://scenes/button-flat/button-flat.tscn" id="2_eju8r"] -[ext_resource type="Texture2D" uid="uid://biyjygfnhhf7i" path="res://data/save.png" id="3_sc4po"] -[ext_resource type="Texture2D" uid="uid://t51eyh4hmc6p" path="res://data/load.png" id="4_mit0h"] -[ext_resource type="Texture2D" uid="uid://7h55yvh84cve" path="res://data/connect.png" id="6_axj2m"] -[ext_resource type="Texture2D" uid="uid://cjsr544qccftu" path="res://data/disconnect.png" id="7_yscbq"] +[ext_resource type="Texture2D" uid="uid://csnts8f155sf7" path="res://scenes/настройки/save1.png" id="3_onafb"] +[ext_resource type="Texture2D" uid="uid://o8mam0a060d8" path="res://data/load1.png" id="4_afjfs"] +[ext_resource type="Texture2D" uid="uid://bdlbqs88bki8x" path="res://data/connect_1.png" id="5_2nrut"] +[ext_resource type="Texture2D" uid="uid://u3tnejvpm8it" path="res://data/disconnect_1.png" id="6_g3q7m"] [ext_resource type="Script" path="res://table/table.gd" id="8_qcl30"] -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_sy7ny"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mu34x"] +texture = ExtResource("3_onafb") +modulate_color = Color(0.8, 0.533333, 0.27451, 1) -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_udlbp"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_x3l45"] +texture = ExtResource("3_onafb") +expand_margin_left = 20.0 +expand_margin_top = 20.0 +modulate_color = Color(0.8, 0.533333, 0.27451, 1) -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4amgo"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_sn6cm"] +texture = ExtResource("3_onafb") -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_fi0eb"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_570ue"] +texture = ExtResource("4_afjfs") +modulate_color = Color(0.8, 0.533333, 0.27451, 1) -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5kkhp"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_piewc"] +texture = ExtResource("4_afjfs") +expand_margin_left = 20.0 +expand_margin_top = 20.0 +modulate_color = Color(0.8, 0.533333, 0.27451, 1) -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ot108"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_3ytmi"] +texture = ExtResource("4_afjfs") -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_63bsy"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_o7qii"] +texture = ExtResource("5_2nrut") +modulate_color = Color(0.8, 0.533333, 0.27451, 1) -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_yuj6c"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mgr7r"] +texture = ExtResource("5_2nrut") +expand_margin_left = 3.0 +expand_margin_top = 3.0 +modulate_color = Color(0.8, 0.533333, 0.27451, 1) -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_2q0t0"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_hxhyh"] +texture = ExtResource("5_2nrut") -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_n2m1l"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_tnihm"] +texture = ExtResource("6_g3q7m") +modulate_color = Color(0.8, 0.533333, 0.27451, 1) -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_x5pts"] +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_k1qbi"] +texture = ExtResource("6_g3q7m") +expand_margin_left = 3.0 +expand_margin_top = 3.0 +modulate_color = Color(0.8, 0.533333, 0.27451, 1) + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_pe5pe"] +texture = ExtResource("6_g3q7m") [node name="ЭМС" type="Panel"] offset_right = 1598.0 @@ -64,61 +94,71 @@ text = "Записать" [node name="btn_save" type="Button" parent="."] layout_mode = 0 offset_left = 1453.0 -offset_top = 960.0 -offset_right = 1973.0 -offset_bottom = 1480.0 +offset_top = 967.0 +offset_right = 1837.0 +offset_bottom = 1351.0 scale = Vector2(0.1, 0.1) +tooltip_text = "Сохранить настройки" focus_mode = 0 -theme_override_styles/focus = SubResource("StyleBoxEmpty_sy7ny") -theme_override_styles/pressed = SubResource("StyleBoxEmpty_udlbp") -theme_override_styles/normal = SubResource("StyleBoxEmpty_4amgo") -icon = ExtResource("3_sc4po") +theme_override_styles/focus = SubResource("StyleBoxTexture_mu34x") +theme_override_styles/disabled = SubResource("StyleBoxTexture_mu34x") +theme_override_styles/hover_pressed = SubResource("StyleBoxTexture_mu34x") +theme_override_styles/hover = SubResource("StyleBoxTexture_mu34x") +theme_override_styles/pressed = SubResource("StyleBoxTexture_x3l45") +theme_override_styles/normal = SubResource("StyleBoxTexture_sn6cm") [node name="btn_load" type="Button" parent="."] layout_mode = 0 -offset_left = 1453.0 -offset_top = 1015.0 -offset_right = 1973.0 -offset_bottom = 1535.0 +offset_left = 1458.0 +offset_top = 1019.0 +offset_right = 1735.5 +offset_bottom = 1403.0 scale = Vector2(0.1, 0.1) +tooltip_text = "Сохранить настройки" focus_mode = 0 -theme_override_styles/focus = SubResource("StyleBoxEmpty_fi0eb") -theme_override_styles/pressed = SubResource("StyleBoxEmpty_5kkhp") -theme_override_styles/normal = SubResource("StyleBoxEmpty_4amgo") -icon = ExtResource("4_mit0h") +theme_override_styles/focus = SubResource("StyleBoxTexture_570ue") +theme_override_styles/disabled = SubResource("StyleBoxTexture_570ue") +theme_override_styles/hover_pressed = SubResource("StyleBoxTexture_570ue") +theme_override_styles/hover = SubResource("StyleBoxTexture_570ue") +theme_override_styles/pressed = SubResource("StyleBoxTexture_piewc") +theme_override_styles/normal = SubResource("StyleBoxTexture_3ytmi") [node name="btn_connect" type="Button" parent="."] layout_mode = 0 offset_left = 627.0 offset_top = 55.0 -offset_right = 683.0 -offset_bottom = 111.0 +offset_right = 679.0 +offset_bottom = 87.0 focus_mode = 0 theme_override_colors/icon_normal_color = Color(1, 1, 1, 1) -theme_override_styles/focus = SubResource("StyleBoxEmpty_ot108") -theme_override_styles/pressed = SubResource("StyleBoxEmpty_63bsy") -theme_override_styles/normal = SubResource("StyleBoxEmpty_yuj6c") -icon = ExtResource("6_axj2m") +theme_override_styles/focus = SubResource("StyleBoxTexture_o7qii") +theme_override_styles/disabled = SubResource("StyleBoxTexture_o7qii") +theme_override_styles/hover_pressed = SubResource("StyleBoxTexture_o7qii") +theme_override_styles/hover = SubResource("StyleBoxTexture_o7qii") +theme_override_styles/pressed = SubResource("StyleBoxTexture_mgr7r") +theme_override_styles/normal = SubResource("StyleBoxTexture_hxhyh") [node name="btn_disconnect" type="Button" parent="."] layout_mode = 0 offset_left = 714.0 offset_top = 741.0 -offset_right = 770.0 -offset_bottom = 815.0 +offset_right = 766.0 +offset_bottom = 775.0 focus_mode = 0 theme_override_colors/icon_normal_color = Color(1, 1, 1, 1) -theme_override_styles/focus = SubResource("StyleBoxEmpty_2q0t0") -theme_override_styles/pressed = SubResource("StyleBoxEmpty_n2m1l") -theme_override_styles/normal = SubResource("StyleBoxEmpty_x5pts") -icon = ExtResource("7_yscbq") +theme_override_styles/focus = SubResource("StyleBoxTexture_tnihm") +theme_override_styles/disabled = SubResource("StyleBoxTexture_tnihm") +theme_override_styles/hover_pressed = SubResource("StyleBoxTexture_tnihm") +theme_override_styles/hover = SubResource("StyleBoxTexture_tnihm") +theme_override_styles/pressed = SubResource("StyleBoxTexture_k1qbi") +theme_override_styles/normal = SubResource("StyleBoxTexture_pe5pe") [node name="scrollin" type="ScrollContainer" parent="."] layout_mode = 0 offset_left = 56.0 offset_top = 52.0 offset_right = 641.0 -offset_bottom = 679.0 +offset_bottom = 720.0 [node name="tbl_in" type="GridContainer" parent="scrollin"] layout_mode = 2 @@ -140,7 +180,7 @@ layout_mode = 0 offset_left = 657.0 offset_top = 50.0 offset_right = 1351.0 -offset_bottom = 679.0 +offset_bottom = 720.0 [node name="tbl_out" type="GridContainer" parent="scrollout"] layout_mode = 2