2019-10-26 13:51:15 +02:00
|
|
|
[gd_scene load_steps=8 format=2]
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2020-01-25 15:20:08 +01:00
|
|
|
[ext_resource path="res://material_maker/widgets/node_editor/output.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://material_maker/icons/icons.svg" type="Texture" id=2]
|
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[sub_resource type="AtlasTexture" id=1]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 0, 16, 16, 16 )
|
2018-10-09 07:24:44 +02:00
|
|
|
|
2019-10-26 13:51:15 +02:00
|
|
|
[sub_resource type="AtlasTexture" id=2]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 18, 48, 12, 16 )
|
|
|
|
|
|
|
|
[sub_resource type="AtlasTexture" id=3]
|
|
|
|
flags = 4
|
|
|
|
atlas = ExtResource( 2 )
|
|
|
|
region = Rect2( 34, 48, 12, 16 )
|
|
|
|
|
|
|
|
[sub_resource type="DynamicFontData" id=4]
|
2020-01-25 15:54:20 +01:00
|
|
|
font_path = "res://material_maker/fonts/hack.ttf"
|
2019-10-07 20:41:57 +02:00
|
|
|
|
2019-10-26 13:51:15 +02:00
|
|
|
[sub_resource type="DynamicFont" id=5]
|
2019-10-07 20:41:57 +02:00
|
|
|
size = 12
|
2019-10-26 13:51:15 +02:00
|
|
|
font_data = SubResource( 4 )
|
2019-10-07 20:41:57 +02:00
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[node name="Output" type="HBoxContainer"]
|
2019-10-09 20:39:08 +02:00
|
|
|
margin_right = 251.0
|
|
|
|
margin_bottom = 22.0
|
2018-10-09 07:24:44 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2019-10-06 14:07:49 +02:00
|
|
|
[node name="Delete" type="Button" parent="."]
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_right = 28.0
|
2019-10-09 20:39:08 +02:00
|
|
|
margin_bottom = 25.0
|
2019-10-06 14:07:49 +02:00
|
|
|
icon = SubResource( 1 )
|
2018-10-09 07:24:44 +02:00
|
|
|
flat = true
|
|
|
|
|
2019-10-26 13:51:15 +02:00
|
|
|
[node name="Up" type="Button" parent="."]
|
2018-10-09 07:24:44 +02:00
|
|
|
margin_left = 32.0
|
2019-10-26 13:51:15 +02:00
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 25.0
|
|
|
|
icon = SubResource( 2 )
|
|
|
|
flat = true
|
|
|
|
|
|
|
|
[node name="Down" type="Button" parent="."]
|
|
|
|
margin_left = 60.0
|
|
|
|
margin_right = 84.0
|
|
|
|
margin_bottom = 25.0
|
|
|
|
icon = SubResource( 3 )
|
|
|
|
flat = true
|
|
|
|
|
|
|
|
[node name="Type" type="OptionButton" parent="."]
|
|
|
|
margin_left = 88.0
|
2020-01-28 22:40:03 +01:00
|
|
|
margin_right = 190.0
|
2019-10-09 20:39:08 +02:00
|
|
|
margin_bottom = 25.0
|
2018-10-09 07:24:44 +02:00
|
|
|
rect_min_size = Vector2( 102, 0 )
|
|
|
|
hint_tooltip = "Input flag"
|
2020-01-28 22:40:03 +01:00
|
|
|
text = "Greyscale"
|
|
|
|
items = [ "Greyscale", null, false, 0, null, "Color", null, false, 1, null, "RGBA", null, false, 2, null, "SDF2D", null, false, 3, null, "SDF3D", null, false, 4, null, "SDF3D-C", null, false, 5, null ]
|
2018-10-09 07:24:44 +02:00
|
|
|
selected = 0
|
|
|
|
|
2019-10-09 20:39:08 +02:00
|
|
|
[node name="Value" type="LineEdit" parent="."]
|
2020-01-28 22:40:03 +01:00
|
|
|
margin_left = 194.0
|
|
|
|
margin_right = 288.0
|
2019-10-09 20:39:08 +02:00
|
|
|
margin_bottom = 25.0
|
2018-10-09 07:24:44 +02:00
|
|
|
hint_tooltip = "Default value"
|
|
|
|
size_flags_horizontal = 3
|
2019-10-26 13:51:15 +02:00
|
|
|
custom_fonts/font = SubResource( 5 )
|
2018-10-09 07:24:44 +02:00
|
|
|
text = "0.0"
|
2019-10-07 20:41:57 +02:00
|
|
|
context_menu_enabled = false
|
2018-10-09 07:24:44 +02:00
|
|
|
[connection signal="pressed" from="Delete" to="." method="_on_Delete_pressed"]
|
2019-10-26 13:51:15 +02:00
|
|
|
[connection signal="pressed" from="Up" to="." method="_on_Up_pressed"]
|
|
|
|
[connection signal="pressed" from="Down" to="." method="_on_Down_pressed"]
|