| 1 | // Aseprite
|
| 2 | // Copyright (C) 2020-2021 Igara Studio S.A.
|
| 3 | // Copyright (C) 2001-2018 David Capello
|
| 4 | //
|
| 5 | // This program is distributed under the terms of
|
| 6 | // the End-User License Agreement for Aseprite.
|
| 7 |
|
| 8 | #ifndef APP_UTIL_RANGE_UTILS_H_INCLUDED
|
| 9 | #define APP_UTIL_RANGE_UTILS_H_INCLUDED
|
| 10 | #pragma once
|
| 11 |
|
| 12 | #include "doc/cel_list.h"
|
| 13 |
|
| 14 | #include <vector>
|
| 15 |
|
| 16 | namespace doc {
|
| 17 | class Sprite;
|
| 18 | }
|
| 19 |
|
| 20 | namespace app {
|
| 21 | using namespace doc;
|
| 22 |
|
| 23 | class DocRange;
|
| 24 |
|
| 25 | doc::CelList get_cels(const doc::Sprite* sprite, const DocRange& range);
|
| 26 | doc::CelList get_unique_cels(const doc::Sprite* sprite, const DocRange& range);
|
| 27 | doc::CelList get_unique_cels_to_edit_pixels(const doc::Sprite* sprite, const DocRange& range);
|
| 28 | doc::CelList get_unique_cels_to_move_cel(const doc::Sprite* sprite, const DocRange& range);
|
| 29 |
|
| 30 | } // namespace app
|
| 31 |
|
| 32 | #endif
|
| 33 | |