Major UI changes - including new icons!

- 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.
This commit is contained in:
OverloadedOrama 2019-11-19 23:23:43 +02:00
parent 22c57a1b36
commit 7318db30ab
127 changed files with 2761 additions and 651 deletions

View file

@ -14,6 +14,7 @@ mouse_default_cursor_shape = 2
size_flags_horizontal = 0
size_flags_vertical = 0
toggle_mode = true
button_mask = 3
script = ExtResource( 1 )
[node name="FrameTexture" type="TextureRect" parent="FrameButton"]
@ -26,6 +27,12 @@ size_flags_horizontal = 0
size_flags_vertical = 0
expand = true
[node name="PopupMenu" type="PopupMenu" parent="FrameButton"]
margin_right = 20.0
margin_bottom = 20.0
mouse_default_cursor_shape = 2
items = [ "Remove Frame", null, 0, false, true, -1, 0, null, "", false, "Clone Frame", null, 0, false, false, -1, 0, null, "", false, "Move Left", null, 0, false, true, -1, 0, null, "", false, "Move Right", null, 0, false, true, -1, 0, null, "", false ]
[node name="FrameID" type="Label" parent="."]
margin_top = 40.0
margin_right = 36.0
@ -33,3 +40,4 @@ margin_bottom = 54.0
text = "0"
align = 1
[connection signal="pressed" from="FrameButton" to="FrameButton" method="_on_FrameButton_pressed"]
[connection signal="id_pressed" from="FrameButton/PopupMenu" to="FrameButton" method="_on_PopupMenu_id_pressed"]

View file

@ -1,39 +1,46 @@
[gd_scene load_steps=2 format=2]
[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_right = 159.0
margin_bottom = 46.0
rect_min_size = Vector2( 0, 42 )
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="."]
margin_left = 7.0
margin_top = 5.0
margin_right = 152.0
margin_bottom = 37.0
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="Button" parent="HBoxContainer"]
margin_right = 20.0
[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
text = "V"
size_flags_horizontal = 0
size_flags_vertical = 4
texture_normal = ExtResource( 2 )
[node name="TextureRect" type="TextureRect" parent="HBoxContainer"]
margin_left = 24.0
margin_right = 56.0
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 = 60.0
margin_left = 72.0
margin_top = 9.0
margin_right = 106.0
margin_right = 118.0
margin_bottom = 23.0
text = "Layer 0"
align = 1