mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-19 01:29:49 +00:00
7318db30ab
- New UI icons for the tools, layer and frame buttons. - Removed clone, remove and move frame buttons. You can now right click on a frame button to do these actions instead. - Added first, previous, next and last frame buttons to the timeline. - Added rulers for the main canvas viewport. - Window size bumped to 1152x648. - Default FPS is now 6 instead of 1. - Fill tool renamed to Bucket. - Mouse default cursor shape for the canvas is the arrow instead of cross. - Mouse default cursor shape for the mirror and onion skinning buttons is the pointing hand.
60 lines
1.7 KiB
Plaintext
60 lines
1.7 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://Scripts/LayerContainer.gd" type="Script" id=1]
|
|
[ext_resource path="res://Assets/Graphics/Layers/layer_visible.png" type="Texture" id=2]
|
|
|
|
|
|
[node name="LayerContainer" type="Button"]
|
|
margin_left = -0.540344
|
|
margin_right = 11.4597
|
|
margin_bottom = 42.0
|
|
rect_min_size = Vector2( 160, 42 )
|
|
toggle_mode = true
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
margin_left = 4.0
|
|
margin_top = -16.0
|
|
margin_bottom = 16.0
|
|
mouse_default_cursor_shape = 2
|
|
|
|
[node name="VisibilityButton" type="TextureButton" parent="HBoxContainer"]
|
|
margin_right = 32.0
|
|
margin_bottom = 32.0
|
|
hint_tooltip = "Toggle layer's visibility"
|
|
mouse_default_cursor_shape = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
texture_normal = ExtResource( 2 )
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
|
|
margin_left = 36.0
|
|
margin_right = 68.0
|
|
margin_bottom = 32.0
|
|
rect_min_size = Vector2( 32, 32 )
|
|
expand = true
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer"]
|
|
margin_left = 72.0
|
|
margin_top = 9.0
|
|
margin_right = 118.0
|
|
margin_bottom = 23.0
|
|
text = "Layer 0"
|
|
align = 1
|
|
|
|
[node name="LineEdit" type="LineEdit" parent="HBoxContainer"]
|
|
visible = false
|
|
margin_left = 110.0
|
|
margin_right = 168.0
|
|
margin_bottom = 32.0
|
|
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/VisibilityButton" to="." method="_on_VisibilityButton_pressed"]
|
|
[connection signal="text_changed" from="HBoxContainer/LineEdit" to="." method="_on_LineEdit_text_changed"]
|