mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
19 lines
315 B
C++
19 lines
315 B
C++
#ifndef IMAGEFACTORY_H
|
|
#define IMAGEFACTORY_H
|
|
|
|
#include <QObject>
|
|
#include <QPixmap>
|
|
#include <QImage>
|
|
|
|
class ImageFactory : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit ImageFactory(QObject *parent = 0);
|
|
|
|
static QPixmap lighter(const QPixmap pixmap, const int delta = 120);
|
|
};
|
|
|
|
#endif // IMAGEFACTORY_H
|