8387dd98a4
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
* app/tools/gimprectangletool.[ch]: add "constrain" property
to specify whether to clip at image bounds when computing
dimensions.
* app/tools/gimpcroptool.c
* app/tools/gimpnewrectselecttool.c: set "constrain" to TRUE.
* app/tools/gimpellipseselecttool.c: set "constrain" to FALSE.
Hopefully fixes bug #329817 .
2006-05-31 19:45:38 +00:00
1ce44a4555
app/core/gimpcontext.c app/tools/gimp-tools.c
...
2006-05-23 Karine Delvare <edhel@gimp.org >
* app/core/gimpcontext.c
* app/tools/gimp-tools.c
* app/tools/gimpnewrectselecttool.c
* app/tools/gimprectselecttool.c
* app/widgets/gimptoolbox.c
* menus/image-menu.xml.in: replace old rect select by new in the
toolbox.
2006-05-23 18:14:51 +00:00
4d0e186ea9
app/tools/gimpcroptool.c app/tools/gimpnewrectselecttool.c eek, I broke
...
2006-05-23 Karine Delvare <edhel@gimp.org >
* app/tools/gimpcroptool.c
* app/tools/gimpnewrectselecttool.c
* app/tools/gimprectangletool.[ch]: eek, I broke the build.
2006-05-23 17:37:18 +00:00
c282b4ff12
app/tools/gimpcroptool.c revert rect select execution on leaving, revert
...
2006-05-23 Karine Delvare <edhel@gimp.org >
* app/tools/gimpcroptool.c
* app/tools/gimpnewrectselecttool.c: revert rect select execution on
leaving, revert auto-conversion to selection.
2006-05-23 17:04:00 +00:00
9ae62df553
don't execute gimp_rectangle_tool_response() twice. Fixes bug #342506 .
...
2006-05-23 Karine Delvare <edhel@gimp.org >
* app/tools/gimpnewrectselecttool.c: don't execute
gimp_rectangle_tool_response() twice. Fixes bug #342506 .
2006-05-23 16:11:44 +00:00
b3c20ed2a5
prefix with GIMP_TOOL_ACTION_
...
2006-05-21 Michael Natterer <mitch@gimp.org >
* app/tools/tools-enums.h (enum GimpToolAction): prefix with
GIMP_TOOL_ACTION_
* app/display/gimpdisplay.c
* app/display/gimpdisplayshell.c
* app/tools/gimpaligntool.c
* app/tools/gimpcolorpickertool.c
* app/tools/gimpcolortool.c
* app/tools/gimpcroptool.c
* app/tools/gimpdrawtool.c
* app/tools/gimpforegroundselecttool.c
* app/tools/gimpfreeselecttool.c
* app/tools/gimpimagemaptool.c
* app/tools/gimpiscissorstool.c
* app/tools/gimpmeasuretool.c
* app/tools/gimpmovetool.c
* app/tools/gimpnewrectselecttool.c
* app/tools/gimppainttool.c
* app/tools/gimpselectiontool.c
* app/tools/gimptexttool.c
* app/tools/gimptool.c
* app/tools/gimptransformtool.c
* app/tools/gimpvectortool.c
* app/tools/tool_manager.c: changed accordingly. Introduce a
common style for GimpTool::control()'s switch() block. Some
minor cleanups.
2006-05-21 21:12:01 +00:00
6ebcf700d1
removed erroneous semicolon after G_DEFINE_TYPE macros.
...
2006-05-15 Sven Neumann <sven@gimp.org >
* app/*/*.c:
* lib*/*.c: removed erroneous semicolon after G_DEFINE_TYPE macros.
2006-05-15 09:46:31 +00:00
3a8be5fa52
auto-convert rectangle to selection after creating or reiszing it.
...
2006-04-12 Karine Delvare <edhel@gimp.org >
* app/tools/gimpnewrectselecttool.c: auto-convert rectangle to
selection after creating or reiszing it.
2006-04-12 18:34:43 +00:00
a10a5713d7
don't automatically auto-shrink.
...
2006-04-01 Karine Delvare <edhel@gimp.org >
* app/tools/gimpnewrectselecttool.c: don't automatically
auto-shrink.
2006-04-01 10:46:21 +00:00
5439aa4995
did a global gdisp -> display substitution.
...
2006-03-28 Sven Neumann <sven@gimp.org >
* app/*: did a global gdisp -> display substitution.
2006-03-28 17:55:52 +00:00
905fdfcbed
did a global gimage -> image substitution.
...
2006-03-28 Sven Neumann <sven@gimp.org >
* app/*: did a global gimage -> image substitution.
2006-03-28 17:08:36 +00:00
601e45ea5a
allow modifier keys to work.
...
2006-03-27 Karine Delvare <edhel@gimp.org >
* app/tools/gimpnewrectselecttool.c: allow modifier keys to work.
2006-03-27 17:58:11 +00:00
c82adc2231
app/tools/gimpcropoptions.c app/tools/gimprectangleoptions.[ch] moved
...
2006-03-26 Karine Delvare <edhel@gimp.org >
* app/tools/gimpcropoptions.c
* app/tools/gimprectangleoptions.[ch]
* app/tools/gimprectangletool.[ch]: moved options gui creation
from the tool to the options.
* app/tools/gimpselectionoptions.c
* app/tools/gimpnewrectselecttool.[ch]
* app/tools/gimpellipseselecttool.[ch]: ported ellipse selection
tool to the new rectangle interface.
2006-03-26 13:50:13 +00:00
2ed407b54f
app/tools/gimptool.[ch] add "gboolean proximity" parameter to
...
2006-03-25 Michael Natterer <mitch@gimp.org >
* app/tools/gimptool.[ch]
* app/tools/tool_manager.[ch]: add "gboolean proximity" parameter
to GimpTool::oper_update() in order to emphasize its importance
and to avoid peeking around in the GimpDisplayShell struct.
* app/tools/gimpbycolorselecttool.c
* app/tools/gimpclonetool.c
* app/tools/gimpcolorpickertool.c
* app/tools/gimpcolortool.c
* app/tools/gimpcurvestool.c
* app/tools/gimpforegroundselecttool.c
* app/tools/gimpiscissorstool.c
* app/tools/gimpmovetool.c
* app/tools/gimpnewrectselecttool.c
* app/tools/gimppainttool.c
* app/tools/gimprectangletool.[ch]
* app/tools/gimpselectiontool.c
* app/tools/gimptransformtool.c
* app/tools/gimpvectortool.c: changed accordingly. Got rid of
quite some "display/gimpdisplayshell.h" includes.
* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_canvas_tool_events): pass shell->proximity to
tool_manager_oper_update_active().
2006-03-25 14:23:09 +00:00
85acd1410f
app/tools/gimpnewrectselecttool.c app/tools/gimprectangleoptions.[ch] hide
...
2006-03-21 Karine Delvare <kdelvare@nerim.net >
* app/tools/gimpnewrectselecttool.c
* app/tools/gimprectangleoptions.[ch]
* app/tools/gimprectangletool.[ch]: hide properties accessors.
2006-03-21 17:37:24 +00:00
202539a47c
app/tools/gimpcroptool.c app/tools/gimpnewrectselecttool.c
...
2006-01-21 Karine Delvare <kdelvare@nerim.net >
* app/tools/gimpcroptool.c
* app/tools/gimpnewrectselecttool.c
* app/tools/gimprectangleoptions.c
* app/tools/gimprectangletool.c: indentation fixes.
2006-01-21 18:20:26 +00:00
8b8c784a5b
port to G_DEFINE_TYPE() and friends. Some related cleanup.
...
2005-12-13 Michael Natterer <mitch@gimp.org >
* app/tools/*.c: port to G_DEFINE_TYPE() and friends. Some related
cleanup.
2005-12-13 09:13:50 +00:00
1792475747
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
* app/tools/gimprectangletool.c:
* app/tools/gimpnewrectselecttool.c Make clicking inside an existing
selection create rect matching the marching ants.
2005-10-20 21:33:40 +00:00
4d8dae4f0b
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
* app/tools/gimpcroptool.c
* app/tools/gimpnewrectselecttool.c
* app/tools/gimprectangletool.c
* app/tools/gimprectangletool.h: move tool_control out of rectangle
tool and into users of it, and make rect select execute on leaving
but crop tool not. Also rename functions and clean up formatting
a bit.
2005-10-19 21:13:25 +00:00
87fe1e10c2
app/tools/gimpnewrectselecttool.c let status info be pushed.
...
2005-10-15 Karine Delvare <kdelvare@nerim.net >
* app/tools/gimpnewrectselecttool.c
* app/tools/gimpselectiontool.c: let status info be pushed.
2005-10-15 18:23:33 +00:00
1f50357015
app/tools/gimpcroptool.c app/tools/gimpnewrectselecttool.c added status
...
2005-10-08 Karine Delvare <kdelvare@nerim.net >
* app/tools/gimpcroptool.c
* app/tools/gimpnewrectselecttool.c
* app/tools/gimprectangletool.c: added status bar info to tell the user
what to do once the rectangle area is drawn. Fixes bug #318267 .
2005-10-08 19:20:31 +00:00
44ba775533
fixed assignment of local variable "rectangle_exists".
...
2005-09-25 Sven Neumann <sven@gimp.org >
* app/tools/gimpnewrectselecttool.c: fixed assignment of local
variable "rectangle_exists".
2005-09-25 13:40:53 +00:00
2e0757fda0
app/tools/gimpcroptool.c app/tools/gimprectangleoptions.c
...
2005-09-13 Karine Delvare <kdelvare@nerim.net >
* app/tools/gimpcroptool.c
* app/tools/gimprectangleoptions.c
* app/tools/gimprectangletool.c
* app/tools/gimpnewrectselecttool.c: changed the way we stay inside
images boundaries so each tool decides whether it does or not.
2005-09-15 20:31:49 +00:00
b94ecff556
app/tools/gimprectangletool.[ch] code cleanup, replace virtualization
...
2005-09-03 Karine Delvare <kdelvare@nerim.net >
* app/tools/gimprectangletool.[ch]
* app/tools/gimprectangleoptions.[ch]: code cleanup, replace
virtualization functions with interface properties.
* app/tools/gimpcroptool.[ch]
* app/tools/gimpnewrectselecttool.[ch]
* app/tools/gimpcropoptions.[ch]
* app/tools/gimpnewrectselectoptions.[ch]: code cleanup, use said
interface properties.
2005-09-03 19:48:22 +00:00
5a9f83bd46
app/tools/gimprectangletool.[ch] transform into an interface.
...
2005-08-15 Karine Delvare <kdelvare@nerim.net >
* app/tools/gimprectangletool.[ch]
* app/tools/gimprectangleoptions.[ch]: transform into an interface.
* app/tools/gimpcroptool.[ch]
* app/tools/gimpnewrectselecttool.[ch]: use the rectangletool interface.
* app/tools/gimpcropoptions.[ch]
* app/tools/gimpnewrectselectoptions.[ch]: use the rectangleoptions
interface.
* app/tools/Makefile.am: added gimpnewrectselectionoptions.[ch]
2005-08-15 14:23:28 +00:00
d64bf3564f
added GimpPickable::get_opacity_at()
...
2005-07-11 Michael Natterer <mitch@gimp.org >
* app/core/gimppickable.[ch]: added GimpPickable::get_opacity_at()
* app/core/gimpchannel.[ch]: removed gimp_channel_value() and
implement ::get_opacity_at() instead.
* app/core/gimplayer.[ch]: removed gimp_layer_pick_correlate()
and implement ::get_opacity_at() instead.
* app/core/gimpselection.c: GimpChannel::value() doesn't exist
any more.
* app/core/gimpprojection.c: implement ::get_opacity_at(), always
returns OPAQUE.
* app/core/gimpimage.c
* app/tools/gimpbucketfilltool.c
* app/tools/gimpclonetool.c
* app/tools/gimpfliptool.c
* app/tools/gimpiscissorstool.c
* app/tools/gimpnewrectselecttool.c
* app/tools/gimprectangletool.c
* app/tools/gimpselectiontool.c
* app/tools/gimptransformtool.c
* tools/pdbgen/pdb/selection.pdb: changed accordingly.
* app/pdb/selection_cmds.c: regenerated.
2005-07-11 19:21:52 +00:00
27042a7b36
app/tools/gimppainttool.[ch] unified tool and paint-tool statusbar APIs.
...
2005-05-07 Sven Neumann <sven@gimp.org >
* app/tools/gimppainttool.[ch]
* app/tools/gimptool.[ch]: unified tool and paint-tool statusbar APIs.
* app/tools/gimpblendtool.c
* app/tools/gimpclonetool.c
* app/tools/gimpcolortool.c
* app/tools/gimpcroptool.c
* app/tools/gimpeditselectiontool.c
* app/tools/gimpfuzzyselecttool.c
* app/tools/gimpmeasuretool.c
* app/tools/gimpmovetool.c
* app/tools/gimpnewrectselecttool.c
* app/tools/gimprectangletool.c
* app/tools/gimprectselecttool.c
* app/tools/gimpvectortool.c: changed accordingly.
* app/tools/gimpselectiontool.c: give more hints in the statusbar.
Some of the selection tools should probably override these.
2005-05-07 13:24:47 +00:00
7295b9cec4
NULLified the Keyboard Shortcut for the new rect select tool (clash with
...
2005-04-15 Simon Budig <simon@gimp.org >
* app/tools/gimpnewrectselecttool.c: NULLified the Keyboard
Shortcut for the new rect select tool (clash with the Crop tool).
2005-04-15 01:13:47 +00:00
b41d8898e9
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
* app/tools/gimpnewrectselecttool.[ch]
* app/tools/gimprectangletool.[ch]: more work on rectangle
tool ui.
2005-04-09 18:08:47 +00:00
3bd8b6d2d3
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
* app/tools/gimpnewrectselecttool.c
* app/tools/gimprectangletool.[ch]: improve cursor handling and
other aspects of ui for rectangle tools.
2005-03-14 20:44:18 +00:00
c31defcbf7
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
* app/tools/gimprectangletool.c
* app/tools/gimprectangletool.h
* app/tools/gimprectangleoptions.c
* app/tools/gimprectangleoptions.h: new code for base
class for rectangle tools.
* app/tools/gimpnewrectselecttool.[ch]: modified to
derive from GimpRectangleTool.
* app/tools/Makefile.am: modified accordingly
* app/tools/gimpselectionoptions.[ch]: remove stuff
no longer needed by new rect select tool.
This is work in progress.
2005-03-02 18:18:19 +00:00
a4de915921
themes/Default/images/Makefile.am
...
2005-01-31 Sven Neumann <sven@gimp.org >
* themes/Default/images/Makefile.am
* themes/Default/images/tools/stock-tool-new-rect-select-16.png
* themes/Default/images/tools/stock-tool-new-rect-select-22.png
* libgimpwidgets/gimpstock.[ch]: removed the new icon again;
there's no point in adding a stock icon temporarily.
* app/tools/gimpnewrectselecttool.c: changed accordingly.
2005-01-31 20:43:46 +00:00
876bd885d7
Bill Skaggs <weskaggs@primate.ucdavis.edu>
...
* app/tools/gimpnewrectselecttool.[ch]: new rectangle select tool
* app/tools/Makefile.am
* app/tools/gimp-tools.c: add it to toolbox
* app/tools/gimpselectionoptions.[ch]: set its options
* themes/Default/images/tools/stock-tool-new-rect-select-16.png
* themes/Default/images/tools/stock-tool-new-rect-select-22.png: toolbox
icon
* libgimpwidgets/gimpstock.[ch]
* themes/Default/images/Makefile.am: add the toolbox icon
2005-01-31 18:43:28 +00:00