Add anim::repeat enumeration (loop / once).
This commit is contained in:
parent
9d07d6a476
commit
9b6e11db62
2 changed files with 8 additions and 3 deletions
|
|
@ -14,16 +14,21 @@
|
||||||
|
|
||||||
namespace anim {
|
namespace anim {
|
||||||
|
|
||||||
enum class type {
|
enum class type : uchar {
|
||||||
normal,
|
normal,
|
||||||
instant,
|
instant,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class activation {
|
enum class activation : uchar {
|
||||||
normal,
|
normal,
|
||||||
background,
|
background,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum class repeat : uchar {
|
||||||
|
loop,
|
||||||
|
once,
|
||||||
|
};
|
||||||
|
|
||||||
using transition = Fn<float64(float64 delta, float64 dt)>;
|
using transition = Fn<float64(float64 delta, float64 dt)>;
|
||||||
|
|
||||||
extern transition linear;
|
extern transition linear;
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ class Painter;
|
||||||
struct TextWithEntities;
|
struct TextWithEntities;
|
||||||
|
|
||||||
namespace anim {
|
namespace anim {
|
||||||
enum class type;
|
enum class type : uchar;
|
||||||
} // namespace anim
|
} // namespace anim
|
||||||
|
|
||||||
namespace style {
|
namespace style {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue