[gd_scene load_steps=3 format=2]

[ext_resource path="res://menu.gd" type="Script" id=1]
[ext_resource path="res://menu_textures/orig_1.png" type="Texture" id=2]

[node name="scene" type="Node2D"]

[node name="menu" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 1 )

[node name="menu_it" type="TextureRect" parent="menu"]
margin_right = 40.0
margin_bottom = 40.0
texture = ExtResource( 2 )

[node name="buttons" type="Control" parent="menu"]
margin_right = 40.0
margin_bottom = 40.0

[node name="b1" type="TextureButton" parent="menu/buttons"]
margin_left = 631.0
margin_top = 259.0
margin_right = 831.0
margin_bottom = 459.0
rect_pivot_offset = Vector2( 100, 100 )

[node name="b2" type="TextureButton" parent="menu/buttons"]
margin_left = 270.0
margin_top = 259.0
margin_right = 470.0
margin_bottom = 459.0
rect_pivot_offset = Vector2( 100, 100 )

[node name="popup" type="AcceptDialog" parent="menu"]
margin_right = 83.0
margin_bottom = 58.0
dialog_text = "Click"

[connection signal="mouse_entered" from="menu/buttons/b1" to="menu" method="_on_b1_mouse_entered"]
[connection signal="mouse_exited" from="menu/buttons/b1" to="menu" method="_on_b1_mouse_exited"]
[connection signal="pressed" from="menu/buttons/b1" to="menu" method="_on_b1_pressed"]
[connection signal="mouse_entered" from="menu/buttons/b2" to="menu" method="_on_b2_mouse_entered"]
[connection signal="mouse_exited" from="menu/buttons/b2" to="menu" method="_on_b2_mouse_exited"]
[connection signal="pressed" from="menu/buttons/b2" to="menu" method="_on_b2_pressed"]
