Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/base/StarAssets.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/base/StarAssets.hpp')
-rw-r--r--source/base/StarAssets.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/base/StarAssets.hpp b/source/base/StarAssets.hpp
index 6b454e8..e7b8611 100644
--- a/source/base/StarAssets.hpp
+++ b/source/base/StarAssets.hpp
@@ -27,7 +27,8 @@ struct FramesSpecification {
// Get the target sub-rect of a given frame name (which can be an alias).
// Returns nothing if the frame name is not found.
Maybe<RectU> getRect(String const& frame) const;
-
+ // Converts to Json.
+ Json toJson() const;
// The full path to the .frames file from which this was loaded.
String framesFile;
// Named sub-frames