implement feature request #1489 (custom crop ratio by holding shift while resizing the crop area)
This commit is contained in:
@@ -25,14 +25,14 @@ class CropGUIListener
|
||||
public:
|
||||
virtual ~CropGUIListener() {}
|
||||
virtual void cropMoved (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropWidth1Resized (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropWidth2Resized (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropHeight1Resized (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropHeight2Resized (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropTopLeftResized (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropTopRightResized (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropBottomLeftResized (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropBottomRightResized (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropWidth1Resized (int &x, int &y, int &w, int &h, float custom_ratio=0.f) = 0;
|
||||
virtual void cropWidth2Resized (int &x, int &y, int &w, int &h, float custom_ratio=0.f) = 0;
|
||||
virtual void cropHeight1Resized (int &x, int &y, int &w, int &h, float custom_ratio=0.f) = 0;
|
||||
virtual void cropHeight2Resized (int &x, int &y, int &w, int &h, float custom_ratio=0.f) = 0;
|
||||
virtual void cropTopLeftResized (int &x, int &y, int &w, int &h, float custom_ratio=0.f) = 0;
|
||||
virtual void cropTopRightResized (int &x, int &y, int &w, int &h, float custom_ratio=0.f) = 0;
|
||||
virtual void cropBottomLeftResized (int &x, int &y, int &w, int &h, float custom_ratio=0.f) = 0;
|
||||
virtual void cropBottomRightResized (int &x, int &y, int &w, int &h, float custom_ratio=0.f) = 0;
|
||||
virtual void cropInit (int &x, int &y, int &w, int &h) = 0;
|
||||
virtual void cropResized (int &x, int &y, int& x2, int& y2) = 0;
|
||||
virtual void cropManipReady () = 0;
|
||||
|
Reference in New Issue
Block a user