mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 16:14:43 -04:00
Layer buttons change depending on theme
2 theme types, dark and light. 2 types of graphics for the layer buttons for each theme type.
This commit is contained in:
parent
c159eda437
commit
f08d6c8708
87 changed files with 253 additions and 223 deletions
68
Main.tscn
68
Main.tscn
|
@ -36,22 +36,22 @@
|
|||
[ext_resource path="res://Scripts/TimelineSeconds.gd" type="Script" id=34]
|
||||
[ext_resource path="res://Assets/Graphics/Timeline/New_Frame.png" type="Texture" id=35]
|
||||
[ext_resource path="res://Assets/Graphics/Timeline/New_Frame_Hover.png" type="Texture" id=36]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/New_Layer.png" type="Texture" id=37]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/New_Layer_hover.png" type="Texture" id=38]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Delete_Layer.png" type="Texture" id=39]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Delete_Layer_Hover.png" type="Texture" id=40]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Delete_Layer_Disabled.png" type="Texture" id=41]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Move_Up.png" type="Texture" id=42]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Move_Up_Hover.png" type="Texture" id=43]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Move_Up_Disabled.png" type="Texture" id=44]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Move_Down.png" type="Texture" id=45]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Move_Down_Hover.png" type="Texture" id=46]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Move_Down_Disabled.png" type="Texture" id=47]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Clone_Layer.png" type="Texture" id=48]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Clone_Layer_Hover.png" type="Texture" id=49]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Merge_Down.png" type="Texture" id=50]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Merge_Down_Hover.png" type="Texture" id=51]
|
||||
[ext_resource path="res://Assets/Graphics/Layers/Dark Themes/Merge_Down_Disabled.png" type="Texture" id=52]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/New_Layer.png" type="Texture" id=37]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/New_Layer_Hover.png" type="Texture" id=38]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Delete_Layer.png" type="Texture" id=39]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Delete_Layer_Hover.png" type="Texture" id=40]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Delete_Layer_Disabled.png" type="Texture" id=41]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Move_Up.png" type="Texture" id=42]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Move_Up_Hover.png" type="Texture" id=43]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Move_Up_Disabled.png" type="Texture" id=44]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Move_Down.png" type="Texture" id=45]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Move_Down_Hover.png" type="Texture" id=46]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Move_Down_Disabled.png" type="Texture" id=47]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Clone_Layer.png" type="Texture" id=48]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Clone_Layer_Hover.png" type="Texture" id=49]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Merge_Down.png" type="Texture" id=50]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Merge_Down_Hover.png" type="Texture" id=51]
|
||||
[ext_resource path="res://Assets/Graphics/Dark Themes/Layers/Merge_Down_Disabled.png" type="Texture" id=52]
|
||||
[ext_resource path="res://Scripts/PaletteContainer.gd" type="Script" id=53]
|
||||
[ext_resource path="res://Prefabs/BrushButton.tscn" type="PackedScene" id=54]
|
||||
[ext_resource path="res://Assets/Graphics/Canvas_split.png" type="Texture" id=55]
|
||||
|
@ -1198,7 +1198,9 @@ margin_left = 6.0
|
|||
margin_right = 218.0
|
||||
margin_bottom = 32.0
|
||||
|
||||
[node name="AddLayerButton" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons"]
|
||||
[node name="New_Layer" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons" groups=[
|
||||
"LayerButtons",
|
||||
]]
|
||||
margin_right = 32.0
|
||||
margin_bottom = 32.0
|
||||
hint_tooltip = "LAYERNEW_HT"
|
||||
|
@ -1206,7 +1208,9 @@ mouse_default_cursor_shape = 2
|
|||
texture_normal = ExtResource( 37 )
|
||||
texture_hover = ExtResource( 38 )
|
||||
|
||||
[node name="RemoveLayerButton" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons"]
|
||||
[node name="Delete_Layer" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons" groups=[
|
||||
"LayerButtons",
|
||||
]]
|
||||
margin_left = 36.0
|
||||
margin_right = 68.0
|
||||
margin_bottom = 32.0
|
||||
|
@ -1217,7 +1221,9 @@ texture_normal = ExtResource( 39 )
|
|||
texture_hover = ExtResource( 40 )
|
||||
texture_disabled = ExtResource( 41 )
|
||||
|
||||
[node name="MoveUpLayer" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons"]
|
||||
[node name="Move_Up" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons" groups=[
|
||||
"LayerButtons",
|
||||
]]
|
||||
margin_left = 72.0
|
||||
margin_right = 104.0
|
||||
margin_bottom = 32.0
|
||||
|
@ -1228,7 +1234,9 @@ texture_normal = ExtResource( 42 )
|
|||
texture_hover = ExtResource( 43 )
|
||||
texture_disabled = ExtResource( 44 )
|
||||
|
||||
[node name="MoveDownLayer" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons"]
|
||||
[node name="Move_Down" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons" groups=[
|
||||
"LayerButtons",
|
||||
]]
|
||||
margin_left = 108.0
|
||||
margin_right = 140.0
|
||||
margin_bottom = 32.0
|
||||
|
@ -1239,7 +1247,9 @@ texture_normal = ExtResource( 45 )
|
|||
texture_hover = ExtResource( 46 )
|
||||
texture_disabled = ExtResource( 47 )
|
||||
|
||||
[node name="CloneLayer" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons"]
|
||||
[node name="Clone_Layer" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons" groups=[
|
||||
"LayerButtons",
|
||||
]]
|
||||
margin_left = 144.0
|
||||
margin_right = 176.0
|
||||
margin_bottom = 32.0
|
||||
|
@ -1248,7 +1258,9 @@ mouse_default_cursor_shape = 2
|
|||
texture_normal = ExtResource( 48 )
|
||||
texture_hover = ExtResource( 49 )
|
||||
|
||||
[node name="MergeDownLayer" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons"]
|
||||
[node name="Merge_Down" type="TextureButton" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons" groups=[
|
||||
"LayerButtons",
|
||||
]]
|
||||
margin_left = 180.0
|
||||
margin_right = 212.0
|
||||
margin_bottom = 32.0
|
||||
|
@ -1732,12 +1744,12 @@ visible = false
|
|||
[connection signal="value_changed" from="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/OnionSkinningButtons/PastOnionSkinning" to="." method="_on_PastOnionSkinning_value_changed"]
|
||||
[connection signal="value_changed" from="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/OnionSkinningButtons/FutureOnionSkinning" to="." method="_on_FutureOnionSkinning_value_changed"]
|
||||
[connection signal="toggled" from="MenuAndUI/UI/CanvasAndTimeline/AnimationTimeline/AnimationContainer/OnionSkinningButtons/BlueRedMode" to="." method="_on_BlueRedMode_toggled"]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/AddLayerButton" to="." method="add_layer"]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/RemoveLayerButton" to="." method="_on_RemoveLayerButton_pressed"]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/MoveUpLayer" to="." method="change_layer_order" binds= [ 1 ]]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/MoveDownLayer" to="." method="change_layer_order" binds= [ -1 ]]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/CloneLayer" to="." method="add_layer" binds= [ false ]]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/MergeDownLayer" to="." method="_on_MergeLayer_pressed"]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/New_Layer" to="." method="add_layer"]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/Delete_Layer" to="." method="_on_RemoveLayerButton_pressed"]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/Move_Up" to="." method="change_layer_order" binds= [ 1 ]]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/Move_Down" to="." method="change_layer_order" binds= [ -1 ]]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/Clone_Layer" to="." method="add_layer" binds= [ false ]]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/CenterLayerButtons/LayerButtons/Merge_Down" to="." method="_on_MergeLayer_pressed"]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/PaletteVBoxContainer/PaletteButtons/RemovePalette" to="." method="_on_RemovePalette_pressed"]
|
||||
[connection signal="item_selected" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/PaletteVBoxContainer/PaletteButtons/PaletteOptionButton" to="." method="_on_PaletteOptionButton_item_selected"]
|
||||
[connection signal="pressed" from="MenuAndUI/UI/LayerPanel/LayersAndMisc/PaletteVBoxContainer/PaletteButtons/EditPalette" to="." method="_on_EditPalette_pressed"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue