diff options
author | ConfuSomu | 2023-01-06 17:15:12 -0500 |
---|---|---|
committer | ConfuSomu | 2023-01-06 17:17:45 -0500 |
commit | fafdc293f4f875e09ca90faeae6dfac962f144b2 (patch) | |
tree | 771b3920fc52f0bca01bbc79440fbb480cac425b /src/archive_parser.h | |
parent | 1beb256de0a6e0c92f2c23b29d0577f282ea165a (diff) | |
download | ActorViewer-fafdc293f4f875e09ca90faeae6dfac962f144b2.tar ActorViewer-fafdc293f4f875e09ca90faeae6dfac962f144b2.tar.gz ActorViewer-fafdc293f4f875e09ca90faeae6dfac962f144b2.zip |
Dynamically resize image depending on widget size
Diffstat (limited to 'src/archive_parser.h')
-rw-r--r-- | src/archive_parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/archive_parser.h b/src/archive_parser.h index 0a1d5f3..a396840 100644 --- a/src/archive_parser.h +++ b/src/archive_parser.h @@ -30,7 +30,7 @@ public: InitError init(); void update_status_list(ViewStatusTypes allowed_types, QListWidget *parent); - QString get_html_status_info(int status_index); + QString get_html_status_info(int status_index, int text_zone_width); private: QString outbox_filename; ArchiveType archive_type; @@ -38,5 +38,5 @@ private: QJsonObject *outbox_json = nullptr; QJsonArray *outbox_items = nullptr; - QString get_html_status_attachments(QJsonValueRef attachments_ref); + QString get_html_status_attachments(QJsonValueRef attachments_ref, int text_zone_width); }; |