mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Generate previews async in cloud themes list.
This commit is contained in:
@@ -84,8 +84,12 @@ void Revert();
|
||||
bool LoadFromFile(
|
||||
const QString &file,
|
||||
not_null<Instance*> out,
|
||||
Cached *outCache,
|
||||
not_null<QByteArray*> outContent);
|
||||
bool LoadFromContent(const QByteArray &content, not_null<Instance*> out);
|
||||
bool LoadFromContent(
|
||||
const QByteArray &content,
|
||||
not_null<Instance*> out,
|
||||
Cached *outCache);
|
||||
QColor CountAverageColor(const QImage &image);
|
||||
QColor AdjustedColor(QColor original, QColor background);
|
||||
QImage ProcessBackgroundImage(QImage image);
|
||||
|
Reference in New Issue
Block a user