[gd_scene load_steps=8 format=2] [ext_resource path="res://Scripts/LayerContainer.gd" type="Script" id=1] [ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Layer_Visible.png" type="Texture" id=2] [ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Layer_Visible_Hover.png" type="Texture" id=3] [ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Unlock_Hover.png" type="Texture" id=4] [ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Unlock.png" type="Texture" id=5] [ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Unlinked_Layer_Hover.png" type="Texture" id=6] [ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Unlinked_Layer.png" type="Texture" id=7] [node name="LayerContainer" type="Button"] margin_right = 210.0 margin_bottom = 36.0 rect_min_size = Vector2( 212, 36 ) size_flags_horizontal = 0 toggle_mode = true action_mode = 0 script = ExtResource( 1 ) __meta__ = { "_edit_horizontal_guides_": [ ], "_edit_use_anchors_": false } [node name="HBoxContainer" type="HBoxContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 size_flags_horizontal = 0 __meta__ = { "_edit_use_anchors_": false } [node name="LayerButtons" type="HBoxContainer" parent="HBoxContainer"] margin_right = 104.0 margin_bottom = 36.0 [node name="VisibilityButton" type="TextureButton" parent="HBoxContainer/LayerButtons" groups=[ "UIButtons", ]] margin_top = 2.0 margin_right = 32.0 margin_bottom = 34.0 hint_tooltip = "Toggle layer's visibility" focus_mode = 0 mouse_default_cursor_shape = 2 size_flags_horizontal = 0 size_flags_vertical = 4 texture_normal = ExtResource( 2 ) texture_hover = ExtResource( 3 ) [node name="LockButton" type="TextureButton" parent="HBoxContainer/LayerButtons" groups=[ "UIButtons", ]] margin_left = 36.0 margin_top = 2.0 margin_right = 68.0 margin_bottom = 34.0 hint_tooltip = "Lock/unlock layer" focus_mode = 0 mouse_default_cursor_shape = 2 size_flags_horizontal = 0 size_flags_vertical = 4 texture_normal = ExtResource( 5 ) texture_hover = ExtResource( 4 ) [node name="LinkButton" type="TextureButton" parent="HBoxContainer/LayerButtons" groups=[ "UIButtons", ]] margin_left = 72.0 margin_top = 2.0 margin_right = 104.0 margin_bottom = 34.0 hint_tooltip = "Enable/disable cel linking Linked cels are being shared across multiple frames" focus_mode = 0 mouse_default_cursor_shape = 2 size_flags_horizontal = 0 size_flags_vertical = 4 texture_normal = ExtResource( 7 ) texture_hover = ExtResource( 6 ) [node name="LayerName" type="HBoxContainer" parent="HBoxContainer"] margin_left = 108.0 margin_right = 212.0 margin_bottom = 36.0 rect_min_size = Vector2( 104, 0 ) mouse_default_cursor_shape = 2 size_flags_horizontal = 0 alignment = 1 __meta__ = { "_edit_use_anchors_": false } [node name="Label" type="Label" parent="HBoxContainer/LayerName"] margin_top = 11.0 margin_right = 104.0 margin_bottom = 25.0 size_flags_horizontal = 3 text = "Layer 0" align = 1 clip_text = true [node name="LineEdit" type="LineEdit" parent="HBoxContainer/LayerName"] visible = false margin_left = 86.0 margin_top = 5.0 margin_right = 166.0 margin_bottom = 37.0 rect_min_size = Vector2( 80, 32 ) size_flags_vertical = 4 text = "Layer 0" editable = false caret_blink = true caret_blink_speed = 0.5 [connection signal="pressed" from="." to="." method="_on_LayerContainer_pressed"] [connection signal="pressed" from="HBoxContainer/LayerButtons/VisibilityButton" to="." method="_on_VisibilityButton_pressed"] [connection signal="pressed" from="HBoxContainer/LayerButtons/LockButton" to="." method="_on_LockButton_pressed"] [connection signal="pressed" from="HBoxContainer/LayerButtons/LinkButton" to="." method="_on_LinkButton_pressed"] [connection signal="focus_exited" from="HBoxContainer/LayerName/LineEdit" to="." method="_on_LineEdit_focus_exited"]