forked from aseprite/aseprite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanidir.h
More file actions
28 lines (21 loc) · 687 Bytes
/
Copy pathanidir.h
File metadata and controls
28 lines (21 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Aseprite Document Library
// Copyright (c) 2021 Igara Studio S.A.
// Copyright (c) 2001-2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifndef DOC_ANIDIR_H_INCLUDED
#define DOC_ANIDIR_H_INCLUDED
#pragma once
#include <string>
namespace doc {
enum class AniDir {
FORWARD = 0,
REVERSE = 1,
PING_PONG = 2, // First playback is in forward
PING_PONG_REVERSE = 3, // First playback is in reverse
};
std::string convert_anidir_to_string(AniDir anidir);
doc::AniDir convert_string_to_anidir(const std::string& s);
} // namespace doc
#endif // DOC_ANIDIR_H_INCLUDED