gimp/cursors/Makefile.am

212 lines
5.6 KiB
Makefile
Raw Normal View History

## Process this file with automake to produce Makefile.in
CURSOR_IMAGES = \
cursor-bad.png \
cursor-color-picker.png \
cursors/Makefile.am cursors/cursor-corner-bottom-left.png 2006-06-02 Michael Natterer <mitch@gimp.org> * cursors/Makefile.am * cursors/cursor-corner-bottom-left.png * cursors/cursor-corner-bottom-right.png * cursors/cursor-corner-top-left.png * cursors/cursor-corner-top-right.png * cursors/cursor-side-bottom.png * cursors/cursor-side-left.png * cursors/cursor-side-right.png * cursors/cursor-side-top.png * cursors/xbm/cursor-corner-bottom-left-mask.xbm * cursors/xbm/cursor-corner-bottom-left.xbm * cursors/xbm/cursor-corner-bottom-right-mask.xbm * cursors/xbm/cursor-corner-bottom-right.xbm * cursors/xbm/cursor-corner-top-left-mask.xbm * cursors/xbm/cursor-corner-top-left.xbm * cursors/xbm/cursor-corner-top-right-mask.xbm * cursors/xbm/cursor-corner-top-right.xbm * cursors/xbm/cursor-side-bottom-mask.xbm * cursors/xbm/cursor-side-bottom.xbm * cursors/xbm/cursor-side-left-mask.xbm * cursors/xbm/cursor-side-left.xbm * cursors/xbm/cursor-side-right-mask.xbm * cursors/xbm/cursor-side-right.xbm * cursors/xbm/cursor-side-top-mask.xbm * cursors/xbm/cursor-side-top.xbm: new cursors for edge and corner resizing. They perfectly align with the small crosshair and can be used together with tool cursors and cursor modifiers. * cursors/gimp-tool-cursors.xcf: add them here too. * app/widgets/widgets-enums.h: add them to the GimpCursorType enum. * app/widgets/gimpcursor.c: add them here too. * app/display/gimpdisplayshell-cursor.c: treat them like the small crosshair (don't replace them by the small crosshair but use them as-is). Also allow the bad modifier with the large crosshair. * app/tools/gimprectangletool.c (gimp_rectangle_tool_cursor_update): use the new cursors. Don't call gimp_tool_set_cursor() here. (gimp_rectangle_tool_response): reset "function" to RECT_CREATING when resetting the tool. * app/tools/gimpselectiontool.[ch] (struct GimpSelectionTool): added boolean member "allow_move" which defalts to TRUE. (gimp_selection_tool_oper_update): don't move masks, floating selections or anything when "allow_move" is FALSE. Changed behavior of click inside a selection to simply create a new selection, need to press alt+shift now to drag-float the selection. Please test this, it's apretty fundamental change! (gimp_selection_tool_cursor_update): use the tool's configured cursor instead of always GIMP_CURSOR_MOUSE, so this function can be called after gimp_rectangle_tool_cursor_update() to add the plus, minus etc. modifiers. * app/tools/gimpnewrectselecttool.c: implement GimpTool::cursor_update() and call gimp_rectangle_tool_cursor_update() from there. Chain up to get the plus, minus etc. modifiers added. Re-enble selection moving: (gimp_new_rect_select_tool_oper_update): set GimpSelectionTool's "allow_move" to FALSE unless the rectangle tool is in an idle state. (gimp_new_rect_select_tool_button_press): allow a selection moving to be started if the rectangle tool is idle. Fall back to starting a rect select if gimp_selection_tool_start_edit() returned FALSE.
2006-06-02 23:23:47 +08:00
cursor-corner-top-left.png \
cursor-corner-top-right.png \
cursor-corner-bottom-left.png \
cursor-corner-bottom-right.png \
cursor-crosshair.png \
cursor-crosshair-small.png \
cursor-mouse.png \
cursor-none.png \
cursors/Makefile.am cursors/cursor-corner-bottom-left.png 2006-06-02 Michael Natterer <mitch@gimp.org> * cursors/Makefile.am * cursors/cursor-corner-bottom-left.png * cursors/cursor-corner-bottom-right.png * cursors/cursor-corner-top-left.png * cursors/cursor-corner-top-right.png * cursors/cursor-side-bottom.png * cursors/cursor-side-left.png * cursors/cursor-side-right.png * cursors/cursor-side-top.png * cursors/xbm/cursor-corner-bottom-left-mask.xbm * cursors/xbm/cursor-corner-bottom-left.xbm * cursors/xbm/cursor-corner-bottom-right-mask.xbm * cursors/xbm/cursor-corner-bottom-right.xbm * cursors/xbm/cursor-corner-top-left-mask.xbm * cursors/xbm/cursor-corner-top-left.xbm * cursors/xbm/cursor-corner-top-right-mask.xbm * cursors/xbm/cursor-corner-top-right.xbm * cursors/xbm/cursor-side-bottom-mask.xbm * cursors/xbm/cursor-side-bottom.xbm * cursors/xbm/cursor-side-left-mask.xbm * cursors/xbm/cursor-side-left.xbm * cursors/xbm/cursor-side-right-mask.xbm * cursors/xbm/cursor-side-right.xbm * cursors/xbm/cursor-side-top-mask.xbm * cursors/xbm/cursor-side-top.xbm: new cursors for edge and corner resizing. They perfectly align with the small crosshair and can be used together with tool cursors and cursor modifiers. * cursors/gimp-tool-cursors.xcf: add them here too. * app/widgets/widgets-enums.h: add them to the GimpCursorType enum. * app/widgets/gimpcursor.c: add them here too. * app/display/gimpdisplayshell-cursor.c: treat them like the small crosshair (don't replace them by the small crosshair but use them as-is). Also allow the bad modifier with the large crosshair. * app/tools/gimprectangletool.c (gimp_rectangle_tool_cursor_update): use the new cursors. Don't call gimp_tool_set_cursor() here. (gimp_rectangle_tool_response): reset "function" to RECT_CREATING when resetting the tool. * app/tools/gimpselectiontool.[ch] (struct GimpSelectionTool): added boolean member "allow_move" which defalts to TRUE. (gimp_selection_tool_oper_update): don't move masks, floating selections or anything when "allow_move" is FALSE. Changed behavior of click inside a selection to simply create a new selection, need to press alt+shift now to drag-float the selection. Please test this, it's apretty fundamental change! (gimp_selection_tool_cursor_update): use the tool's configured cursor instead of always GIMP_CURSOR_MOUSE, so this function can be called after gimp_rectangle_tool_cursor_update() to add the plus, minus etc. modifiers. * app/tools/gimpnewrectselecttool.c: implement GimpTool::cursor_update() and call gimp_rectangle_tool_cursor_update() from there. Chain up to get the plus, minus etc. modifiers added. Re-enble selection moving: (gimp_new_rect_select_tool_oper_update): set GimpSelectionTool's "allow_move" to FALSE unless the rectangle tool is in an idle state. (gimp_new_rect_select_tool_button_press): allow a selection moving to be started if the rectangle tool is idle. Fall back to starting a rect select if gimp_selection_tool_start_edit() returned FALSE.
2006-06-02 23:23:47 +08:00
cursor-side-top.png \
cursor-side-left.png \
cursor-side-right.png \
cursor-side-bottom.png \
cursor-zoom.png \
\
modifier-anchor.png \
modifier-bad.png \
modifier-background.png \
modifier-control.png \
modifier-foreground.png \
modifier-intersect.png \
modifier-join.png \
modifier-minus.png \
modifier-move.png \
modifier-pattern.png \
modifier-plus.png \
modifier-resize.png \
\
tool-airbrush.png \
tool-blend.png \
tool-blur.png \
tool-bucket-fill.png \
tool-burn.png \
tool-clone.png \
tool-color-picker.png \
tool-crop.png \
tool-dodge.png \
tool-ellipse-select.png \
tool-eraser.png \
tool-flip-horizontal.png \
tool-flip-vertical.png \
tool-free-select.png \
tool-fuzzy-select.png \
tool-hand.png \
tool-ink.png \
tool-iscissors.png \
tool-measure.png \
tool-move.png \
tool-paintbrush.png \
tool-paths.png \
tool-paths-anchor.png \
tool-paths-control.png \
tool-paths-segment.png \
tool-pencil.png \
tool-perspective.png \
tool-rect-select.png \
tool-resize.png \
tool-rotate.png \
tool-shear.png \
tool-smudge.png \
tool-text.png \
tool-zoom.png
EXTRA_DIST = \
$(CURSOR_IMAGES) \
gimp-tool-cursors.xcf \
\
cursors/Makefile.am cursors/cursor-corner-bottom-left.png 2006-06-02 Michael Natterer <mitch@gimp.org> * cursors/Makefile.am * cursors/cursor-corner-bottom-left.png * cursors/cursor-corner-bottom-right.png * cursors/cursor-corner-top-left.png * cursors/cursor-corner-top-right.png * cursors/cursor-side-bottom.png * cursors/cursor-side-left.png * cursors/cursor-side-right.png * cursors/cursor-side-top.png * cursors/xbm/cursor-corner-bottom-left-mask.xbm * cursors/xbm/cursor-corner-bottom-left.xbm * cursors/xbm/cursor-corner-bottom-right-mask.xbm * cursors/xbm/cursor-corner-bottom-right.xbm * cursors/xbm/cursor-corner-top-left-mask.xbm * cursors/xbm/cursor-corner-top-left.xbm * cursors/xbm/cursor-corner-top-right-mask.xbm * cursors/xbm/cursor-corner-top-right.xbm * cursors/xbm/cursor-side-bottom-mask.xbm * cursors/xbm/cursor-side-bottom.xbm * cursors/xbm/cursor-side-left-mask.xbm * cursors/xbm/cursor-side-left.xbm * cursors/xbm/cursor-side-right-mask.xbm * cursors/xbm/cursor-side-right.xbm * cursors/xbm/cursor-side-top-mask.xbm * cursors/xbm/cursor-side-top.xbm: new cursors for edge and corner resizing. They perfectly align with the small crosshair and can be used together with tool cursors and cursor modifiers. * cursors/gimp-tool-cursors.xcf: add them here too. * app/widgets/widgets-enums.h: add them to the GimpCursorType enum. * app/widgets/gimpcursor.c: add them here too. * app/display/gimpdisplayshell-cursor.c: treat them like the small crosshair (don't replace them by the small crosshair but use them as-is). Also allow the bad modifier with the large crosshair. * app/tools/gimprectangletool.c (gimp_rectangle_tool_cursor_update): use the new cursors. Don't call gimp_tool_set_cursor() here. (gimp_rectangle_tool_response): reset "function" to RECT_CREATING when resetting the tool. * app/tools/gimpselectiontool.[ch] (struct GimpSelectionTool): added boolean member "allow_move" which defalts to TRUE. (gimp_selection_tool_oper_update): don't move masks, floating selections or anything when "allow_move" is FALSE. Changed behavior of click inside a selection to simply create a new selection, need to press alt+shift now to drag-float the selection. Please test this, it's apretty fundamental change! (gimp_selection_tool_cursor_update): use the tool's configured cursor instead of always GIMP_CURSOR_MOUSE, so this function can be called after gimp_rectangle_tool_cursor_update() to add the plus, minus etc. modifiers. * app/tools/gimpnewrectselecttool.c: implement GimpTool::cursor_update() and call gimp_rectangle_tool_cursor_update() from there. Chain up to get the plus, minus etc. modifiers added. Re-enble selection moving: (gimp_new_rect_select_tool_oper_update): set GimpSelectionTool's "allow_move" to FALSE unless the rectangle tool is in an idle state. (gimp_new_rect_select_tool_button_press): allow a selection moving to be started if the rectangle tool is idle. Fall back to starting a rect select if gimp_selection_tool_start_edit() returned FALSE.
2006-06-02 23:23:47 +08:00
makefile.msc \
\
xbm/cursor-none.xbm \
xbm/cursor-mouse.xbm \
xbm/cursor-mouse-mask.xbm \
xbm/cursor-crosshair.xbm \
xbm/cursor-crosshair-mask.xbm \
xbm/cursor-crosshair-small.xbm \
xbm/cursor-crosshair-small-mask.xbm \
xbm/cursor-bad.xbm \
xbm/cursor-bad-mask.xbm \
xbm/cursor-zoom.xbm \
xbm/cursor-zoom-mask.xbm \
xbm/cursor-color-picker.xbm \
xbm/cursor-color-picker-mask.xbm \
cursors/Makefile.am cursors/cursor-corner-bottom-left.png 2006-06-02 Michael Natterer <mitch@gimp.org> * cursors/Makefile.am * cursors/cursor-corner-bottom-left.png * cursors/cursor-corner-bottom-right.png * cursors/cursor-corner-top-left.png * cursors/cursor-corner-top-right.png * cursors/cursor-side-bottom.png * cursors/cursor-side-left.png * cursors/cursor-side-right.png * cursors/cursor-side-top.png * cursors/xbm/cursor-corner-bottom-left-mask.xbm * cursors/xbm/cursor-corner-bottom-left.xbm * cursors/xbm/cursor-corner-bottom-right-mask.xbm * cursors/xbm/cursor-corner-bottom-right.xbm * cursors/xbm/cursor-corner-top-left-mask.xbm * cursors/xbm/cursor-corner-top-left.xbm * cursors/xbm/cursor-corner-top-right-mask.xbm * cursors/xbm/cursor-corner-top-right.xbm * cursors/xbm/cursor-side-bottom-mask.xbm * cursors/xbm/cursor-side-bottom.xbm * cursors/xbm/cursor-side-left-mask.xbm * cursors/xbm/cursor-side-left.xbm * cursors/xbm/cursor-side-right-mask.xbm * cursors/xbm/cursor-side-right.xbm * cursors/xbm/cursor-side-top-mask.xbm * cursors/xbm/cursor-side-top.xbm: new cursors for edge and corner resizing. They perfectly align with the small crosshair and can be used together with tool cursors and cursor modifiers. * cursors/gimp-tool-cursors.xcf: add them here too. * app/widgets/widgets-enums.h: add them to the GimpCursorType enum. * app/widgets/gimpcursor.c: add them here too. * app/display/gimpdisplayshell-cursor.c: treat them like the small crosshair (don't replace them by the small crosshair but use them as-is). Also allow the bad modifier with the large crosshair. * app/tools/gimprectangletool.c (gimp_rectangle_tool_cursor_update): use the new cursors. Don't call gimp_tool_set_cursor() here. (gimp_rectangle_tool_response): reset "function" to RECT_CREATING when resetting the tool. * app/tools/gimpselectiontool.[ch] (struct GimpSelectionTool): added boolean member "allow_move" which defalts to TRUE. (gimp_selection_tool_oper_update): don't move masks, floating selections or anything when "allow_move" is FALSE. Changed behavior of click inside a selection to simply create a new selection, need to press alt+shift now to drag-float the selection. Please test this, it's apretty fundamental change! (gimp_selection_tool_cursor_update): use the tool's configured cursor instead of always GIMP_CURSOR_MOUSE, so this function can be called after gimp_rectangle_tool_cursor_update() to add the plus, minus etc. modifiers. * app/tools/gimpnewrectselecttool.c: implement GimpTool::cursor_update() and call gimp_rectangle_tool_cursor_update() from there. Chain up to get the plus, minus etc. modifiers added. Re-enble selection moving: (gimp_new_rect_select_tool_oper_update): set GimpSelectionTool's "allow_move" to FALSE unless the rectangle tool is in an idle state. (gimp_new_rect_select_tool_button_press): allow a selection moving to be started if the rectangle tool is idle. Fall back to starting a rect select if gimp_selection_tool_start_edit() returned FALSE.
2006-06-02 23:23:47 +08:00
xbm/cursor-corner-top-left.xbm \
xbm/cursor-corner-top-left-mask.xbm \
xbm/cursor-corner-top-right.xbm \
xbm/cursor-corner-top-right-mask.xbm \
xbm/cursor-corner-bottom-left.xbm \
xbm/cursor-corner-bottom-left-mask.xbm \
xbm/cursor-corner-bottom-right.xbm \
xbm/cursor-corner-bottom-right-mask.xbm \
xbm/cursor-side-top.xbm \
xbm/cursor-side-top-mask.xbm \
xbm/cursor-side-left.xbm \
xbm/cursor-side-left-mask.xbm \
xbm/cursor-side-right.xbm \
xbm/cursor-side-right-mask.xbm \
xbm/cursor-side-bottom.xbm \
xbm/cursor-side-bottom-mask.xbm \
\
xbm/modifier-bad.xbm \
xbm/modifier-bad-mask.xbm \
xbm/modifier-plus.xbm \
xbm/modifier-plus-mask.xbm \
xbm/modifier-minus.xbm \
xbm/modifier-minus-mask.xbm \
xbm/modifier-intersect.xbm \
xbm/modifier-intersect-mask.xbm \
xbm/modifier-move.xbm \
xbm/modifier-move-mask.xbm \
xbm/modifier-resize.xbm \
xbm/modifier-resize-mask.xbm \
xbm/modifier-control.xbm \
xbm/modifier-control-mask.xbm \
xbm/modifier-anchor.xbm \
xbm/modifier-anchor-mask.xbm \
xbm/modifier-foreground.xbm \
xbm/modifier-foreground-mask.xbm \
xbm/modifier-background.xbm \
xbm/modifier-background-mask.xbm \
xbm/modifier-pattern.xbm \
xbm/modifier-pattern-mask.xbm \
xbm/modifier-join.xbm \
xbm/modifier-join-mask.xbm \
\
xbm/tool-rect-select.xbm \
xbm/tool-rect-select-mask.xbm \
xbm/tool-ellipse-select.xbm \
xbm/tool-ellipse-select-mask.xbm \
xbm/tool-free-select.xbm \
xbm/tool-free-select-mask.xbm \
xbm/tool-fuzzy-select.xbm \
xbm/tool-fuzzy-select-mask.xbm \
xbm/tool-paths-anchor.xbm \
xbm/tool-paths-anchor-mask.xbm \
xbm/tool-paths-control.xbm \
xbm/tool-paths-control-mask.xbm \
xbm/tool-paths-segment.xbm \
xbm/tool-paths-segment-mask.xbm \
xbm/tool-paths.xbm \
xbm/tool-paths-mask.xbm \
xbm/tool-iscissors.xbm \
xbm/tool-iscissors-mask.xbm \
xbm/tool-move.xbm \
xbm/tool-move-mask.xbm \
xbm/tool-zoom.xbm \
xbm/tool-zoom-mask.xbm \
xbm/tool-crop.xbm \
xbm/tool-crop-mask.xbm \
xbm/tool-resize.xbm \
xbm/tool-resize-mask.xbm \
xbm/tool-rotate.xbm \
xbm/tool-rotate-mask.xbm \
xbm/tool-shear.xbm \
xbm/tool-shear-mask.xbm \
xbm/tool-perspective.xbm \
xbm/tool-perspective-mask.xbm \
xbm/tool-flip-horizontal.xbm \
xbm/tool-flip-horizontal-mask.xbm \
xbm/tool-flip-vertical.xbm \
xbm/tool-flip-vertical-mask.xbm \
xbm/tool-text.xbm \
xbm/tool-text-mask.xbm \
xbm/tool-color-picker.xbm \
xbm/tool-color-picker-mask.xbm \
xbm/tool-bucket-fill.xbm \
xbm/tool-bucket-fill-mask.xbm \
xbm/tool-blend.xbm \
xbm/tool-blend-mask.xbm \
xbm/tool-pencil.xbm \
xbm/tool-pencil-mask.xbm \
xbm/tool-paintbrush.xbm \
xbm/tool-paintbrush-mask.xbm \
xbm/tool-eraser.xbm \
xbm/tool-eraser-mask.xbm \
xbm/tool-airbrush.xbm \
xbm/tool-airbrush-mask.xbm \
xbm/tool-clone.xbm \
xbm/tool-clone-mask.xbm \
xbm/tool-blur.xbm \
xbm/tool-blur-mask.xbm \
xbm/tool-ink.xbm \
xbm/tool-ink-mask.xbm \
xbm/tool-dodge.xbm \
xbm/tool-dodge-mask.xbm \
xbm/tool-burn.xbm \
xbm/tool-burn-mask.xbm \
xbm/tool-smudge.xbm \
xbm/tool-smudge-mask.xbm \
xbm/tool-measure.xbm \
xbm/tool-measure-mask.xbm \
xbm/tool-hand.xbm \
xbm/tool-hand-mask.xbm
noinst_DATA = gimp-tool-cursors.h
CLEANFILES = gimp-tool-cursors.h tool-cursors.list
tool-cursors.list: $(CURSOR_IMAGES) Makefile.am
( rm -f $@; \
for image in $(CURSOR_IMAGES); do \
echo $$image | \
sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
echo " $(srcdir)/$$image" >> $@; \
done )
$(srcdir)/gimp-tool-cursors.h: tool-cursors.list
$(GDK_PIXBUF_CSOURCE) --raw --build-list `cat tool-cursors.list` > $(@F)