1. 02 Jul, 1999 1 commit
    • Michael Natterer's avatar
      the Tool structure is now allocated by a common constructor which sets · a60b2c2f
      Michael Natterer authored
      1999-07-02  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all tools]: the Tool structure is now allocated by a common
      	constructor which sets default values and provides default tool
      	action functions. To get rid of much code duplication there should
      	be a object hierarchy of tools.
      
      	* app/context_manager.c
      	* app/tools.[ch]: create and destroy private contexts for the
      	paint tools on startup and exit. They are not used yet.
      
      	* app/interface.c
      	* app/menus.c
      	* app/tools.h: num_tools is now exported in tools.h
      
      	* app/commands.c
      	* app/gdisplay.c
      	* app/menus.c: made "Toggle Selection" a toggleable menu item.
      a60b2c2f
  2. 26 Jun, 1999 1 commit
    • Michael Natterer's avatar
      app/[all tool related files] app/commands.c app/disp_callbacks.c · c456ba93
      Michael Natterer authored
      1999-06-26  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/[all tool related files]
      	* app/commands.c
      	* app/disp_callbacks.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/interface.c: hopefully fixed the bugs that appeared with my
      	last fix. And some more changes...
      
      	- Slightly changed the conditions which cause the tools to be
      	  re-initialized on button_press events and the global
      	  initialisation functions.
      	- The dialog tools now explicitly set tool->gdisp_ptr so they can
      	  be properly hidden on display deletion.
      	- Create the crop info dialog only once and avoid ugly redraw bugs
      	  by blocking the sizeentries' signal when initializing them.
      	- Standardized the tools_new_<tool>() functions. They are
      	  scheduled to be moved to a common constructor in tools.c
      	- Various stuff...
      c456ba93
  3. 06 May, 1999 1 commit
    • Michael Natterer's avatar
      app/channel.[ch] app/commands.c app/gimage_mask.[ch] · c0b24ce9
      Michael Natterer authored
      1999-05-07  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/channel.[ch]
      	* app/commands.c
      	* app/gimage_mask.[ch]
      	* app/gimage_mask_cmds.c
      	* tools/pdbgen/pdb/gimage_mask.pdb
      	* app/interface.c: propagated the indepentent x/y values for
      	shrink/grow/border to the interface but not yet to the PDB.
      
      	* app/*_select.c
      	* app/paint_funcs.[ch]: implemented indep. x/y feather. It seems
      	that cut-and-paste was sufficient, but I didn't really understand
      	the code. Jay, could you have a look at this please?
      
      	If the feather/shrink/... amount is specified in pixels,
      	everything behaves like before.
      	I'm not sure how the built-in feather option of the selection
      	tools should behave, so it still defaults to 'pixel' mode.
      	Moved the static feather/shrink/... values from gimage_mask.c to
      	commands.c because they belong to the interface.
      
      	* app/text_tool_cmds.c
      	* tools/pdbgen/pdb/text_tool.pdb: prepared for resolution
      	support, but didn't enable it yet.
      
      	* app/unit_cmds.c
      	* tool/pdbgen/pdb/unit.pdb: fixed a help text.
      c0b24ce9
  4. 05 May, 1999 1 commit
    • jaycox's avatar
      new bitmap files containing the new mouse cursors. · 18835a76
      jaycox authored
      
      	* pixmaps/mouse1*: new bitmap files containing the new mouse cursors.
      
      	* app/parasitelist.c: use g_str_equal instead of parasite_compare_func.
      
      	* app/paint_core.c: interpret perfectmouse right way round.
      
      	* app/rect_select{P,}.[ch]: set custom cursors when the operation type
       	changes.  Centralize the calculation of op based on the modifier
       	keys being held.
      
      	* app/fuzzy_select.c, app/free_select.c: allow the rect_select
       	functions calculate the operation type.
      
      	* app/ellipse_select.c: use the SelectionOps typedefs.
      
      	* app/edit_selection.c: convert MaskToLayerTranslate into
       	FloatingSelTranslate if there is already a floating selection in
       	init_edit_selection.
      
      	* app/disp_callbacks.c: fixed the calculation of state.
      
      	* app/gdisplay.[ch], app/cursorutil.[ch]: new functions to allow
       	the loading of customized cursors.
      
      	* app/paint_funcs.[ch], app/channel.c: border_region now accepts
       	seperate xradius and yradius arguments.
      18835a76
  5. 27 Apr, 1999 2 commits
  6. 18 Apr, 1999 1 commit
    • Manish Singh's avatar
      new file, containes the PDB stuff for most of the tools · ccac10a4
      Manish Singh authored
      * app/tools_cmds.c: new file, containes the PDB stuff for most
      of the tools
      
      * app/gimprc_cmds.c: new file, PDB interface stuff for gimprc
      access
      
      * app/Makefile.am: added tools_cmds.c and gimprc_cmds.c
      
      * app/airbrush.[ch]
      * app/blend.[ch]
      * app/bucket_fill.[ch]
      * app/by_color_select.[ch]
      * app/clone.[ch]
      * app/color_picker.[ch]
      * app/convolve.[ch]
      * app/crop.[ch]
      * app/ellipse_select.[ch]
      * app/eraser.[ch]
      * app/flip_tool.[ch]
      * app/free_select.[ch]
      * app/fuzzy_select.[ch]
      * app/gimprc.[ch]
      * app/paintbrush.[ch]
      * app/pencil.[ch]
      * app/perspective_tool.[ch]
      * app/rect_select.c app/rect_select.h
      * app/rotate_tool.[ch]
      * app/scale_tool.[ch]
      * app/shear_tool.[ch]: bye bye PDB stuff (exported necessary enums
      functions, vars, etc.)
      
      * app/internal_procs.c: use register_foo functions
      
      * app/blend.[ch]: GradientType enum case changed
      
      * app/bucket_fill.[ch]: s/FillMode/BucketFillMode/, made the enum
      more consistent
      
      * app/clone.[ch]: capitalized the CloneType enum
      
      * app/color_picker.[ch]: changed get_color to pick_color so we don't
      conflict with colormaps.c get_color
      
      * app/convolve.[ch]: capitalized the ConvolveType enum
      
      * app/paint_core.h: made a GradientPaintMode enum
      
      * app/transform_core.h: BoundingBox enum
      
      * app/scale_tool.c: use the generic bounding box enum for X1, Y1, etc.
      
      * app/shear_tool.[ch]: turned HORZ and VERT into a ShearType enum
      
      -Yosh
      ccac10a4
  7. 12 Apr, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c · 8dbd5f9b
      Michael Natterer authored
      1999-04-12  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
              * app/airbrush.c
              * app/bezier_select.c
              * app/blend.c
              * app/brightness_contrast.c
              * app/bucket_fill.c
              * app/by_color_select.c
              * app/clone.c
              * app/color_balance.c
              * app/color_picker.c
              * app/convolve.c
              * app/crop.c
              * app/curves.c
              * app/ellipse_select.c
              * app/eraser.c
              * app/flip_tool.c
              * app/free_select.c
              * app/fuzzy_select.c
              * app/histogram_tool.c
              * app/hue_saturation.c
              * app/ink.c
              * app/iscissors.c
              * app/levels.c
              * app/magnify.c
              * app/move.c
              * app/paintbrush.c
              * app/pencil.c
              * app/posterize.c
              * app/rect_select.[ch]
              * app/text_tool.c
              * app/threshold.c
              * app/transform_tool.c
      
              * app/tools.[ch]
              * app/toolsF.h: again: all tools :(
      
              * app/Makefile.am
              * app/tool_options.[ch]
              * app/selection_options.h
              * app/tool_options_ui.h: new files.
      
              Ok, this time it's general enough for future extensions:
      
              - The tool options structures are organized like the gtk object
                system to allow derived tool options.
              - Renamed all create and reset functions to *_options_new() and
                *_options_reset() to reflect this.
              - Changed tools_register() again. Now it takes just a pointer to a
                ToolOptions structure.
              - Moved almost the entire tool options gui code to tool_options.c.
              - Visually separated the common selection options from the
                tool-specific ones. I'd like to do the same with opacity/paint
                mode in all paint tool options but I think this needs some more
                discussion.
      
              * app/histogram_tool.c: changed packing boxes, label alignments.
      
              * app/paintbrush.c: some more sensitive settings. The gradient
              feature can now be toggled with a button. Hopefully didn't break
              anything.
      8dbd5f9b
  8. 08 Apr, 1999 1 commit
    • Michael Natterer's avatar
      app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c · f1b0a883
      Michael Natterer authored
      1999-04-08  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/airbrush.c
      	* app/bezier_select.c
      	* app/blend.c
      	* app/brightness_contrast.c
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/clone.c
      	* app/color_balance.c
      	* app/color_picker.c
      	* app/convolve.c
      	* app/crop.[ch]
      	* app/curves.c
      	* app/ellipse_select.c
      	* app/eraser.c
      	* app/flip_tool.c
      	* app/free_select.c
      	* app/fuzzy_select.c
      	* app/histogram_tool.c
      	* app/hue_saturation.c
      	* app/ink.c
      	* app/iscissors.c
      	* app/levels.c
      	* app/magnify.c
      	* app/move.c
      	* app/paintbrush.c
      	* app/pencil.c
      	* app/posterize.c
      	* app/rect_select.[ch]
      	* app/text_tool.[ch]
      	* app/threshold.c
      	* app/transform_tool.c
      
      	* app/tools.[ch]
      	* app/toolsF.h: in other words: all tools
      
      	Implemented the "reset tool options" feature.
      	- All tools register with a title string and a reset function now.
      	- The tool options' variables have two related <var>_d (default)
      	  and <var>_w (widget) variables to restore the default values.
      
      	"Standardized" the tool options UI:
      	- Put the stuff info a frame to give a hint that the dialog's
      	  contents will change.
      	- table layout, sensitive setting, spacings, borders, ...
      
      	As I had them all in my emacs simultaneously, I couldn't resist to
      	standardize the tools' *.c files declaration parts ;) Ansi stuff.
      f1b0a883
  9. 25 Dec, 1998 1 commit
  10. 14 Oct, 1998 1 commit
    • EDT 1998 Adrian Likins's avatar
      Lots of ii8n stuff here and some additions to the de.po. Applied · 25721826
      EDT 1998 Adrian Likins authored
      Wed Oct 14 17:46:15 EDT 1998 Adrian Likins <adrian@gimp.org>
      
              * app/*, po/de.po, de/POTFILES.in, libgimp/gimpintl.h:
              Lots of ii8n stuff here and some additions to the de.po.
              Applied gimp-egger-981005-1 ,gimp-egger-981006-1,
              gimp-egger-981007-1, gimp-egger-981008-1,
              gimp-egger-981009-1.patch, gimp-egger-981010-1.patch
      
              * plug-in/guillotine/guillotine.c: added the coordinates
              of the split images from the original image to the title.
              ie foo.jpg (0,0) for the image in the topleft.
      
              * plug-in/script-fu/scripts/neon-logo.scm,
              perspective-shadow.scm, predator.scm,rendermap.scm,
              ripply-anim.scm, select_to_image.scm,swirltile.scm,
              xach-effect.scm: updated scripts to use new script-fu stuff
      
      wooo boy! a big un!
      
      	in testing this, it looks like some of the po files are busted.
      but the code stuff seems okay.
      
      -adrian
      25721826
  11. 29 Jun, 1998 1 commit
  12. 13 Apr, 1998 1 commit
  13. 31 Mar, 1998 1 commit
    • EST 1998 Matthew Wilson's avatar
      app/gimage.c app/tools.c Added a field in the Tools struct, preserve. · 7dcd8e85
      EST 1998 Matthew Wilson authored
      Tue Mar 31 02:21:15 EST 1998 Matthew Wilson <msw@gimp.org>
      
      	* app/gimage.c
      	* app/tools.c
      	* app/tools.h: Added a field in the Tools struct, preserve.
      	During gimage_dirty, if this flag is not set the tool will be
      	reset.  This is good for tools that keep a copy of the image
      	in cache for local manipulation like transform_core.
      
      	* app/bezier_select.c
      	* app/blend.c
      	* app/brightness_contrast.c
      	* app/bucket_fill.c
      	* app/color_balance.c
      	* app/color_picker.c
      	* app/crop.c
      	* app/curves.c
      	* app/ellipse_select.c
      	* app/free_select.c
      	* app/histogram_tool.c
      	* app/hue_saturation.c
      	* app/levels.c
      	* app/move.c
      	* app/paint_core.c
      	* app/posterize.c
      	* app/rect_select.c
      	* app/text_tool.c
      	* app/transform_core.c: Set the preserve flag to the correct
      	values in the new functions and wrapped calls to functions that
      	dirty the gimage to prevent tool restarts.
      
      	* app/disp_callbacks.c
      	* app/menus.c: Removed Nether's tool patch.
      
      --phew.  Matt
      7dcd8e85
  14. 24 Nov, 1997 1 commit