Related to #3625
Add a set of sets of typed-properties (including points) to doc::UserData depending on extension ID (empty ID are user-defined properties, just like the current user data field).
Something like
std::map<std::string, std::map<std::string, std::any>> m_properties;
or
std::map<std::string, std::map<std::string, Variant>> m_properties;
?
Where Variant = std::variant<bool, int, std::string, gfx::Point, etc….> (these types will be limited to the .aseprite format, and probably will not be possible to extend it after the initial set of types)
Related to #3625
Add a set of sets of typed-properties (including points) to doc::UserData depending on extension ID (empty ID are user-defined properties, just like the current user data field).
Something like
or
?
Where Variant = std::variant<bool, int, std::string, gfx::Point, etc….> (these types will be limited to the .aseprite format, and probably will not be possible to extend it after the initial set of types)