Доработка. Добавлена поддержка сообщений типа 6,7,8.
This commit is contained in:
40
main.tscn
40
main.tscn
@@ -1,14 +1,14 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://87gtvqd7bbje"]
|
||||
|
||||
[ext_resource type="Script" path="res://main.gd" id="1_cvm0h"]
|
||||
[ext_resource type="Script" path="res://table/table.gd" id="2_su0xk"]
|
||||
[ext_resource type="Texture2D" uid="uid://cex4jiu1pcj3x" path="res://edit-add-0.png" id="3_lumft"]
|
||||
[ext_resource type="Texture2D" uid="uid://cx746np1wexnd" path="res://edit-add-1.png" id="4_gd6ts"]
|
||||
[ext_resource type="Texture2D" uid="uid://blpkoi7s8qugp" path="res://document-save-0.png" id="5_hmvq3"]
|
||||
[ext_resource type="Texture2D" uid="uid://wh7p3t4frxf" path="res://disconnect.png" id="6_2646i"]
|
||||
[ext_resource type="Script" path="res://main.gd" id="1_do14e"]
|
||||
[ext_resource type="Script" path="res://table/table.gd" id="2_vhqjb"]
|
||||
[ext_resource type="Texture2D" uid="uid://cex4jiu1pcj3x" path="res://edit-add-0.png" id="3_aeg5a"]
|
||||
[ext_resource type="Texture2D" uid="uid://cx746np1wexnd" path="res://edit-add-1.png" id="4_vmaqo"]
|
||||
[ext_resource type="Texture2D" uid="uid://blpkoi7s8qugp" path="res://document-save-0.png" id="5_ysafc"]
|
||||
[ext_resource type="Texture2D" uid="uid://wh7p3t4frxf" path="res://disconnect.png" id="6_8jprr"]
|
||||
|
||||
[node name="main" type="Node2D"]
|
||||
script = ExtResource("1_cvm0h")
|
||||
script = ExtResource("1_do14e")
|
||||
|
||||
[node name="tabs" type="TabContainer" parent="."]
|
||||
offset_right = 1594.0
|
||||
@@ -28,7 +28,7 @@ offset_right = 1.0
|
||||
offset_bottom = 10.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("2_su0xk")
|
||||
script = ExtResource("2_vhqjb")
|
||||
node_type_file = "res://ячейка-1.tscn"
|
||||
|
||||
[node name="btn_add" type="TextureButton" parent="tabs/threats"]
|
||||
@@ -37,8 +37,8 @@ offset_left = 1533.0
|
||||
offset_top = -2.0
|
||||
offset_right = 1581.0
|
||||
offset_bottom = 46.0
|
||||
texture_normal = ExtResource("3_lumft")
|
||||
texture_pressed = ExtResource("4_gd6ts")
|
||||
texture_normal = ExtResource("3_aeg5a")
|
||||
texture_pressed = ExtResource("4_vmaqo")
|
||||
|
||||
[node name="btn_save" type="TextureButton" parent="tabs/threats"]
|
||||
layout_mode = 0
|
||||
@@ -46,7 +46,7 @@ offset_left = 1442.0
|
||||
offset_top = -1.0
|
||||
offset_right = 1490.0
|
||||
offset_bottom = 47.0
|
||||
texture_normal = ExtResource("5_hmvq3")
|
||||
texture_normal = ExtResource("5_ysafc")
|
||||
|
||||
[node name="btn_del" type="TextureButton" parent="tabs/threats"]
|
||||
layout_mode = 0
|
||||
@@ -55,7 +55,7 @@ offset_top = 1.0
|
||||
offset_right = 1547.0
|
||||
offset_bottom = 67.0
|
||||
scale = Vector2(0.62, 0.62)
|
||||
texture_normal = ExtResource("6_2646i")
|
||||
texture_normal = ExtResource("6_8jprr")
|
||||
|
||||
[node name="pomehi" type="Panel" parent="tabs"]
|
||||
visible = false
|
||||
@@ -63,8 +63,18 @@ layout_mode = 2
|
||||
|
||||
[node name="table_p" type="GridContainer" parent="tabs/pomehi"]
|
||||
layout_mode = 0
|
||||
offset_top = 100.0
|
||||
offset_top = 30.0
|
||||
offset_right = 1587.0
|
||||
offset_bottom = 861.0
|
||||
script = ExtResource("2_su0xk")
|
||||
offset_bottom = 886.0
|
||||
script = ExtResource("2_vhqjb")
|
||||
node_type_file = "res://ячейка-1.tscn"
|
||||
|
||||
[node name="fs_rect" type="ReferenceRect" parent="tabs/pomehi"]
|
||||
layout_mode = 0
|
||||
offset_left = 1000.0
|
||||
offset_top = 91.0
|
||||
offset_right = 1012.0
|
||||
offset_bottom = 103.0
|
||||
border_color = Color(1, 1, 0, 1)
|
||||
border_width = 2.4
|
||||
editor_only = false
|
||||
|
||||
Reference in New Issue
Block a user