| 1 | // Aseprite Document Library |
| 2 | // Copyright (c) 2001-2018 David Capello |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifndef DOC_ANIDIR_H_INCLUDED |
| 8 | #define DOC_ANIDIR_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | #include <string> |
| 12 | |
| 13 | namespace doc { |
| 14 | |
| 15 | enum class AniDir { |
| 16 | FORWARD = 0, |
| 17 | REVERSE = 1, |
| 18 | PING_PONG = 2, |
| 19 | }; |
| 20 | |
| 21 | std::string convert_anidir_to_string(AniDir anidir); |
| 22 | doc::AniDir convert_string_to_anidir(const std::string& s); |
| 23 | |
| 24 | } // namespace doc |
| 25 | |
| 26 | #endif // DOC_ANIDIR_H_INCLUDED |
| 27 | |