[gd_scene load_steps=9 format=3 uid="uid://gh3wqymu7cub"]

[ext_resource type="Script" uid="uid://dhqqyf2pd1scs" path="res://scenes/эмс/кнопка-эмс.gd" id="1_pmsh3"]
[ext_resource type="Texture2D" uid="uid://nfpish471rjj" path="res://data/кнопка-эмс-1.png" id="2_0o537"]

[sub_resource type="StyleBoxEmpty" id="1"]

[sub_resource type="StyleBoxEmpty" id="4"]

[sub_resource type="StyleBoxEmpty" id="5"]

[sub_resource type="StyleBoxEmpty" id="2"]

[sub_resource type="StyleBoxEmpty" id="3"]

[sub_resource type="StyleBoxEmpty" id="6"]

[node name="container" type="PanelContainer"]
offset_right = 30.0
offset_bottom = 30.0
theme_override_styles/panel = SubResource("1")
script = ExtResource("1_pmsh3")
toggle_mode = true

[node name="state" type="NinePatchRect" parent="."]
show_behind_parent = true
layout_mode = 2
texture = ExtResource("2_0o537")
region_rect = Rect2(-1.60803, -1.94625, 31.9305, 25.9868)
patch_margin_left = 6
patch_margin_top = 5
patch_margin_right = 7
patch_margin_bottom = 5
axis_stretch_horizontal = 2
axis_stretch_vertical = 2

[node name="button" type="Button" parent="."]
layout_mode = 2
theme_override_styles/focus = SubResource("4")
theme_override_styles/disabled = SubResource("5")
theme_override_styles/hover = SubResource("2")
theme_override_styles/pressed = SubResource("3")
theme_override_styles/normal = SubResource("6")
toggle_mode = true
clip_text = true

[node name="label" type="Label" parent="."]
layout_mode = 2

[connection signal="mouse_entered" from="button" to="." method="_on_button_mouse_entered"]
[connection signal="toggled" from="button" to="." method="_on_button_toggled"]
