mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 05:24:43 -04:00
Created a Projects class
A Project class contains project-specific data like name, undo_redo, frames, layers, tags and brushes. These variables have been moved from Global. This is the first step towards multiple tab support, where each tab will be a different Project.
This commit is contained in:
parent
9d38cbd13e
commit
4e111a7ac0
21 changed files with 656 additions and 627 deletions
|
@ -58,6 +58,11 @@ _global_script_classes=[ {
|
|||
"class": "PaletteColor",
|
||||
"language": "GDScript",
|
||||
"path": "res://src/Palette/PaletteColor.gd"
|
||||
}, {
|
||||
"base": "Reference",
|
||||
"class": "Project",
|
||||
"language": "GDScript",
|
||||
"path": "res://src/Classes/Project.gd"
|
||||
} ]
|
||||
_global_script_class_icons={
|
||||
"AnimationTag": "",
|
||||
|
@ -69,7 +74,8 @@ _global_script_class_icons={
|
|||
"Layer": "",
|
||||
"LayerButton": "",
|
||||
"Palette": "",
|
||||
"PaletteColor": ""
|
||||
"PaletteColor": "",
|
||||
"Project": ""
|
||||
}
|
||||
|
||||
[application]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue