[gd_scene load_steps=2 format=2] [ext_resource path="res://material_maker/widgets/node_editor/enum_editor.gd" type="Script" id=1] [node name="EnumEditor" type="WindowDialog" index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_right = 137.0 margin_bottom = 79.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 0 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 1 popup_exclusive = true window_title = "Enum Editor" resizable = false script = ExtResource( 1 ) _sections_unfolded = [ "Popup" ] [node name="VBoxContainer" type="VBoxContainer" parent="." index="1"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.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 alignment = 0 [node name="GridContainer" type="GridContainer" parent="VBoxContainer" index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_right = 137.0 margin_bottom = 52.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 columns = 2 [node name="Label1" type="Label" parent="VBoxContainer/GridContainer" index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 5.0 margin_right = 42.0 margin_bottom = 19.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 2 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 4 text = "Name:" percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 [node name="name" type="LineEdit" parent="VBoxContainer/GridContainer" index="1"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 46.0 margin_right = 137.0 margin_bottom = 24.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 1 size_flags_horizontal = 3 size_flags_vertical = 1 focus_mode = 2 context_menu_enabled = true placeholder_alpha = 0.6 caret_blink = false caret_blink_speed = 0.65 caret_position = 0 [node name="Label2" type="Label" parent="VBoxContainer/GridContainer" index="2"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_top = 33.0 margin_right = 42.0 margin_bottom = 47.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 2 mouse_default_cursor_shape = 0 size_flags_horizontal = 1 size_flags_vertical = 4 text = "Value:" percent_visible = 1.0 lines_skipped = 0 max_lines_visible = -1 [node name="value" type="LineEdit" parent="VBoxContainer/GridContainer" index="3"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 46.0 margin_top = 28.0 margin_right = 137.0 margin_bottom = 52.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false focus_mode = 2 mouse_filter = 0 mouse_default_cursor_shape = 1 size_flags_horizontal = 3 size_flags_vertical = 1 focus_mode = 2 context_menu_enabled = true placeholder_alpha = 0.6 caret_blink = false caret_blink_speed = 0.65 caret_position = 0 [node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" index="1"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 6.0 margin_top = 56.0 margin_right = 130.0 margin_bottom = 76.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 1 mouse_default_cursor_shape = 0 size_flags_horizontal = 4 size_flags_vertical = 0 alignment = 0 _sections_unfolded = [ "Size Flags" ] [node name="OK" type="Button" parent="VBoxContainer/HBoxContainer" index="0"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_right = 60.0 margin_bottom = 20.0 rect_min_size = Vector2( 60, 0 ) rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false 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 text = "OK" flat = false align = 1 _sections_unfolded = [ "Rect" ] [node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer" index="1"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 64.0 margin_right = 124.0 margin_bottom = 20.0 rect_min_size = Vector2( 60, 0 ) rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false 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 text = "Cancel" flat = false align = 1 _sections_unfolded = [ "Rect" ] [connection signal="text_entered" from="VBoxContainer/GridContainer/name" to="." method="_on_LineEdit_text_entered"] [connection signal="text_entered" from="VBoxContainer/GridContainer/value" to="." method="_on_LineEdit_text_entered"] [connection signal="pressed" from="VBoxContainer/HBoxContainer/OK" to="." method="_on_OK_pressed"] [connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="queue_free"]