diff --git a/scenes/контроль/контроль.tscn b/scenes/контроль/контроль.tscn index 1acae6cd..6b6eb5e9 100644 --- a/scenes/контроль/контроль.tscn +++ b/scenes/контроль/контроль.tscn @@ -24,7 +24,6 @@ script/source = "extends Panel #TODO: рефактор: заменить подчёркивание на тире const PRIBORS_RES = \\ { - 'externals': ['res://scenes/pribor-externals/externals.tscn', 'Контроль подключения внешних систем'], 'pribor_prd_k_1': ['res://scenes/pribor-prd-k/pribor-prd-k.tscn', 'Контроль исправности прибора ПРД-К 1'], 'pribor_prd_k_2': ['res://scenes/pribor-prd-k/pribor-prd-k.tscn', 'Контроль исправности прибора ПРД-К 2'], 'pribor_prd_k_3': ['res://scenes/pribor-prd-k/pribor-prd-k.tscn', 'Контроль исправности прибора ПРД-К 3'], @@ -122,14 +121,15 @@ grow_vertical = 2 script = SubResource("GDScript_iqgf5") metadata/_edit_lock_ = true -[node name="externals" type="TextureButton" parent="." groups=["pribor_buttons"]] +[node name="capsrpb" type="TextureButton" parent="."] editor_description = "Кнопка для отображения внешних соединений." +self_modulate = Color(0.788235, 0.788235, 0.788235, 1) layout_mode = 0 -offset_left = 1435.0 -offset_top = 32.0 -offset_right = 1691.0 -offset_bottom = 288.0 -scale = Vector2(0.5, 0.5) +offset_left = 941.0 +offset_top = 992.0 +offset_right = 1197.0 +offset_bottom = 1248.0 +scale = Vector2(0.25, 0.25) size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -139,18 +139,18 @@ stretch_mode = 0 script = ExtResource("3_4pt7j") state_colors = [Color(1, 1, 1, 1), Color(0, 0.74, 0.37, 1), Color(0.854902, 0.0705882, 0.0705882, 1)] -[node name="label" type="Label" parent="externals"] +[node name="label" type="Label" parent="capsrpb"] layout_mode = 0 -offset_left = -40.0 -offset_top = -28.0 -offset_right = 121.0 -offset_bottom = -9.0 -scale = Vector2(2, 2) -text = "Внешние подключения" +offset_left = -44.0 +offset_top = -128.0 +offset_right = 41.0 +offset_bottom = -109.0 +scale = Vector2(4, 4) +text = "КАПС РПБ" horizontal_alignment = 1 vertical_alignment = 1 -[node name="frame" type="NinePatchRect" parent="externals"] +[node name="frame" type="NinePatchRect" parent="capsrpb"] visible = false self_modulate = Color(0.890196, 0.486275, 0.196078, 1) layout_mode = 0 @@ -166,11 +166,169 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="connect_pribor" type="AnimatedSprite2D" parent="externals"] -modulate = Color(0.498039, 0.498039, 0.498039, 1) +[node name="connect_pribor" type="AnimatedSprite2D" parent="capsrpb"] light_mask = 3 -position = Vector2(47.9999, 30) -scale = Vector2(1.23077, 1.25) +position = Vector2(56, -4) +scale = Vector2(2.6, 2.6) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 +script = ExtResource("11_u7tym") + +[node name="5p28" type="TextureButton" parent="."] +editor_description = "Кнопка для отображения внешних соединений." +self_modulate = Color(0.788235, 0.788235, 0.788235, 1) +layout_mode = 0 +offset_left = 1123.0 +offset_top = 992.0 +offset_right = 1379.0 +offset_bottom = 1248.0 +scale = Vector2(0.25, 0.25) +size_flags_horizontal = 15 +size_flags_vertical = 15 +toggle_mode = true +action_mode = 0 +texture_normal = ExtResource("2_oysma") +stretch_mode = 0 +script = ExtResource("3_4pt7j") +state_colors = [Color(1, 1, 1, 1), Color(0, 0.74, 0.37, 1), Color(0.854902, 0.0705882, 0.0705882, 1)] + +[node name="label" type="Label" parent="5p28"] +layout_mode = 0 +offset_left = 16.0 +offset_top = -128.0 +offset_right = 68.0 +offset_bottom = -109.0 +scale = Vector2(4, 4) +text = "5П28" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="frame" type="NinePatchRect" parent="5p28"] +visible = false +self_modulate = Color(0.890196, 0.486275, 0.196078, 1) +layout_mode = 0 +offset_left = -32.0 +offset_top = -12.0 +offset_right = 123.0 +offset_bottom = 111.0 +scale = Vector2(2, 2) +texture = ExtResource("4_rasbe") +region_rect = Rect2(-3, -3, 89, 89) +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 + +[node name="connect_pribor" type="AnimatedSprite2D" parent="5p28"] +light_mask = 3 +position = Vector2(52, -4) +scale = Vector2(2.6, 2.6) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 +script = ExtResource("11_u7tym") + +[node name="akng" type="TextureButton" parent="."] +editor_description = "Кнопка для отображения внешних соединений." +self_modulate = Color(0.788235, 0.788235, 0.788235, 1) +layout_mode = 0 +offset_left = 1299.0 +offset_top = 992.0 +offset_right = 1555.0 +offset_bottom = 1248.0 +scale = Vector2(0.25, 0.25) +size_flags_horizontal = 15 +size_flags_vertical = 15 +toggle_mode = true +action_mode = 0 +texture_normal = ExtResource("2_oysma") +stretch_mode = 0 +script = ExtResource("3_4pt7j") +state_colors = [Color(1, 1, 1, 1), Color(0, 0.74, 0.37, 1), Color(0.854902, 0.0705882, 0.0705882, 1)] + +[node name="label" type="Label" parent="akng"] +layout_mode = 0 +offset_left = 4.0 +offset_top = -128.0 +offset_right = 53.0 +offset_bottom = -109.0 +scale = Vector2(4, 4) +text = "АКНГ" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="frame" type="NinePatchRect" parent="akng"] +visible = false +self_modulate = Color(0.890196, 0.486275, 0.196078, 1) +layout_mode = 0 +offset_left = -32.0 +offset_top = -12.0 +offset_right = 123.0 +offset_bottom = 111.0 +scale = Vector2(2, 2) +texture = ExtResource("4_rasbe") +region_rect = Rect2(-3, -3, 89, 89) +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 + +[node name="connect_pribor" type="AnimatedSprite2D" parent="akng"] +light_mask = 3 +position = Vector2(47.9999, -4) +scale = Vector2(2.6, 2.6) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 +script = ExtResource("11_u7tym") + +[node name="maps" type="TextureButton" parent="."] +editor_description = "Кнопка для отображения внешних соединений." +self_modulate = Color(0.788235, 0.788235, 0.788235, 1) +layout_mode = 0 +offset_left = 1458.0 +offset_top = 992.0 +offset_right = 1714.0 +offset_bottom = 1248.0 +scale = Vector2(0.25, 0.25) +size_flags_horizontal = 15 +size_flags_vertical = 15 +toggle_mode = true +action_mode = 0 +texture_normal = ExtResource("2_oysma") +stretch_mode = 0 +script = ExtResource("3_4pt7j") +state_colors = [Color(1, 1, 1, 1), Color(0, 0.74, 0.37, 1), Color(0.854902, 0.0705882, 0.0705882, 1)] + +[node name="label" type="Label" parent="maps"] +layout_mode = 0 +offset_left = 4.0 +offset_top = -128.0 +offset_right = 53.0 +offset_bottom = -109.0 +scale = Vector2(4, 4) +text = "Карты" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="frame" type="NinePatchRect" parent="maps"] +visible = false +self_modulate = Color(0.890196, 0.486275, 0.196078, 1) +layout_mode = 0 +offset_left = -32.0 +offset_top = -12.0 +offset_right = 123.0 +offset_bottom = 111.0 +scale = Vector2(2, 2) +texture = ExtResource("4_rasbe") +region_rect = Rect2(-3, -3, 89, 89) +patch_margin_left = 16 +patch_margin_top = 16 +patch_margin_right = 16 +patch_margin_bottom = 16 + +[node name="connect_pribor" type="AnimatedSprite2D" parent="maps"] +light_mask = 3 +position = Vector2(47.9999, -4) +scale = Vector2(2.6, 2.6) sprite_frames = SubResource("SpriteFrames_foasq") frame_progress = 0.72355 script = ExtResource("11_u7tym") @@ -178,9 +336,9 @@ script = ExtResource("11_u7tym") [node name="pribor_uf" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1150.0 +offset_left = 1183.0 offset_top = 565.0 -offset_right = 1261.0 +offset_right = 1294.0 offset_bottom = 750.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -218,7 +376,6 @@ 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.625, 0.625) @@ -229,9 +386,9 @@ script = ExtResource("11_u7tym") [node name="pribor_rtr" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1025.0 +offset_left = 1058.0 offset_top = 595.0 -offset_right = 1131.0 +offset_right = 1164.0 offset_bottom = 751.0 pivot_offset = Vector2(-10, -65) size_flags_horizontal = 15 @@ -279,7 +436,6 @@ horizontal_alignment = 1 vertical_alignment = 1 [node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_rtr"] -modulate = Color(0.498039, 0.498039, 0.498039, 1) light_mask = 3 position = Vector2(55, -15) scale = Vector2(0.625, 0.625) @@ -290,10 +446,10 @@ script = ExtResource("11_u7tym") [node name="pribor_afsp_1" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1020.0 -offset_top = 420.0 -offset_right = 1853.0 -offset_bottom = 1060.0 +offset_left = 1053.0 +offset_top = 432.0 +offset_right = 1886.0 +offset_bottom = 1072.0 scale = Vector2(0.2, 0.2) pivot_offset = Vector2(-10, -65) size_flags_horizontal = 15 @@ -344,7 +500,6 @@ horizontal_alignment = 1 vertical_alignment = 1 [node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_afsp_1"] -modulate = Color(0.498039, 0.498039, 0.498039, 1) light_mask = 3 position = Vector2(415, -40) scale = Vector2(3, 3) @@ -355,10 +510,10 @@ script = ExtResource("11_u7tym") [node name="pribor_afsp_2" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1210.0 -offset_top = 420.0 -offset_right = 2043.0 -offset_bottom = 1060.0 +offset_left = 1243.0 +offset_top = 432.0 +offset_right = 2076.0 +offset_bottom = 1072.0 scale = Vector2(0.2, 0.2) pivot_offset = Vector2(-10, -65) size_flags_horizontal = 15 @@ -410,7 +565,6 @@ horizontal_alignment = 1 vertical_alignment = 1 [node name="connect_pribor" type="AnimatedSprite2D" parent="pribor_afsp_2"] -modulate = Color(0.498039, 0.498039, 0.498039, 1) light_mask = 3 position = Vector2(425, -40) scale = Vector2(3, 3) @@ -421,9 +575,9 @@ script = ExtResource("11_u7tym") [node name="pribor_uyep" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1280.0 +offset_left = 1313.0 offset_top = 565.0 -offset_right = 1374.0 +offset_right = 1407.0 offset_bottom = 751.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -462,7 +616,6 @@ 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.625, 0.625) @@ -473,9 +626,9 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_v_2" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1435.0 +offset_left = 1440.0 offset_top = 680.0 -offset_right = 1512.0 +offset_right = 1517.0 offset_bottom = 796.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -515,7 +668,6 @@ 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.625, 0.625) @@ -526,9 +678,9 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_n_2" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1435.0 +offset_left = 1440.0 offset_top = 345.0 -offset_right = 1512.0 +offset_right = 1517.0 offset_bottom = 461.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -570,7 +722,6 @@ 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.625, 0.625) @@ -581,9 +732,9 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_k_2" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1435.0 +offset_left = 1440.0 offset_top = 515.0 -offset_right = 1512.0 +offset_right = 1517.0 offset_bottom = 631.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -623,7 +774,6 @@ 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.625, 0.625) @@ -634,10 +784,10 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_v_3" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1015.0 -offset_top = 865.0 -offset_right = 1092.0 -offset_bottom = 981.0 +offset_left = 1048.0 +offset_top = 802.0 +offset_right = 1125.0 +offset_bottom = 918.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -676,7 +826,6 @@ 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.625, 0.625) @@ -687,10 +836,10 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_n_3" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1290.0 -offset_top = 865.0 -offset_right = 1367.0 -offset_bottom = 981.0 +offset_left = 1323.0 +offset_top = 802.0 +offset_right = 1400.0 +offset_bottom = 918.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -729,7 +878,6 @@ 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.625, 0.625) @@ -740,10 +888,10 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_k_3" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1155.0 -offset_top = 865.0 -offset_right = 1232.0 -offset_bottom = 981.0 +offset_left = 1188.0 +offset_top = 802.0 +offset_right = 1265.0 +offset_bottom = 918.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -782,7 +930,6 @@ 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.625, 0.625) @@ -793,10 +940,10 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_v_1" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1295.0 -offset_top = 180.0 -offset_right = 1372.0 -offset_bottom = 296.0 +offset_left = 1328.0 +offset_top = 198.0 +offset_right = 1405.0 +offset_bottom = 314.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -835,7 +982,6 @@ 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.625, 0.625) @@ -846,10 +992,10 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_n_1" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1015.0 -offset_top = 175.0 -offset_right = 1092.0 -offset_bottom = 291.0 +offset_left = 1048.0 +offset_top = 193.0 +offset_right = 1125.0 +offset_bottom = 309.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -888,7 +1034,6 @@ 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.625, 0.625) @@ -899,10 +1044,10 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_k_1" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 1150.0 -offset_top = 175.0 -offset_right = 1227.0 -offset_bottom = 291.0 +offset_left = 1183.0 +offset_top = 193.0 +offset_right = 1260.0 +offset_bottom = 309.0 size_flags_horizontal = 15 size_flags_vertical = 15 toggle_mode = true @@ -941,7 +1086,6 @@ 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.625, 0.625) @@ -952,9 +1096,9 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_v_4" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 890.0 +offset_left = 946.0 offset_top = 345.0 -offset_right = 967.0 +offset_right = 1023.0 offset_bottom = 461.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -993,7 +1137,6 @@ 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.625, 0.625) @@ -1004,9 +1147,9 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_n_4" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 885.0 +offset_left = 941.0 offset_top = 685.0 -offset_right = 962.0 +offset_right = 1018.0 offset_bottom = 801.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -1045,7 +1188,6 @@ 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.625, 0.625) @@ -1056,9 +1198,9 @@ script = ExtResource("11_u7tym") [node name="pribor_prd_k_4" type="TextureButton" parent="." groups=["pribor_buttons"]] editor_description = "Кнопка для выбора прибора." layout_mode = 0 -offset_left = 890.0 +offset_left = 946.0 offset_top = 515.0 -offset_right = 967.0 +offset_right = 1023.0 offset_bottom = 631.0 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -1097,7 +1239,6 @@ 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.625, 0.625) @@ -1173,7 +1314,43 @@ text = "Контроль исправности прибора" horizontal_alignment = 1 vertical_alignment = 1 -[connection signal="toggled" from="externals" to="externals" method="_on_toggled"] +[node name="connect_legend0" type="AnimatedSprite2D" parent="."] +light_mask = 3 +position = Vector2(1219, 1136) +scale = Vector2(0.65, 0.65) +sprite_frames = SubResource("SpriteFrames_foasq") +frame_progress = 0.72355 +script = ExtResource("11_u7tym") + +[node name="Label" type="Label" parent="connect_legend0"] +offset_left = 36.9231 +offset_top = -15.3846 +offset_right = 103.923 +offset_bottom = 3.61538 +scale = Vector2(1.54, 1.54) +text = "Отключен" + +[node name="connect_legend1" type="AnimatedSprite2D" parent="."] +self_modulate = Color(0, 1, 0, 1) +light_mask = 3 +position = Vector2(975, 1136) +scale = Vector2(0.65, 0.65) +sprite_frames = SubResource("SpriteFrames_foasq") +frame = 1 +script = ExtResource("11_u7tym") + +[node name="Label" type="Label" parent="connect_legend1"] +offset_left = 36.9231 +offset_top = -13.8462 +offset_right = 99.9231 +offset_bottom = 5.15385 +scale = Vector2(1.54, 1.54) +text = "На связи" + +[connection signal="toggled" from="capsrpb" to="capsrpb" method="_on_toggled"] +[connection signal="toggled" from="5p28" to="5p28" method="_on_toggled"] +[connection signal="toggled" from="akng" to="akng" method="_on_toggled"] +[connection signal="toggled" from="maps" to="maps" method="_on_toggled"] [connection signal="toggled" from="pribor_uf" to="pribor_uf" method="_on_toggled"] [connection signal="toggled" from="pribor_rtr" to="pribor_rtr" method="_on_toggled"] [connection signal="toggled" from="pribor_afsp_1" to="pribor_afsp_1" method="_on_toggled"] diff --git a/scenes/работа/работа.tscn b/scenes/работа/работа.tscn index 64b1bbd5..6d645182 100644 --- a/scenes/работа/работа.tscn +++ b/scenes/работа/работа.tscn @@ -305,6 +305,6 @@ text = "Масштаб:" [connection signal="drag_continue" from="." to="." method="_on_drag_continue"] [connection signal="toggled" from="btn_view" to="." method="on_button_view_toggled"] [connection signal="toggled" from="chk_auto" to="." method="on_value_changed"] -[connection signal="toggled" from="btn_activate" to="." method="on_btn_activate_toggled"] [connection signal="toggled" from="btn_activate" to="." method="on_btn_activate"] +[connection signal="toggled" from="btn_activate" to="." method="on_btn_activate_toggled"] [connection signal="toggled" from="btn_center" to="." method="on_btn_center_toggled"]