Flat curve editor widget, HSV tool modified to use it.
Usage : - click & drag a control point to move it in X&Y direction - click & drag a vertical line to move it in horizontal or vertical direction (the very first move will be used to determine the motion direction) - click & drag the yellow or blue square handle to modify the tangent of the same color
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <gtkmm.h>
|
||||
|
||||
enum CursorShape {CSArrow, CSOpenHand, CSClosedHand, CSMove, CSResizeWidth, CSResizeHeight, CSResizeDiagonal, CSSpotWB, CSCropSelect, CSStraighten, CSPlus, CSEmpty};
|
||||
enum CursorShape {CSArrow, CSOpenHand, CSClosedHand, CSMove, CSMoveLeft, CSMoveRight, CSResizeWidth, CSResizeHeight, CSResizeDiagonal, CSSpotWB, CSCropSelect, CSStraighten, CSPlus, CSEmpty};
|
||||
|
||||
class CursorManager {
|
||||
|
||||
@@ -31,6 +31,8 @@ class CursorManager {
|
||||
Gdk::Cursor* cResizeDiag;
|
||||
Gdk::Cursor* cCropMove;
|
||||
Gdk::Cursor* cCropMoving;
|
||||
Gdk::Cursor* cLeftTanMove;
|
||||
Gdk::Cursor* cRightTanMove;
|
||||
Gdk::Cursor* cNormal;
|
||||
Gdk::Cursor* cCropSelection;
|
||||
Gdk::Cursor* cAdd;
|
||||
|
Reference in New Issue
Block a user