diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/Body.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp index 43e2946..45121f8 100644 --- a/include/Body.hpp +++ b/include/Body.hpp @@ -118,6 +118,9 @@ namespace QuickMedia { void *userdata; // Not managed, should be deallocated by whoever sets this double last_drawn_time; FetchStatus embedded_item_status = FetchStatus::NONE; + // Important! Should refer to a new BodyItem, not one that already exists in the body. + // TODO: Allow referring to an existing body item. This doesn't work properly at the moment because max width of text and line count calculation getting messed up + // if an embedded item wraps but not the original body item. std::shared_ptr<BodyItem> embedded_item; // Used by matrix for example to display reply message body. Note: only the first level of embedded items is rendered (not recursive, this is done on purpose) ThumbnailMaskType thumbnail_mask_type = ThumbnailMaskType::NONE; sf::Vector2i thumbnail_size; |