Files
imi_skysens/main.tscn
2024-12-13 15:33:45 +03:00

151 lines
4.3 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://87gtvqd7bbje"]
[ext_resource type="Script" path="res://main.gd" id="1_jt2ds"]
[ext_resource type="Script" path="res://table/table.gd" id="2_61iss"]
[ext_resource type="Texture2D" uid="uid://cex4jiu1pcj3x" path="res://edit-add-0.png" id="3_0aqi0"]
[ext_resource type="Texture2D" uid="uid://cx746np1wexnd" path="res://edit-add-1.png" id="4_s8cxp"]
[ext_resource type="Texture2D" uid="uid://wh7p3t4frxf" path="res://disconnect.png" id="6_hj3vd"]
[ext_resource type="Texture2D" uid="uid://csolqkavjib0q" path="res://save.png" id="6_xh685"]
[ext_resource type="Texture2D" uid="uid://dhveg2jqmo0pr" path="res://load.png" id="7_v45w5"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_4dilt"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uy4ow"]
[node name="main" type="Node2D"]
script = ExtResource("1_jt2ds")
[node name="ColorRect" type="ColorRect" parent="."]
offset_right = 2560.0
offset_bottom = 1440.0
color = Color(0, 0, 0, 1)
[node name="tabs" type="TabContainer" parent="ColorRect"]
self_modulate = Color(0, 0, 0, 1)
layout_mode = 0
offset_right = 1594.0
offset_bottom = 897.0
[node name="threats" type="Panel" parent="ColorRect/tabs"]
self_modulate = Color(0, 0, 0, 1)
light_mask = 2
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_4dilt")
[node name="table_t" type="GridContainer" parent="ColorRect/tabs/threats"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 11.0
offset_top = 100.0
offset_right = 1.0
offset_bottom = 10.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_61iss")
node_type_file = "res://ячейка-1.tscn"
[node name="btn_add" type="TextureButton" parent="ColorRect/tabs/threats"]
layout_mode = 0
offset_left = 1533.0
offset_top = -2.0
offset_right = 1581.0
offset_bottom = 46.0
texture_normal = ExtResource("3_0aqi0")
texture_pressed = ExtResource("4_s8cxp")
[node name="btn_del" type="TextureButton" parent="ColorRect/tabs/threats"]
layout_mode = 0
offset_left = 1499.0
offset_top = 1.0
offset_right = 1547.0
offset_bottom = 67.0
scale = Vector2(0.62, 0.62)
texture_normal = ExtResource("6_hj3vd")
[node name="btn_save" type="TextureButton" parent="ColorRect/tabs/threats"]
layout_mode = 0
offset_left = 1454.0
offset_top = 0.999999
offset_right = 1966.0
offset_bottom = 513.0
scale = Vector2(0.08, 0.08)
texture_normal = ExtResource("6_xh685")
[node name="btn_load" type="TextureButton" parent="ColorRect/tabs/threats"]
layout_mode = 0
offset_left = 1410.0
offset_top = 1.0
offset_right = 1922.0
offset_bottom = 513.0
scale = Vector2(0.08, 0.08)
texture_normal = ExtResource("7_v45w5")
[node name="panel_rotate" type="Panel" parent="ColorRect/tabs/threats"]
self_modulate = Color(0.389287, 0.389287, 0.389287, 1)
layout_mode = 0
offset_left = 3.0
offset_top = 6.0
offset_right = 150.0
offset_bottom = 50.0
theme_override_styles/panel = SubResource("StyleBoxFlat_uy4ow")
[node name="btn_rotate" type="Button" parent="ColorRect/tabs/threats/panel_rotate"]
layout_mode = 2
offset_left = 1.0
offset_top = 2.0
offset_right = 118.0
offset_bottom = 29.0
scale = Vector2(0.8, 0.8)
text = "Повернуть на "
[node name="entry_rotate" type="LineEdit" parent="ColorRect/tabs/threats/panel_rotate"]
layout_mode = 2
offset_left = 97.0
offset_top = 2.0
offset_right = 154.688
offset_bottom = 29.0
scale = Vector2(0.8, 0.8)
text = "45"
alignment = 1
[node name="lbl_rotate" type="Label" parent="ColorRect/tabs/threats/panel_rotate"]
layout_mode = 0
offset_left = 5.0
offset_top = 26.0
offset_right = 119.0
offset_bottom = 45.0
scale = Vector2(0.8, 0.8)
text = "Вращать цели:"
[node name="chkbx_rotate" type="CheckBox" parent="ColorRect/tabs/threats/panel_rotate"]
layout_mode = 0
offset_left = 110.0
offset_top = 24.0
offset_right = 134.0
offset_bottom = 48.0
scale = Vector2(0.8, 0.8)
[node name="pomehi" type="Panel" parent="ColorRect/tabs"]
visible = false
layout_mode = 2
[node name="table_p" type="GridContainer" parent="ColorRect/tabs/pomehi"]
layout_mode = 0
offset_top = 30.0
offset_right = 1587.0
offset_bottom = 886.0
script = ExtResource("2_61iss")
node_type_file = "res://ячейка-1.tscn"
[node name="fs_rect" type="ReferenceRect" parent="ColorRect/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