aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-10-19 11:02:26 +0200
committerdec05eba <dec05eba@protonmail.com>2020-10-19 11:02:26 +0200
commitb233f24fe103a745eb6487e236b7cb08269a6cb3 (patch)
treefbbc54060727a12769048ab5741d6f234686dbcd /plugins
parent386d16a95a1306decabf6e9764309caf0d2818e3 (diff)
Change thumbnail creation from nearest neighbor to linear interpolation, set body thumbnail size for 4chan and matrix (if available)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Matrix.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Matrix.hpp b/plugins/Matrix.hpp
index 135549f..c953364 100644
--- a/plugins/Matrix.hpp
+++ b/plugins/Matrix.hpp
@@ -59,6 +59,7 @@ namespace QuickMedia {
std::string url;
std::string thumbnail_url;
std::string related_event_id;
+ sf::Vector2i thumbnail_size; // Set to {0, 0} if not specified
RelatedEventType related_event_type;
bool mentions_me = false;
time_t timestamp = 0;