diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-08 21:00:22 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-08 21:00:22 +0100 |
commit | 55809dbf9b750b24321f72a0394b432316943a66 (patch) | |
tree | 19b42caef085b7c2da6ebabcfa066215eec108e3 /serialize/anim.hpp | |
parent | 1a3a4c6c03e6d975f059c5eb3271006eb4b5a926 (diff) |
{src,serialize}/anim, crop-tool: add more scaling modes
Diffstat (limited to 'serialize/anim.hpp')
-rw-r--r-- | serialize/anim.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/serialize/anim.hpp b/serialize/anim.hpp index 48d97451..6cfa0c75 100644 --- a/serialize/anim.hpp +++ b/serialize/anim.hpp @@ -18,6 +18,12 @@ struct adl_serializer<floormat::anim_group> { }; template<> +struct adl_serializer<floormat::anim_scale> { + static void to_json(json& j, floormat::anim_scale val); + static void from_json(const json& j, floormat::anim_scale& val); +}; + +template<> struct adl_serializer<floormat::anim_def> { static void to_json(json& j, const floormat::anim_def& val); static void from_json(const json& j, floormat::anim_def& val); |