More icon and cursor fixes

- The Graduated Filter on-canvas widget button now has its own icon,
  does not use the curve's "add adjustment point" icon anymore.
- When dragging a crop, a closed hand cursor is shown.
- The hand icon had the outline removed to improve separation between
  the fingers.
This commit is contained in:
Morgan Hardwood
2018-08-28 18:01:25 +02:00
parent 68378c2028
commit 54ff8788e6
12 changed files with 150 additions and 46 deletions

View File

@@ -43,8 +43,7 @@ void CursorManager::init (Glib::RefPtr<Gdk::Window> mainWindow)
cResizeBottomLeft = Gdk::Cursor::create (display, Gdk::BOTTOM_LEFT_CORNER);
cResizeBottomRight = Gdk::Cursor::create (display, Gdk::BOTTOM_RIGHT_CORNER);
cCropDraw = Gdk::Cursor::create (display, Gdk::CROSSHAIR);
cCropMove = Gdk::Cursor::create (display, Gdk::CROSSHAIR);
cCropSelection = Gdk::Cursor::create (display, Gdk::CROSSHAIR);
cCropSelection = Gdk::Cursor::create (display, Gdk::STAR); // ?
cLeftTanMove = Gdk::Cursor::create (display, Gdk::SB_LEFT_ARROW);
cRightTanMove = Gdk::Cursor::create (display, Gdk::SB_RIGHT_ARROW);
cAdd = Gdk::Cursor::create (display, Gdk::PLUS);
@@ -100,7 +99,7 @@ void CursorManager::setCursor (Glib::RefPtr<Gdk::Window> window, CursorShape sha
} else if (shape == CSHandClosed) {
window->set_cursor (cHandClosed);
} else if (shape == CSMove) {
window->set_cursor (cCropMove);
window->set_cursor (cHandClosed);
} else if (shape == CSResizeWidth) {
window->set_cursor (cResizeWidth);
} else if (shape == CSResizeHeight) {