diff --git a/scenes/pribor-rtr/pribor-rtr.tscn b/scenes/pribor-rtr/pribor-rtr.tscn index 6641a0c8..2e5a81d4 100644 --- a/scenes/pribor-rtr/pribor-rtr.tscn +++ b/scenes/pribor-rtr/pribor-rtr.tscn @@ -57,7 +57,7 @@ layout_mode = 2 size_flags_horizontal = 7 size_flags_vertical = 7 value0 = 24.0 -value1 = 27.0 +value1 = 10.0 max_value0 = 100.0 max_value1 = 100.0 step0 = 1.0 @@ -69,6 +69,9 @@ name_min_size0 = Vector2i(35, 20) name_min_size1 = Vector2i(35, 20) name_min_size2 = Vector2i(35, 20) fname = "Канал 1" +metadata/path_value0 = "SelfTest[1].DevList[1].DevList[0]['CurrentValue']" +metadata/path_value1 = "SelfTest[2].DevList[1].DevList[0]['CurrentValue']" +metadata/path_value2 = "SelfTest[0].DevList[1].DevList[0]['ErCode']" [node name="kanal2" parent="konverter/grid" instance=ExtResource("2_v25ql")] layout_mode = 2 @@ -87,6 +90,9 @@ name_min_size0 = Vector2i(35, 20) name_min_size1 = Vector2i(35, 20) name_min_size2 = Vector2i(35, 20) fname = "Канал 2" +metadata/path_value0 = "SelfTest[1].DevList[1].DevList[1]['CurrentValue']" +metadata/path_value1 = "SelfTest[2].DevList[1].DevList[1]['CurrentValue']" +metadata/path_value2 = "SelfTest[0].DevList[1].DevList[1]['ErCode']" [node name="kanal3" parent="konverter/grid" instance=ExtResource("2_v25ql")] layout_mode = 2 @@ -105,6 +111,9 @@ name_min_size0 = Vector2i(35, 20) name_min_size1 = Vector2i(35, 20) name_min_size2 = Vector2i(35, 20) fname = "Канал 3" +metadata/path_value0 = "SelfTest[1].DevList[1].DevList[2]['CurrentValue']" +metadata/path_value1 = "SelfTest[2].DevList[1].DevList[2]['CurrentValue']" +metadata/path_value2 = "SelfTest[0].DevList[1].DevList[2]['ErCode']" [node name="kanal4" parent="konverter/grid" instance=ExtResource("2_v25ql")] layout_mode = 2 @@ -123,6 +132,9 @@ name_min_size0 = Vector2i(35, 20) name_min_size1 = Vector2i(35, 20) name_min_size2 = Vector2i(35, 20) fname = "Канал 4" +metadata/path_value0 = "SelfTest[1].DevList[1].DevList[3]['CurrentValue']" +metadata/path_value1 = "SelfTest[2].DevList[1].DevList[3]['CurrentValue']" +metadata/path_value2 = "SelfTest[0].DevList[1].DevList[3]['ErCode']" [node name="kanal5" parent="konverter/grid" instance=ExtResource("2_v25ql")] layout_mode = 2 @@ -141,6 +153,9 @@ name_min_size0 = Vector2i(35, 20) name_min_size1 = Vector2i(35, 20) name_min_size2 = Vector2i(35, 20) fname = "Канал 5" +metadata/path_value0 = "SelfTest[1].DevList[1].DevList[4]['CurrentValue']" +metadata/path_value1 = "SelfTest[2].DevList[1].DevList[4]['CurrentValue']" +metadata/path_value2 = "SelfTest[0].DevList[1].DevList[4]['ErCode']" [node name="kanal6" parent="konverter/grid" instance=ExtResource("2_v25ql")] layout_mode = 2 @@ -159,6 +174,9 @@ name_min_size0 = Vector2i(35, 20) name_min_size1 = Vector2i(35, 20) name_min_size2 = Vector2i(35, 20) fname = "Канал 6" +metadata/path_value0 = "SelfTest[1].DevList[1].DevList[5]['CurrentValue']" +metadata/path_value1 = "SelfTest[2].DevList[1].DevList[5]['CurrentValue']" +metadata/path_value2 = "SelfTest[0].DevList[1].DevList[5]['ErCode']" [node name="kanal7" parent="konverter/grid" instance=ExtResource("2_v25ql")] layout_mode = 2 @@ -177,6 +195,9 @@ name_min_size0 = Vector2i(35, 20) name_min_size1 = Vector2i(35, 20) name_min_size2 = Vector2i(35, 20) fname = "Канал 7" +metadata/path_value0 = "SelfTest[1].DevList[1].DevList[6]['CurrentValue']" +metadata/path_value1 = "SelfTest[2].DevList[1].DevList[6]['CurrentValue']" +metadata/path_value2 = "SelfTest[0].DevList[1].DevList[6]['ErCode']" [node name="kanal8" parent="konverter/grid" instance=ExtResource("2_v25ql")] layout_mode = 2 @@ -195,6 +216,9 @@ name_min_size0 = Vector2i(35, 20) name_min_size1 = Vector2i(35, 20) name_min_size2 = Vector2i(35, 20) fname = "Канал 8" +metadata/path_value0 = "SelfTest[1].DevList[1].DevList[7]['CurrentValue']" +metadata/path_value1 = "SelfTest[2].DevList[1].DevList[7]['CurrentValue']" +metadata/path_value2 = "SelfTest[0].DevList[1].DevList[7]['ErCode']" [node name="antenna1" type="NinePatchRect" parent="."] layout_mode = 0 @@ -541,6 +565,7 @@ name_min_size0 = Vector2i(35, 20) name_min_size1 = Vector2i(35, 20) name_min_size2 = Vector2i(35, 20) fname = "Генератор" +metadata/test_path = "SelfTest[1].DevList[2]" [node name="dsp" parent="." instance=ExtResource("5_mxmk0")] layout_mode = 0 diff --git a/scenes/контроль/блок-а.tscn b/scenes/контроль/блок-а.tscn index 2e807ad3..15ca8718 100644 --- a/scenes/контроль/блок-а.tscn +++ b/scenes/контроль/блок-а.tscn @@ -178,8 +178,6 @@ offset_bottom = 88.0 theme_override_styles/panel = SubResource("StyleBoxEmpty_3nd2u") script = SubResource("GDScript_oj3k3") textures = [ExtResource("1_xcvfs"), ExtResource("2_ad1dj"), ExtResource("3_vxg7f")] -metadata/ref_des = "" -metadata/dec_num = "" [node name="rect" type="NinePatchRect" parent="."] layout_mode = 2 diff --git a/scenes/контроль/блок-б.tscn b/scenes/контроль/блок-б.tscn index 14be8bd5..4a898e29 100644 --- a/scenes/контроль/блок-б.tscn +++ b/scenes/контроль/блок-б.tscn @@ -21,128 +21,97 @@ extends PanelContainer set(v): value0 = v $margin/vbox/grid1/indicator0.value = v - get: - return value0 @export var value1: float: set(v): value1 = v $margin/vbox/grid1/indicator1.value = v - get: - return value1 @export var value2: bool: set(v): value2 = v $margin/vbox/grid2/lbl_value.text = 'подключен' if v else 'нет связи' - get: - return value2 @export var min_value0: float: set(v): min_value0 = v $margin/vbox/grid1/indicator0.min_value = v - get: - return min_value0 @export var min_value1: float: set(v): min_value1 = v $margin/vbox/grid1/indicator1.min_value = v - get: - return min_value1 @export var max_value0: float: set(v): max_value0 = v $margin/vbox/grid1/indicator0.max_value = v - get: - return max_value0 @export var max_value1: float: set(v): max_value1 = v $margin/vbox/grid1/indicator1.max_value = v - get: - return max_value1 @export var step0: float: set(v): step0 = v $margin/vbox/grid1/indicator0.step = v - get: - return step0 @export var step1: float: set(v): step1 = v $margin/vbox/grid1/indicator1.step = v - get: - return step1 @export var value_name0: String: set(v): value_name0 = v $margin/vbox/grid1/indicator0.value_name = v - get: - return value_name0 @export var value_name1: String: set(v): value_name1 = v $margin/vbox/grid1/indicator1.value_name = v - get: - return value_name1 @export var value_name2: String: set(v): value_name2 = v $margin/vbox/grid2/lbl_name.text = v - get: - return value_name2 @export var name_min_size0: Vector2i: set(v): name_min_size0 = v $margin/vbox/grid1/indicator0.name_min_size = v - get: - return name_min_size0 @export var name_min_size1: Vector2i: set(v): name_min_size1 = v $margin/vbox/grid1/indicator1.name_min_size = v - get: - return name_min_size1 @export var name_min_size2: Vector2i: set(v): name_min_size2 = v $margin/vbox/grid2/lbl_name.custom_minimum_size = v - get: - return name_min_size2 @export var fname: String: set(v): fname = v $margin/vbox/grid0/fname.text = v - get: - return fname + @export var rname: String: set(v): @@ -158,16 +127,13 @@ extends PanelContainer v %= textures.size() state = v $margin/vbox/grid0/state.texture = textures[v] - get: - return state @export var alignment: int: set(v): alignment = v $margin/vbox.alignment = v - get: - return alignment + " [sub_resource type="GDScript" id="GDScript_45hqb"] @@ -204,8 +170,6 @@ offset_bottom = 88.0 theme_override_styles/panel = SubResource("StyleBoxEmpty_3nd2u") script = SubResource("GDScript_oj3k3") textures = [ExtResource("1_8cp2h"), ExtResource("2_o7rki"), ExtResource("3_vg8j2")] -metadata/ref_des = "" -metadata/dec_num = "" [node name="rect" type="NinePatchRect" parent="."] layout_mode = 2 @@ -240,6 +204,7 @@ size_flags_horizontal = 2 size_flags_vertical = 6 texture = ExtResource("1_8cp2h") expand_mode = 1 +metadata/test_path = "" [node name="fname" type="Label" parent="margin/vbox/grid0"] self_modulate = Color(1, 1, 1, 0.627451) diff --git a/scenes/контроль/кнопка-прибора.gd b/scenes/контроль/кнопка-прибора.gd index 5485f441..491822b0 100644 --- a/scenes/контроль/кнопка-прибора.gd +++ b/scenes/контроль/кнопка-прибора.gd @@ -2,14 +2,14 @@ extends Node -@export var textures: Array +@export var state_colors: Array func _on_toggled(toggled_on): $frame.visible = toggled_on @export var state: int: set(v): - v = 0 if v < 0 else v % textures.size() + v = 0 if v < 0 else v % state_colors.size() state = v - $state.texture = textures[v] + $label.self_modulate = state_colors[v] get: return state diff --git a/scenes/контроль/контроль.tscn b/scenes/контроль/контроль.tscn index 040dff4b..ce329a7d 100644 --- a/scenes/контроль/контроль.tscn +++ b/scenes/контроль/контроль.tscn @@ -34,7 +34,8 @@ action_mode = 0 texture_normal = ExtResource("2_0nvm1") stretch_mode = 0 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.854902, 0.0705882, 0.0705882, 1)] +state = 2 [node name="label" type="Label" parent="pribor_uf"] layout_mode = 0 @@ -61,15 +62,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_uf"] -layout_mode = 0 -offset_left = 16.0 -offset_top = -15.0 -offset_right = 240.0 -offset_bottom = 209.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_rtr" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1197.0 @@ -83,7 +75,8 @@ action_mode = 0 texture_normal = ExtResource("3_hhadv") stretch_mode = 0 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_rtr"] layout_mode = 0 @@ -109,15 +102,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_rtr"] -layout_mode = 0 -offset_left = 13.0 -offset_top = -24.0 -offset_right = 237.0 -offset_bottom = 200.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_afsp_l" type="TextureButton" parent="."] layout_mode = 0 offset_left = 996.0 @@ -132,7 +116,8 @@ action_mode = 0 texture_normal = ExtResource("4_l0nc7") stretch_mode = 4 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_afsp_l"] layout_mode = 0 @@ -161,15 +146,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_afsp_l"] -layout_mode = 0 -offset_left = 45.0001 -offset_top = -105.0 -offset_right = 269.0 -offset_bottom = 119.0 -scale = Vector2(0.5, 0.5) -texture = ExtResource("7_6j01w") - [node name="pribor_afsp_r" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1342.0 @@ -184,7 +160,8 @@ action_mode = 0 texture_normal = ExtResource("4_l0nc7") stretch_mode = 4 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_afsp_r"] layout_mode = 0 @@ -213,15 +190,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_afsp_r"] -layout_mode = 0 -offset_left = 5.00006 -offset_top = -105.0 -offset_right = 229.0 -offset_bottom = 119.0 -scale = Vector2(0.5, 0.5) -texture = ExtResource("7_6j01w") - [node name="pribor_uyep" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1194.0 @@ -235,7 +203,8 @@ action_mode = 0 texture_normal = ExtResource("5_kvnex") stretch_mode = 0 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_uyep"] layout_mode = 0 @@ -262,15 +231,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_uyep"] -layout_mode = 0 -offset_left = 10.0 -offset_top = -24.0 -offset_right = 234.0 -offset_bottom = 200.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_v_2" type="TextureButton" parent="."] layout_mode = 0 offset_left = 960.0 @@ -284,7 +244,8 @@ action_mode = 0 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_v_2"] layout_mode = 0 @@ -310,15 +271,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_v_2"] -layout_mode = 0 -offset_left = -20.0 -offset_top = -21.0 -offset_right = 204.0 -offset_bottom = 203.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_n_2" type="TextureButton" parent="."] layout_mode = 0 offset_left = 960.0 @@ -332,7 +284,8 @@ action_mode = 0 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_n_2"] layout_mode = 0 @@ -360,15 +313,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_n_2"] -layout_mode = 0 -offset_left = -15.0 -offset_top = -20.0 -offset_right = 209.0 -offset_bottom = 204.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_k_2" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1077.0 @@ -382,7 +326,8 @@ action_mode = 0 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_k_2"] layout_mode = 0 @@ -408,15 +353,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_k_2"] -layout_mode = 0 -offset_left = -6.99999 -offset_top = -20.0 -offset_right = 217.0 -offset_bottom = 204.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_v_3" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1344.0 @@ -431,7 +367,8 @@ texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_v_3"] layout_mode = 0 @@ -458,15 +395,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_v_3"] -layout_mode = 0 -offset_left = -8.99999 -offset_top = -22.0 -offset_right = 215.0 -offset_bottom = 202.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_n_3" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1458.0 @@ -481,7 +409,8 @@ texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_n_3"] layout_mode = 0 @@ -507,15 +436,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_n_3"] -layout_mode = 0 -offset_left = -13.0 -offset_top = -21.0 -offset_right = 211.0 -offset_bottom = 203.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_k_3" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1343.0 @@ -530,7 +450,8 @@ texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_k_3"] layout_mode = 0 @@ -557,15 +478,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_k_3"] -layout_mode = 0 -offset_left = -13.0 -offset_top = -20.0 -offset_right = 211.0 -offset_bottom = 204.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_v_1" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1457.0 @@ -580,7 +492,8 @@ texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_v_1"] layout_mode = 0 @@ -606,15 +519,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_v_1"] -layout_mode = 0 -offset_left = -17.0 -offset_top = -19.0 -offset_right = 207.0 -offset_bottom = 205.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_n_1" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1455.0 @@ -629,7 +533,8 @@ texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_n_1"] layout_mode = 0 @@ -655,15 +560,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_n_1"] -layout_mode = 0 -offset_left = -9.99999 -offset_top = -19.0 -offset_right = 214.0 -offset_bottom = 205.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_k_1" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1344.0 @@ -678,7 +574,8 @@ texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 flip_h = true script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_k_1"] layout_mode = 0 @@ -704,15 +601,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_k_1"] -layout_mode = 0 -offset_left = -14.0 -offset_top = -19.0 -offset_right = 210.0 -offset_bottom = 205.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_v_4" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1077.0 @@ -726,7 +614,8 @@ action_mode = 0 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_v_4"] layout_mode = 0 @@ -753,15 +642,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_v_4"] -layout_mode = 0 -offset_left = -12.0 -offset_top = -21.0 -offset_right = 212.0 -offset_bottom = 203.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_n_4" type="TextureButton" parent="."] layout_mode = 0 offset_left = 961.0 @@ -775,7 +655,8 @@ action_mode = 0 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_n_4"] layout_mode = 0 @@ -801,15 +682,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_n_4"] -layout_mode = 0 -offset_left = -11.0 -offset_top = -19.0 -offset_right = 213.0 -offset_bottom = 205.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="pribor_prd_k_4" type="TextureButton" parent="."] layout_mode = 0 offset_left = 1077.0 @@ -823,7 +695,8 @@ action_mode = 0 texture_normal = ExtResource("6_i1yfn") stretch_mode = 4 script = ExtResource("3_4pt7j") -textures = [ExtResource("7_6j01w"), ExtResource("8_isjua"), ExtResource("9_ll0vs")] +state_colors = [Color(1, 1, 1, 1), Color(0, 0.87, 0, 1), Color(0.65, 0.0715, 0.0715, 1)] +state = 2 [node name="label" type="Label" parent="pribor_prd_k_4"] layout_mode = 0 @@ -849,15 +722,6 @@ patch_margin_top = 16 patch_margin_right = 16 patch_margin_bottom = 16 -[node name="state" type="TextureRect" parent="pribor_prd_k_4"] -layout_mode = 0 -offset_left = -6.99999 -offset_top = -20.0 -offset_right = 217.0 -offset_bottom = 204.0 -scale = Vector2(0.1, 0.1) -texture = ExtResource("7_6j01w") - [node name="mnemo_container" type="Panel" parent="."] layout_mode = 0