Add ability to have user defined colormaps

This commit is contained in:
2025-03-02 14:32:09 +01:00
parent 8f333191c3
commit 24ddf1dc61
4 changed files with 34 additions and 11 deletions
+3 -1
View File
@@ -10,7 +10,7 @@
#include <QOpenGLFunctions>
#include "database.h"
#include "rawimage.h"
#include "imageinfo.h"
#include "imageinfodata.h"
#include "stretchtoolbar.h"
class ImageWidget
@@ -37,6 +37,8 @@ public:
virtual QImage renderToImage() = 0;
virtual void thumbnailLoaded(const Image *image) = 0;
virtual void showThumbnail(bool enable) = 0;
static QImage loadColormap();
};
struct ImageThumb