2015-02-12 23:16:25 +08:00
|
|
|
// Aseprite
|
|
|
|
|
// Copyright (C) 2001-2015 David Capello
|
|
|
|
|
//
|
|
|
|
|
// This program is free software; you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU General Public License version 2 as
|
|
|
|
|
// published by the Free Software Foundation.
|
2007-09-19 07:57:02 +08:00
|
|
|
|
2013-08-06 08:20:19 +08:00
|
|
|
#ifndef APP_UI_EDITOR_TOOL_LOOP_IMPL_H_INCLUDED
|
|
|
|
|
#define APP_UI_EDITOR_TOOL_LOOP_IMPL_H_INCLUDED
|
2014-03-30 06:40:17 +08:00
|
|
|
#pragma once
|
2007-09-19 07:57:02 +08:00
|
|
|
|
2015-04-27 02:59:28 +08:00
|
|
|
#include "gfx/fwd.h"
|
|
|
|
|
|
|
|
|
|
namespace doc {
|
|
|
|
|
class Image;
|
|
|
|
|
}
|
|
|
|
|
|
2013-08-06 08:20:19 +08:00
|
|
|
namespace app {
|
|
|
|
|
class Context;
|
|
|
|
|
class Editor;
|
2007-09-19 07:57:02 +08:00
|
|
|
|
2013-08-06 08:20:19 +08:00
|
|
|
namespace tools {
|
|
|
|
|
class ToolLoop;
|
|
|
|
|
}
|
2007-09-19 07:57:02 +08:00
|
|
|
|
2015-04-27 02:59:28 +08:00
|
|
|
tools::ToolLoop* create_tool_loop(
|
|
|
|
|
Editor* editor, Context* context);
|
|
|
|
|
|
|
|
|
|
tools::ToolLoop* create_tool_loop_preview(
|
|
|
|
|
Editor* editor, Context* context, doc::Image* image,
|
|
|
|
|
const gfx::Point& offset);
|
2013-08-06 08:20:19 +08:00
|
|
|
|
|
|
|
|
} // namespace app
|
2007-09-19 07:57:02 +08:00
|
|
|
|
2009-08-18 05:38:00 +08:00
|
|
|
#endif
|