2018-07-26 08:31:28 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
|
|
|
|
2019-08-25 23:27:07 +02:00
|
|
|
[ext_resource path="res://addons/material_maker/nodes/image.gd" type="Script" id=1]
|
2018-09-22 08:12:33 +02:00
|
|
|
[ext_resource path="res://addons/material_maker/nodes/image/godot_logo.png" type="Texture" id=2]
|
|
|
|
|
2018-07-26 08:31:28 +02:00
|
|
|
[sub_resource type="Theme" id=1]
|
|
|
|
|
2019-04-13 19:44:37 +02:00
|
|
|
[node name="Image" type="GraphNode"]
|
2018-07-26 08:31:28 +02:00
|
|
|
margin_left = -1.0
|
|
|
|
margin_top = -1.0
|
|
|
|
margin_right = 95.0
|
|
|
|
margin_bottom = 92.0
|
|
|
|
mouse_filter = 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"
|
|
|
|
show_close = true
|
|
|
|
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
|
2019-08-25 23:27:07 +02:00
|
|
|
slot/0/right_color = Color( 0, 1, 0, 0.501961 )
|
2018-07-26 08:31:28 +02:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2019-04-13 19:44:37 +02:00
|
|
|
[node name="TextureButton" type="TextureButton" parent="."]
|
2018-07-26 08:31:28 +02:00
|
|
|
margin_left = 16.0
|
|
|
|
margin_top = 24.0
|
|
|
|
margin_right = 80.0
|
|
|
|
margin_bottom = 88.0
|
|
|
|
rect_min_size = Vector2( 64, 64 )
|
2018-07-27 08:49:54 +02:00
|
|
|
rect_clip_content = true
|
2018-07-26 08:31:28 +02:00
|
|
|
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
|
2018-07-27 08:49:54 +02:00
|
|
|
[connection signal="pressed" from="TextureButton" to="." method="_on_TextureButton_pressed"]
|