1. 23 Jun, 1999 1 commit
    • BST 1999 Andy Thomas's avatar
      gimp/app/gimppreviewcache.c gimp/app/gimppreviewcache.h · 9b7d21da
      BST 1999 Andy Thomas authored
      
      Wed Jun 23 23:52:54 BST 1999 Andy Thomas <alt@gimp.org>
      
      	* gimp/app/gimppreviewcache.c
      	* gimp/app/gimppreviewcache.h
      	* gimp/app/drawable_cmds.c
      	* gimp/app/gdisplay.c
      	* gimp/app/gimpdrawableP.h
      	* gimp/app/gimage_cmds.c
      	* gimp/app/Makefile.am
      	* gimp/app/layers_dialog.c
      	* gimp/app/channel.c
      	* gimp/app/lc_dialog.c
      	* gimp/app/lc_dialog.h
      	* gimp/app/lc_dialogP.h
      	* gimp/app/layer.c
      	* gimp/app/gimpdrawable.c
      	* gimp/app/internal_procs.c
      	* gimp/libgimp/gimp.h
      	* gimp/libgimp/gimpimage.c
      	* gimp/libgimp/gimpdrawable.c
      	* gimp/libgimp/gimpmenu.c
      	* gimp/tools/pdbgen/pdb/drawable.pdb
      	* gimp/tools/pdbgen/pdb/gimage.pdb
      
      	Added thumbnail image preview functions.
      	Previews are visible on the L&C&P dialogs as well as in the
      	drawables/channels/ menus generated for plugins
      	(see the bumpmap & Mapobject plugins).
      
      	PDB interface exists to simply extract a thumbnail preview
      	of a given size. This is much quicker & more efficient
      	than getting the image data tile-by-tile if you only need a small
      	image since a "preview cache" has been implemented. This cache also
      	reduces the number of times the tiles cached is scanned since smaller
      	previews are always generated from large ones if they exists and
      	are valid.
      
      	Some possible usages (I don't intend to implement these ideas. Just
      	suggestions). More plugins using the thumbnail preview (ie any that
      	use multiple images). Indication of "active image" somewhere.....
      	Actually almost anywhere a drawable/image name appears.
      9b7d21da
  2. 06 Jun, 1999 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/lc_dialog.[ch] app/lc_dialogP.h new files · ac98e8fa
      Michael Natterer authored
      1999-06-06  Michael Natterer  <mitschel@cs.tu-berlin.de>
      
      	* app/Makefile.am
      	* app/lc_dialog.[ch]
      	* app/lc_dialogP.h
      	* app/paths_dialogP.h: new files
      
      	* app/channels_dialog.[ch]
      	* app/layers_dialog.[ch]
      	* app/layers_dialogP.h
      	* app/paths_dialog.[ch]
      	* app/menus.[ch]
      	* app/file_new_dialog.c: modified
      
      	- Moved the toplevel L&C dialog code to lc_dialog.[ch]. Only
      	  these files need knowledge about how to create/update/...
      	  the sub-dialogs, so the corresp. functions are defined in
      	  lc_dialogP.h.
      	- The popup menus are now created by menus.c. The command
      	  callbacks are defined in [layers|channels|paths]_dialog.h.
      	- Private functions to be used by "friend files" are defined in
      	  [layers|paths]_dialogP.h.
      	- Changed the order of the ops_buttons in the paths dialog to
      	  match the order in the layers and channels dialogs.
      	- The paint mode menu and preview stuff still needs to go out of
      	  layers_dialog.[ch].
      	- I'm not sure about the keybindings in the layer dialog's "Stack"
      	  submenu because the list widget has it's own idea of PageUp/Down.
      	- Hopefully fixed the update problem with new images by calling
      	  lc_dialog_flush() after creating a new image.
      
      	* app/app_procs.c
      	* app/bezier_select.c
      	* app/commands.c
      	* app/floating_sel.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/paint_core.c
      	* app/preferences_dialog.c
      	* app/transform_core.c
      	* app/undo.c: changed #include's according to the new L&C file
      	structure.
      ac98e8fa
  3. 27 Apr, 1999 1 commit
  4. 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
  5. 08 Apr, 1999 2 commits
    • 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
    • Sven Neumann's avatar
      Total crop-tool massacre. · 4dca1d56
      Sven Neumann authored
      
      --Sven
      4dca1d56
  6. 04 Dec, 1998 1 commit
  7. 13 Apr, 1998 1 commit
  8. 24 Nov, 1997 1 commit