From 3c18c6705f743196609123a11dc821c20a74f090 Mon Sep 17 00:00:00 2001 From: sasha80 Date: Mon, 3 Nov 2025 14:37:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B3=D1=80=D0=B5=D1=81=D1=81?= =?UTF-8?q?=D0=B8=D1=8F.=20=D0=9A=D0=BD=D0=BE=D0=BF=D0=BA=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=82=D0=B5=D1=80=D1=8F=D0=BB=D0=B8=D1=81=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scenes/работа/работа.tscn | 42 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/scenes/работа/работа.tscn b/scenes/работа/работа.tscn index f7485c34..08aba720 100644 --- a/scenes/работа/работа.tscn +++ b/scenes/работа/работа.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=18 format=3 uid="uid://b276iygic5itk"] +[gd_scene load_steps=19 format=3 uid="uid://b276iygic5itk"] [ext_resource type="Script" uid="uid://daudc0s3oox3i" path="res://scenes/работа/работа.gd" id="1_niok4"] [ext_resource type="PackedScene" uid="uid://nl1vklubr5kr" path="res://scenes/bip/bip.tscn" id="2_br3s6"] @@ -13,6 +13,7 @@ [ext_resource type="Texture2D" uid="uid://csdw3q5dtvu4w" path="res://data/power-1.png" id="11_xp4y6"] [ext_resource type="Texture2D" uid="uid://0sk43ticjaxk" path="res://data/navi-center-0.png" id="12_5ffal"] [ext_resource type="Texture2D" uid="uid://bk4ssfho1murp" path="res://data/navi-center-1.png" id="13_ggrwd"] +[ext_resource type="Texture2D" uid="uid://c6booa8753u5t" path="res://data/состояние-исправности-2.png" id="14_ggrwd"] [sub_resource type="Animation" id="Animation_5ffal"] resource_name = "goto" @@ -338,6 +339,42 @@ offset_bottom = 302.0 theme_override_font_sizes/font_size = 20 text = "−" +[node name="btn_close" parent="." instance=ExtResource("8_k0iv2")] +layout_mode = 0 +offset_left = 10.0 +offset_top = 917.0 +offset_right = 109.0 +offset_bottom = 937.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 +tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой" +strips_rotation = 25.0 +text = "Сек. запрета" +metadata/state = 0 + +[node name="btn_work" parent="." instance=ExtResource("8_k0iv2")] +layout_mode = 2 +offset_left = 10.0 +offset_top = 890.0 +offset_right = 109.0 +offset_bottom = 910.0 +size_flags_horizontal = 3 +size_flags_vertical = 3 +tooltip_text = "Кнопка для выбора сектора при помощи клика мышкой" +strips_rotation = 25.0 +text = "Сек. работы" +metadata/state = 0 + +[node name="btn_all_work" type="TextureButton" parent="."] +modulate = Color(1, 1, 1, 0.356863) +layout_mode = 0 +offset_left = 112.0 +offset_top = 920.0 +offset_right = 336.0 +offset_bottom = 1144.0 +scale = Vector2(0.06, 0.06) +texture_normal = ExtResource("14_ggrwd") + [connection signal="drag_begin" from="." to="." method="_on_drag_begin"] [connection signal="drag_continue" from="." to="." method="_on_drag_continue"] [connection signal="toggled" from="btn_view" to="." method="on_button_view_toggled"] @@ -346,7 +383,8 @@ text = "−" [connection signal="toggled" from="btn_activate" to="." method="on_btn_activate"] [connection signal="toggled" from="btn_center" to="." method="on_btn_center_toggled"] [connection signal="button_down" from="zoom_plus" to="tilemap" method="_on_zoom_plus_button_down"] -[connection signal="button_up" from="zoom_plus" to="tilemap" method="_on_zoom_plus_button_up"] [connection signal="button_up" from="zoom_plus" to="tilemap" method="_on_zoom_button_up"] +[connection signal="button_up" from="zoom_plus" to="tilemap" method="_on_zoom_plus_button_up"] [connection signal="button_down" from="zoom_minus" to="tilemap" method="_on_zoom_minus_button_down"] [connection signal="button_up" from="zoom_minus" to="tilemap" method="_on_zoom_button_up"] +[connection signal="pressed" from="btn_all_work" to="." method="_on_btn_all_work_pressed"]