mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-02 13:20:12 +00:00
It still need support to export to .aseprite-data as <slice> XML elements, and animation support.
27 lines
576 B
C++
27 lines
576 B
C++
// Aseprite Document Library
|
|
// Copyright (c) 2017 David Capello
|
|
//
|
|
// This file is released under the terms of the MIT license.
|
|
// Read LICENSE.txt for more information.
|
|
|
|
#ifndef DOC_SLICE_IO_H_INCLUDED
|
|
#define DOC_SLICE_IO_H_INCLUDED
|
|
#pragma once
|
|
|
|
#include <iosfwd>
|
|
|
|
namespace doc {
|
|
|
|
class Slice;
|
|
class SliceKey;
|
|
|
|
void write_slice(std::ostream& os, const Slice* slice);
|
|
Slice* read_slice(std::istream& is, bool setId = true);
|
|
|
|
void write_slicekey(std::ostream& os, const SliceKey& sliceKey);
|
|
SliceKey read_slicekey(std::istream& is);
|
|
|
|
} // namespace doc
|
|
|
|
#endif
|