mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:07:46 +00:00
PixelPaint: Add ProjectLoader to abstract away opening of files
This new class will open and parse files (either images directly or .pp project files) and one can get the parsed Image as well as other information from it. This patch removes a bunch of 'try_create_from..." methods from Image in favor of using the ProjectLoader. The only json_metadata that is available are Guides for now.
This commit is contained in:
parent
b3f53a0b5a
commit
508d563189
6 changed files with 142 additions and 115 deletions
|
@ -30,6 +30,7 @@ set(SOURCES
|
|||
PenTool.cpp
|
||||
PickerTool.cpp
|
||||
PixelPaintWindowGML.h
|
||||
ProjectLoader.cpp
|
||||
RectangleTool.cpp
|
||||
RectangleSelectTool.cpp
|
||||
Mask.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue