mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-16 03:34:43 -05:00
Open last edited project at startup or at will feature (#215)
* Created feature that will alllow user to open last edited project on Pixelorama startup or open last edited project at will. Co-authored-by: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com>
This commit is contained in:
parent
fef7627f73
commit
086679f1f0
9 changed files with 116 additions and 29 deletions
17
Main.tscn
17
Main.tscn
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=57 format=2]
|
||||
[gd_scene load_steps=59 format=2]
|
||||
|
||||
[ext_resource path="res://Themes & Styles/Dark Theme/Dark Theme.tres" type="Theme" id=1]
|
||||
[ext_resource path="res://Scripts/Main.gd" type="Script" id=2]
|
||||
|
|
@ -45,6 +45,8 @@
|
|||
[ext_resource path="res://Assets/Graphics/Dark Themes/Tools/Zoom.png" type="Texture" id=43]
|
||||
[ext_resource path="res://Prefabs/Dialogs/HSVDialog.tscn" type="PackedScene" id=44]
|
||||
[ext_resource path="res://Scripts/TransparentChecker.gd" type="Script" id=45]
|
||||
[ext_resource path="res://Prefabs/Dialogs/OpenLastProjectAlertDialog.tscn" type="PackedScene" id=46]
|
||||
[ext_resource path="res://Prefabs/Dialogs/NoProjectEditedOrCreatedAlertDialog.tscn" type="PackedScene" id=47]
|
||||
|
||||
[sub_resource type="Shader" id=1]
|
||||
code = "shader_type canvas_item;
|
||||
|
|
@ -1350,7 +1352,7 @@ columns = 5
|
|||
[node name="OpenSprite" type="FileDialog" parent="."]
|
||||
margin_right = 515.0
|
||||
margin_bottom = 348.0
|
||||
window_title = "Open a File"
|
||||
window_title = "Otwórz plik"
|
||||
resizable = true
|
||||
mode = 0
|
||||
access = 2
|
||||
|
|
@ -1422,10 +1424,21 @@ dialog_text = "This is an error message!"
|
|||
[node name="NewPaletteDialog" parent="." instance=ExtResource( 36 )]
|
||||
|
||||
[node name="PaletteImportFileDialog" parent="." instance=ExtResource( 37 )]
|
||||
window_title = "Otwórz plik"
|
||||
filters = PoolStringArray( "*.json ; JavaScript Object Notation", "*.gpl ; Gimp Palette Library", "*.png; Portable Network Graphics" )
|
||||
current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama"
|
||||
current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama"
|
||||
|
||||
[node name="HSVDialog" parent="." instance=ExtResource( 44 )]
|
||||
|
||||
[node name="OpenLastProjectAlertDialog" parent="." instance=ExtResource( 46 )]
|
||||
margin_right = 179.0
|
||||
margin_bottom = 62.0
|
||||
|
||||
[node name="NoProjectEditedOrCreatedAlertDialog" parent="." instance=ExtResource( 47 )]
|
||||
margin_bottom = 62.0
|
||||
window_title = "Alarm!"
|
||||
|
||||
[node name="LeftCursor" type="Sprite" parent="."]
|
||||
visible = false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue