Доработка. Исправлен порт для локалхоста.
This commit is contained in:
@@ -4,8 +4,8 @@ const MENU_SCENE_FILE: String = 'res://меню.tscn'
|
|||||||
|
|
||||||
|
|
||||||
# Адрес имитатора
|
# Адрес имитатора
|
||||||
const MAIN_ADDR = [ '127.0.0.1', 50005 ]
|
const MAIN_ADDR = [ '127.0.0.1', 42022 ]
|
||||||
const DST_ADDR = [ '127.0.0.1', 50079 ]
|
const DST_ADDR = [ '127.0.0.1', 42023 ]
|
||||||
|
|
||||||
|
|
||||||
const TABLE_ROW_HIGHT = 34 # Высота строки таблицы в пикселях
|
const TABLE_ROW_HIGHT = 34 # Высота строки таблицы в пикселях
|
||||||
|
|||||||
18
main.tscn
18
main.tscn
@@ -1,12 +1,12 @@
|
|||||||
[gd_scene load_steps=5 format=3 uid="uid://87gtvqd7bbje"]
|
[gd_scene load_steps=5 format=3 uid="uid://87gtvqd7bbje"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://main.gd" id="1_fr0qe"]
|
[ext_resource type="Script" path="res://main.gd" id="1_8p35p"]
|
||||||
[ext_resource type="Script" path="res://table/table.gd" id="2_8llri"]
|
[ext_resource type="Script" path="res://table/table.gd" id="2_xq1tk"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cex4jiu1pcj3x" path="res://edit-add-0.png" id="3_1fkmd"]
|
[ext_resource type="Texture2D" uid="uid://cex4jiu1pcj3x" path="res://edit-add-0.png" id="3_f3g8t"]
|
||||||
[ext_resource type="Texture2D" uid="uid://cx746np1wexnd" path="res://edit-add-1.png" id="4_gkkg8"]
|
[ext_resource type="Texture2D" uid="uid://cx746np1wexnd" path="res://edit-add-1.png" id="4_4ja4j"]
|
||||||
|
|
||||||
[node name="main" type="Node2D"]
|
[node name="main" type="Node2D"]
|
||||||
script = ExtResource("1_fr0qe")
|
script = ExtResource("1_8p35p")
|
||||||
|
|
||||||
[node name="tabs" type="TabContainer" parent="."]
|
[node name="tabs" type="TabContainer" parent="."]
|
||||||
offset_right = 1594.0
|
offset_right = 1594.0
|
||||||
@@ -26,7 +26,7 @@ offset_right = 1.0
|
|||||||
offset_bottom = 10.0
|
offset_bottom = 10.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
script = ExtResource("2_8llri")
|
script = ExtResource("2_xq1tk")
|
||||||
node_type_file = "res://ячейка-1.tscn"
|
node_type_file = "res://ячейка-1.tscn"
|
||||||
|
|
||||||
[node name="btn_add" type="TextureButton" parent="tabs/threats"]
|
[node name="btn_add" type="TextureButton" parent="tabs/threats"]
|
||||||
@@ -35,8 +35,8 @@ offset_left = 1533.0
|
|||||||
offset_top = -2.0
|
offset_top = -2.0
|
||||||
offset_right = 1581.0
|
offset_right = 1581.0
|
||||||
offset_bottom = 46.0
|
offset_bottom = 46.0
|
||||||
texture_normal = ExtResource("3_1fkmd")
|
texture_normal = ExtResource("3_f3g8t")
|
||||||
texture_pressed = ExtResource("4_gkkg8")
|
texture_pressed = ExtResource("4_4ja4j")
|
||||||
|
|
||||||
[node name="btn_del" type="TextureButton" parent="tabs/threats"]
|
[node name="btn_del" type="TextureButton" parent="tabs/threats"]
|
||||||
layout_mode = 0
|
layout_mode = 0
|
||||||
@@ -54,5 +54,5 @@ layout_mode = 0
|
|||||||
offset_top = 100.0
|
offset_top = 100.0
|
||||||
offset_right = 1587.0
|
offset_right = 1587.0
|
||||||
offset_bottom = 861.0
|
offset_bottom = 861.0
|
||||||
script = ExtResource("2_8llri")
|
script = ExtResource("2_xq1tk")
|
||||||
node_type_file = "res://ячейка-1.tscn"
|
node_type_file = "res://ячейка-1.tscn"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
[gd_scene load_steps=3 format=3 uid="uid://ccxre8mwhndjk"]
|
[gd_scene load_steps=3 format=3 uid="uid://ccxre8mwhndjk"]
|
||||||
|
|
||||||
[ext_resource type="Texture2D" uid="uid://dag8n0gknjwak" path="res://индикатор-1-0.png" id="1_1da8b"]
|
[ext_resource type="Texture2D" uid="uid://dag8n0gknjwak" path="res://индикатор-1-0.png" id="1_i48re"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b3ext3w4ftgg2" path="res://индикатор-1-1.png" id="2_lx7xh"]
|
[ext_resource type="Texture2D" uid="uid://b3ext3w4ftgg2" path="res://индикатор-1-1.png" id="2_be5ku"]
|
||||||
|
|
||||||
[node name="indicator_1" type="TextureButton"]
|
[node name="indicator_1" type="TextureButton"]
|
||||||
modulate = Color(1, 0.596078, 0.4, 1)
|
modulate = Color(1, 0.596078, 0.4, 1)
|
||||||
@@ -9,5 +9,5 @@ offset_right = 35.0
|
|||||||
offset_bottom = 29.0
|
offset_bottom = 29.0
|
||||||
toggle_mode = true
|
toggle_mode = true
|
||||||
button_mask = 0
|
button_mask = 0
|
||||||
texture_normal = ExtResource("1_1da8b")
|
texture_normal = ExtResource("1_i48re")
|
||||||
texture_pressed = ExtResource("2_lx7xh")
|
texture_pressed = ExtResource("2_be5ku")
|
||||||
|
|||||||
Reference in New Issue
Block a user