2020-05-21 17:37:20 +00:00
|
|
|
[gd_scene load_steps=19 format=2]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-05-05 00:53:58 +00:00
|
|
|
[ext_resource path="res://assets/themes/dark/theme.tres" type="Theme" id=1]
|
2020-05-01 19:17:05 +00:00
|
|
|
[ext_resource path="res://src/Main.gd" type="Script" id=2]
|
2020-05-21 17:13:19 +00:00
|
|
|
[ext_resource path="res://src/UI/TopMenuContainer.tscn" type="PackedScene" id=3]
|
2020-05-21 17:21:01 +00:00
|
|
|
[ext_resource path="res://src/UI/UI.tscn" type="PackedScene" id=4]
|
2020-05-21 17:37:20 +00:00
|
|
|
[ext_resource path="res://src/UI/PatternsPopup.tscn" type="PackedScene" id=5]
|
|
|
|
[ext_resource path="res://src/UI/BrushesPopup.tscn" type="PackedScene" id=6]
|
2020-05-19 22:44:27 +00:00
|
|
|
[ext_resource path="res://src/UI/Dialogs/SaveSprite.tscn" type="PackedScene" id=11]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/OpenSprite.tscn" type="PackedScene" id=12]
|
2020-05-01 22:19:01 +00:00
|
|
|
[ext_resource path="res://src/UI/Dialogs/SplashDialog.tscn" type="PackedScene" id=27]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/CreateNewImage.tscn" type="PackedScene" id=28]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/ImportSprites.tscn" type="PackedScene" id=29]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/ScaleImage.tscn" type="PackedScene" id=31]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/PreferencesDialog.tscn" type="PackedScene" id=32]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/OutlineDialog.tscn" type="PackedScene" id=33]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/AboutDialog.tscn" type="PackedScene" id=34]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/RotateImage.tscn" type="PackedScene" id=38]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/ExportDialog.tscn" type="PackedScene" id=39]
|
|
|
|
[ext_resource path="res://src/UI/Dialogs/HSVDialog.tscn" type="PackedScene" id=44]
|
2020-04-18 07:03:18 +00:00
|
|
|
|
2020-01-08 15:00:41 +00:00
|
|
|
[node name="Control" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
theme = ExtResource( 1 )
|
|
|
|
script = ExtResource( 2 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_horizontal_guides_": [ ],
|
2020-03-13 00:04:40 +00:00
|
|
|
"_edit_use_anchors_": false,
|
2020-01-08 15:00:41 +00:00
|
|
|
"_edit_vertical_guides_": [ ]
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="MenuAndUI" type="VBoxContainer" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
custom_constants/separation = 0
|
2020-03-13 17:47:16 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-05-21 17:13:19 +00:00
|
|
|
[node name="TopMenuContainer" parent="MenuAndUI" instance=ExtResource( 3 )]
|
2020-05-05 18:50:39 +00:00
|
|
|
|
2020-05-21 17:21:01 +00:00
|
|
|
[node name="UI" parent="MenuAndUI" instance=ExtResource( 4 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-05-21 17:37:20 +00:00
|
|
|
[node name="BrushesPopup" parent="." instance=ExtResource( 6 )]
|
2020-04-24 21:42:02 +00:00
|
|
|
|
2020-05-21 17:37:20 +00:00
|
|
|
[node name="PatternsPopup" parent="." instance=ExtResource( 5 )]
|
2020-04-24 21:42:02 +00:00
|
|
|
|
2020-01-18 19:06:47 +00:00
|
|
|
[node name="SplashDialog" parent="." instance=ExtResource( 27 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-01-18 19:06:47 +00:00
|
|
|
[node name="CreateNewImage" parent="." instance=ExtResource( 28 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-05-19 22:44:27 +00:00
|
|
|
[node name="OpenSprite" parent="." instance=ExtResource( 12 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-05-19 22:44:27 +00:00
|
|
|
[node name="SaveSprite" parent="." instance=ExtResource( 11 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-01-18 19:06:47 +00:00
|
|
|
[node name="ImportSprites" parent="." instance=ExtResource( 29 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-03-23 22:09:37 +00:00
|
|
|
[node name="ExportDialog" parent="." instance=ExtResource( 39 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-01-18 19:06:47 +00:00
|
|
|
[node name="ScaleImage" parent="." instance=ExtResource( 31 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-01-18 19:06:47 +00:00
|
|
|
[node name="PreferencesDialog" parent="." instance=ExtResource( 32 )]
|
2020-02-04 16:29:34 +00:00
|
|
|
|
2020-02-18 02:04:10 +00:00
|
|
|
[node name="RotateImage" parent="." instance=ExtResource( 38 )]
|
|
|
|
|
2020-01-18 19:06:47 +00:00
|
|
|
[node name="OutlineDialog" parent="." instance=ExtResource( 33 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
visible = false
|
|
|
|
|
2020-01-18 19:06:47 +00:00
|
|
|
[node name="AboutDialog" parent="." instance=ExtResource( 34 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-04-02 09:56:26 +00:00
|
|
|
[node name="UnsavedCanvasDialog" type="ConfirmationDialog" parent="."]
|
|
|
|
margin_right = 200.0
|
|
|
|
margin_bottom = 70.0
|
|
|
|
window_title = "Unsaved Image"
|
2020-05-01 16:40:36 +00:00
|
|
|
dialog_text = "You have unsaved changes. If you proceed, the progress you have made will be lost."
|
2020-04-02 09:56:26 +00:00
|
|
|
|
2020-01-08 15:00:41 +00:00
|
|
|
[node name="QuitDialog" type="ConfirmationDialog" parent="."]
|
|
|
|
margin_right = 200.0
|
|
|
|
margin_bottom = 70.0
|
|
|
|
resizable = true
|
2020-02-22 22:52:51 +00:00
|
|
|
dialog_text = "Are you sure you want to exit Pixelorama?"
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-02-23 00:11:52 +00:00
|
|
|
[node name="QuitAndSaveDialog" type="ConfirmationDialog" parent="."]
|
|
|
|
margin_right = 200.0
|
|
|
|
margin_bottom = 70.0
|
|
|
|
window_title = "Save before exiting?"
|
|
|
|
resizable = true
|
|
|
|
dialog_text = "You have unsaved progress. How do you wish to proceed?"
|
2020-03-08 23:53:20 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-02-23 00:11:52 +00:00
|
|
|
|
2020-01-08 15:00:41 +00:00
|
|
|
[node name="ErrorDialog" type="AcceptDialog" parent="."]
|
|
|
|
margin_right = 76.0
|
|
|
|
margin_bottom = 60.0
|
|
|
|
window_title = "Error!"
|
|
|
|
dialog_text = "This is an error message!"
|
|
|
|
|
2020-04-13 14:10:17 +00:00
|
|
|
[node name="HSVDialog" parent="." instance=ExtResource( 44 )]
|
2020-01-08 15:00:41 +00:00
|
|
|
|
2020-04-30 17:33:24 +00:00
|
|
|
[node name="BackupConfirmation" type="ConfirmationDialog" parent="."]
|
|
|
|
margin_right = 349.0
|
|
|
|
margin_bottom = 88.0
|
|
|
|
rect_min_size = Vector2( 250, 87.5 )
|
|
|
|
popup_exclusive = true
|
|
|
|
dialog_text = "Autosaved backup for %s was found.
|
|
|
|
Do you want to reload it?"
|
2020-05-08 15:37:45 +00:00
|
|
|
|
2020-05-19 22:44:27 +00:00
|
|
|
[node name="LeftCursor" type="Sprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
[node name="RightCursor" type="Sprite" parent="."]
|
|
|
|
visible = false
|
|
|
|
|
2020-05-08 15:37:45 +00:00
|
|
|
[node name="ModulateTween" type="Tween" parent="."]
|
2020-01-08 15:00:41 +00:00
|
|
|
[connection signal="popup_hide" from="SplashDialog" to="." method="_can_draw_true"]
|
|
|
|
[connection signal="popup_hide" from="CreateNewImage" to="." method="_can_draw_true"]
|
|
|
|
[connection signal="file_selected" from="OpenSprite" to="." method="_on_OpenSprite_file_selected"]
|
|
|
|
[connection signal="popup_hide" from="OpenSprite" to="." method="_on_ImportSprites_popup_hide"]
|
|
|
|
[connection signal="file_selected" from="SaveSprite" to="." method="_on_SaveSprite_file_selected"]
|
|
|
|
[connection signal="popup_hide" from="SaveSprite" to="." method="_can_draw_true"]
|
|
|
|
[connection signal="popup_hide" from="ImportSprites" to="." method="_can_draw_true"]
|
2020-03-23 22:09:37 +00:00
|
|
|
[connection signal="popup_hide" from="ExportDialog" to="." method="_can_draw_true"]
|
2020-01-08 15:00:41 +00:00
|
|
|
[connection signal="popup_hide" from="ScaleImage" to="." method="_can_draw_true"]
|
|
|
|
[connection signal="popup_hide" from="PreferencesDialog" to="." method="_can_draw_true"]
|
2020-04-07 15:13:35 +00:00
|
|
|
[connection signal="popup_hide" from="RotateImage" to="." method="_can_draw_true"]
|
2020-01-08 15:00:41 +00:00
|
|
|
[connection signal="popup_hide" from="OutlineDialog" to="." method="_can_draw_true"]
|
|
|
|
[connection signal="popup_hide" from="AboutDialog" to="." method="_can_draw_true"]
|
2020-04-02 09:56:26 +00:00
|
|
|
[connection signal="confirmed" from="UnsavedCanvasDialog" to="." method="_on_UnsavedCanvasDialog_confirmed"]
|
|
|
|
[connection signal="popup_hide" from="UnsavedCanvasDialog" to="." method="_can_draw_true"]
|
2020-01-08 15:00:41 +00:00
|
|
|
[connection signal="confirmed" from="QuitDialog" to="." method="_on_QuitDialog_confirmed"]
|
|
|
|
[connection signal="popup_hide" from="QuitDialog" to="." method="_can_draw_true"]
|
2020-02-23 00:11:52 +00:00
|
|
|
[connection signal="confirmed" from="QuitAndSaveDialog" to="." method="_on_QuitDialog_confirmed"]
|
|
|
|
[connection signal="custom_action" from="QuitAndSaveDialog" to="." method="_on_QuitAndSaveDialog_custom_action"]
|
|
|
|
[connection signal="popup_hide" from="QuitAndSaveDialog" to="." method="_can_draw_true"]
|
2020-05-08 00:10:23 +00:00
|
|
|
[connection signal="popup_hide" from="ErrorDialog" to="." method="_can_draw_true"]
|
2020-04-13 14:10:17 +00:00
|
|
|
[connection signal="popup_hide" from="HSVDialog" to="." method="_can_draw_true"]
|
2020-04-30 17:33:24 +00:00
|
|
|
[connection signal="popup_hide" from="BackupConfirmation" to="." method="_can_draw_true"]
|