mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:17:35 +00:00
PixelPaint: Port to Core::Stream
:^)
This commit is contained in:
parent
4f699d0f58
commit
301f9de915
11 changed files with 59 additions and 74 deletions
|
@ -31,9 +31,10 @@ public:
|
|||
|
||||
Vector<Color> colors();
|
||||
|
||||
static Result<Vector<Color>, DeprecatedString> load_palette_file(Core::File&);
|
||||
static Result<Vector<Color>, DeprecatedString> load_palette_path(DeprecatedString const&);
|
||||
static Result<void, DeprecatedString> save_palette_file(Vector<Color>, Core::File&);
|
||||
static ErrorOr<Vector<Color>> load_palette_file(NonnullOwnPtr<Core::Stream::File>);
|
||||
static ErrorOr<Vector<Color>> load_palette_path(DeprecatedString const&);
|
||||
static ErrorOr<void> save_palette_file(Vector<Color>, NonnullOwnPtr<Core::Stream::File>);
|
||||
|
||||
static Vector<Color> fallback_colors();
|
||||
|
||||
void set_image_editor(ImageEditor*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue