[gimp] app, cursors: add zoom cursor modifier



commit 2c1f1c507c2711ddc565292b95a4252484da959c
Author: Ell <ell_se yahoo com>
Date:   Tue Apr 10 09:40:55 2018 -0400

    app, cursors: add zoom cursor modifier
    
    To be used by GimpToolGyroscope.

 app/widgets/gimpcursor.c      |    1 +
 app/widgets/widgets-enums.h   |    1 +
 cursors/Makefile.am           |    1 +
 cursors/gimp-tool-cursors.xcf |  Bin 77739 -> 78346 bytes
 cursors/modifier-zoom.png     |  Bin 0 -> 173 bytes
 5 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpcursor.c b/app/widgets/gimpcursor.c
index 04b5fd3..2b5dfd9 100644
--- a/app/widgets/gimpcursor.c
+++ b/app/widgets/gimpcursor.c
@@ -208,6 +208,7 @@ static GimpCursor gimp_cursor_modifiers[] =
   { "modifier-move.png" },
   { "modifier-resize.png" },
   { "modifier-rotate.png" },
+  { "modifier-zoom.png" },
   { "modifier-control.png" },
   { "modifier-anchor.png" },
   { "modifier-foreground.png" },
diff --git a/app/widgets/widgets-enums.h b/app/widgets/widgets-enums.h
index aeb2d04..6cab9c1 100644
--- a/app/widgets/widgets-enums.h
+++ b/app/widgets/widgets-enums.h
@@ -277,6 +277,7 @@ typedef enum  /*< skip >*/
   GIMP_CURSOR_MODIFIER_MOVE,
   GIMP_CURSOR_MODIFIER_RESIZE,
   GIMP_CURSOR_MODIFIER_ROTATE,
+  GIMP_CURSOR_MODIFIER_ZOOM,
   GIMP_CURSOR_MODIFIER_CONTROL,
   GIMP_CURSOR_MODIFIER_ANCHOR,
   GIMP_CURSOR_MODIFIER_FOREGROUND,
diff --git a/cursors/Makefile.am b/cursors/Makefile.am
index dca1916..62805cd 100644
--- a/cursors/Makefile.am
+++ b/cursors/Makefile.am
@@ -40,6 +40,7 @@ CURSOR_IMAGES = \
        modifier-resize.png                     \
        modifier-rotate.png                     \
        modifier-select.png                     \
+       modifier-zoom.png                       \
        \
        tool-airbrush.png                       \
        tool-blend.png                          \
diff --git a/cursors/gimp-tool-cursors.xcf b/cursors/gimp-tool-cursors.xcf
index b7cd7cf..cf4d337 100644
Binary files a/cursors/gimp-tool-cursors.xcf and b/cursors/gimp-tool-cursors.xcf differ
diff --git a/cursors/modifier-zoom.png b/cursors/modifier-zoom.png
new file mode 100644
index 0000000..8bbf07d
Binary files /dev/null and b/cursors/modifier-zoom.png differ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]