aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-18 05:09:44 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-18 05:09:44 +0200
commitfa4897265ae955872b0c2530300a3110e995510e (patch)
tree31bccb0bc5a4de257f58290662d15d049b94b484 /include
parent75e088746dbf3ab4cafd5ac16890b134d4b19d2a (diff)
Set body item scale size, only used right now in matrix for scaling avatar
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index e430bfb..235db88 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -117,6 +117,7 @@ namespace QuickMedia {
EmbeddedItemStatus embedded_item_status = EmbeddedItemStatus::NONE;
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;
private:
// TODO: Clean up these strings when set in text, and get_title for example should return |title_text.getString()|
std::string title;