Various icon and cursor improvements #4738

- The mouse cursor now is an open hand when hovering over something
  which can be panned, e.g. the red square in the Navigator panel. It is
  a crosshair when hovering over the main preview.
- When you pan the red square or the main preview, it's a closed hand.
- Now the cursor changes to a crop icon when you're in crop mode.
- The cursor changes as needed when you want to resize a crop edge or
  corner.
- The cursor changes when you're in straighten mode.
- The curve "add adjustment point" and "edit node in/out values" icons
  now contain a node in the icon and are more representative of what
  they do.
- The small reset/undo icon is made a bit clearer.
This commit is contained in:
Morgan Hardwood
2018-08-28 13:20:30 +02:00
parent 871188a1d8
commit 2f7910e981
68 changed files with 651 additions and 466 deletions

View File

@@ -56,13 +56,13 @@ class CursorManager
private:
Glib::RefPtr<Gdk::Cursor> cResizeWidth;
Glib::RefPtr<Gdk::Cursor> cResizeHeight;
Glib::RefPtr<Gdk::Cursor> cResizeDiag;
//Glib::RefPtr<Gdk::Cursor> cResizeDiag;
Glib::RefPtr<Gdk::Cursor> cResizeTopLeft;
Glib::RefPtr<Gdk::Cursor> cResizeTopRight;
Glib::RefPtr<Gdk::Cursor> cResizeBottomLeft;
Glib::RefPtr<Gdk::Cursor> cResizeBottomRight;
Glib::RefPtr<Gdk::Cursor> cCropDraw;
Glib::RefPtr<Gdk::Cursor> cCropMove;
Glib::RefPtr<Gdk::Cursor> cCropMoving;
Glib::RefPtr<Gdk::Cursor> cLeftTanMove;
Glib::RefPtr<Gdk::Cursor> cRightTanMove;
Glib::RefPtr<Gdk::Cursor> cNormal;
@@ -76,9 +76,9 @@ private:
Glib::RefPtr<Gdk::Cursor> cAddPicker;
Glib::RefPtr<Gdk::Cursor> cHidden;
Glib::RefPtr<Gdk::Cursor> cMove2D;
Glib::RefPtr<Gdk::Cursor> cMove1DH;
Glib::RefPtr<Gdk::Cursor> cMove1DV;
Glib::RefPtr<Gdk::Cursor> cMoveRotate;
//Glib::RefPtr<Gdk::Cursor> cMove1DH;
//Glib::RefPtr<Gdk::Cursor> cMove1DV;
Glib::RefPtr<Gdk::Cursor> cRotate;
Glib::RefPtr<Gdk::Display> display;
Glib::RefPtr<Gdk::Window> window;