Qt: implement GetOpaqueImageArea

This commit is contained in:
Megamouse 2017-09-15 21:01:54 +02:00 committed by Ivan
parent 85b9809b39
commit 77a75305c7
2 changed files with 40 additions and 0 deletions

View file

@ -195,6 +195,7 @@ public:
*/
static QIcon colorizedIcon(const QIcon& icon, const QColor& oldColor, const QColor& newColor, bool useSpecialMasks = false, bool colorizeAll = false);
static QPixmap colorizedPixmap(const QPixmap& old_pixmap, const QColor& oldColor, const QColor& newColor, bool useSpecialMasks = false, bool colorizeAll = false);
static QImage GetOpaqueImageArea(const QString& path);
public Q_SLOTS:
void Reset(bool removeMeta = false);