[gd_scene load_steps=5 format=2] [ext_resource path="res://addons/Godoxel/components/FrameButton.gd" type="Script" id=1] [sub_resource type="StyleBoxFlat" id=3] bg_color = Color( 0.933333, 0.933333, 0.933333, 1 ) border_color = Color( 0.266667, 0.266667, 0.266667, 1 ) [sub_resource type="StyleBoxFlat" id=2] bg_color = Color( 0.933333, 0.933333, 0.933333, 1 ) border_width_left = 3 border_width_top = 3 border_width_right = 3 border_width_bottom = 3 border_color = Color( 0.662745, 0.662745, 0.662745, 1 ) [sub_resource type="StyleBoxFlat" id=1] bg_color = Color( 0.721569, 0.721569, 0.721569, 1 ) border_width_left = 3 border_width_top = 3 border_width_right = 3 border_width_bottom = 3 border_color = Color( 0.45098, 0.45098, 0.45098, 1 ) [node name="FrameButton" type="Button"] margin_right = 50.0 margin_bottom = 20.0 rect_min_size = Vector2( 50, 50 ) custom_styles/hover = SubResource( 3 ) custom_styles/focus = SubResource( 2 ) custom_styles/normal = SubResource( 1 ) script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false } [node name="TextureRect" type="TextureRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 3.0 margin_top = 3.0 margin_right = -3.0 margin_bottom = -3.0 expand = true stretch_mode = 6 __meta__ = { "_edit_use_anchors_": false } [connection signal="pressed" from="." to="." method="_on_FrameButton_pressed"]