mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 01:20:17 +00:00
+ Moved some properties from Sprite to Document: lock/unlock/mutex, filename, isModified flag, undo history, mask boundaries, file format options, preferred editor settings, extra cel. + A Context now has an active document (instead of an active sprite). + Renamed all sprite wrappers to be document wrappers (as the mutex is in the Document now). + Modifications to SharedPtr<> to be more like C++0x shared_ptr<>.
41 lines
1.2 KiB
C++
41 lines
1.2 KiB
C++
/* ASE - Allegro Sprite Editor
|
|
* Copyright (C) 2001-2011 David Capello
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef UTIL_CLIPBOARD_H_INCLUDED
|
|
#define UTIL_CLIPBOARD_H_INCLUDED
|
|
|
|
#include "gui/base.h"
|
|
|
|
class Image;
|
|
class DocumentReader;
|
|
class DocumentWriter;
|
|
|
|
namespace clipboard {
|
|
|
|
bool can_paste();
|
|
|
|
void cut(DocumentWriter& document);
|
|
void copy(const DocumentReader& document);
|
|
void copy_image(Image* image, Palette* palette);
|
|
void paste(DocumentWriter& document);
|
|
|
|
} // namespace clipboard
|
|
|
|
#endif
|
|
|