Relax dependency from procparams.h
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#define _PREVIEWHANDLER_
|
||||
|
||||
#include <list>
|
||||
#include <memory>
|
||||
|
||||
#include <gtkmm.h>
|
||||
|
||||
@@ -54,7 +55,7 @@ private:
|
||||
|
||||
protected:
|
||||
rtengine::IImage8* image;
|
||||
rtengine::procparams::CropParams cropParams;
|
||||
std::unique_ptr<rtengine::procparams::CropParams> cropParams;
|
||||
double previewScale;
|
||||
PreviewHandlerIdleHelper* pih;
|
||||
std::list<PreviewListener*> listeners;
|
||||
@@ -82,10 +83,7 @@ public:
|
||||
// with this function it is possible to ask for a rough approximation of a (possibly zoomed) crop of the image
|
||||
Glib::RefPtr<Gdk::Pixbuf> getRoughImage (int x, int y, int w, int h, double zoom);
|
||||
Glib::RefPtr<Gdk::Pixbuf> getRoughImage (int desiredW, int desiredH, double& zoom);
|
||||
rtengine::procparams::CropParams getCropParams ()
|
||||
{
|
||||
return cropParams;
|
||||
}
|
||||
rtengine::procparams::CropParams getCropParams ();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user