2018-07-26 08:31:28 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
|
|
|
|
|
|
|
[ext_resource path="res://addons/procedural_material/nodes/image.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://addons/procedural_material/nodes/godot_logo.png" type="Texture" id=2]
|
|
|
|
|
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
|
|
|
|
|
2018-07-30 08:45:19 +02:00
|
|
|
[node name="Image" type="GraphNode"]
|
2018-07-26 08:31:28 +02:00
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = -1.0
|
|
|
|
margin_top = -1.0
|
|
|
|
margin_right = 95.0
|
|
|
|
margin_bottom = 92.0
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
|
|
rect_clip_content = false
|
|
|
|
mouse_filter = 1
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
2018-07-27 08:49:54 +02:00
|
|
|
size_flags_stretch_ratio = 0.13
|
2018-07-26 08:31:28 +02:00
|
|
|
theme = SubResource( 1 )
|
|
|
|
title = "Image"
|
|
|
|
offset = Vector2( 0, 0 )
|
|
|
|
show_close = true
|
|
|
|
resizable = false
|
|
|
|
selected = false
|
|
|
|
comment = false
|
|
|
|
overlay = 0
|
|
|
|
slot/0/left_enabled = false
|
|
|
|
slot/0/left_type = 0
|
|
|
|
slot/0/left_color = Color( 0.5, 0.5, 1, 1 )
|
|
|
|
slot/0/right_enabled = true
|
|
|
|
slot/0/right_type = 0
|
|
|
|
slot/0/right_color = Color( 0.5, 0.5, 1, 1 )
|
|
|
|
script = ExtResource( 1 )
|
2018-07-27 08:49:54 +02:00
|
|
|
_sections_unfolded = [ "Mouse", "Size Flags", "Theme" ]
|
2018-07-26 08:31:28 +02:00
|
|
|
|
|
|
|
[node name="TextureButton" type="TextureButton" parent="." index="0"]
|
|
|
|
|
|
|
|
anchor_left = 0.0
|
|
|
|
anchor_top = 0.0
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 16.0
|
|
|
|
margin_top = 24.0
|
|
|
|
margin_right = 80.0
|
|
|
|
margin_bottom = 88.0
|
|
|
|
rect_min_size = Vector2( 64, 64 )
|
|
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
2018-07-27 08:49:54 +02:00
|
|
|
rect_clip_content = true
|
2018-07-26 08:31:28 +02:00
|
|
|
focus_mode = 2
|
|
|
|
mouse_filter = 0
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
size_flags_horizontal = 1
|
|
|
|
size_flags_vertical = 1
|
|
|
|
toggle_mode = false
|
|
|
|
enabled_focus_mode = 2
|
|
|
|
shortcut = null
|
|
|
|
group = null
|
|
|
|
texture_normal = ExtResource( 2 )
|
2018-07-27 08:49:54 +02:00
|
|
|
expand = true
|
2018-07-26 08:31:28 +02:00
|
|
|
stretch_mode = 5
|
|
|
|
_sections_unfolded = [ "Rect", "Textures" ]
|
|
|
|
|
2018-07-27 08:49:54 +02:00
|
|
|
[connection signal="pressed" from="TextureButton" to="." method="_on_TextureButton_pressed"]
|
|
|
|
|
2018-07-26 08:31:28 +02:00
|
|
|
|