Add best fit on image load

This commit is contained in:
2025-03-02 13:44:59 +01:00
parent 13e1abf07e
commit 37fdac39dc
4 changed files with 14 additions and 0 deletions
+2
View File
@@ -15,6 +15,7 @@
int FILTERING = 1;
bool OpenGLES = false;
const int LUT_SIZE = 32;
bool BESTFIT = false;
struct RawImageType
{
@@ -87,6 +88,7 @@ ImageWidgetGL::ImageWidgetGL(Database *database, QWidget *parent) : QOpenGLWidge
});
setMouseTracking(true);
m_bestFit = BESTFIT;
}
ImageWidgetGL::~ImageWidgetGL()