Remember zoom % and pan offset when opening another image, issue 2435

This commit is contained in:
DrSlony
2015-03-21 13:51:56 +01:00
parent f86fd06b11
commit 1ec6ff068b
10 changed files with 80 additions and 32 deletions

View File

@@ -59,7 +59,8 @@ class ImageArea : public Gtk::DrawingArea, public CropWindowListener, public Edi
ImageAreaToolListener* listener;
CropWindow* getCropWindow (int x, int y);
bool firstOpen;
int fullImageWidth, fullImageHeight;
public:
CropWindow* mainCropWindow;
CropWindow* flawnOverWindow;