gimp/app/core
Sven Neumann b101e7bc85 enabled the (commented out) signal "invalidate_preview".
2000-05-12  Sven Neumann  <sven@gimp.org>

* gimpdrawable.c: enabled the (commented out) signal
  "invalidate_preview".

* app/layers_dialog.c: connect to the "invalidate_preview"
  signal to catch changes that need to be shown in the layer
  previews. Synthetize an expose event when a layer changes.

  Expose events are optimzed away by GTK+ if the widget is not
  visible. Therefore, previews not visible in the layers_dialog
  are not redrawn when they invalidate. Later the preview gets
  validated by the image_preview in lc_dialog but is never
  propagated to the layer_pixmap. We work around this by using an
  additional flag "layer_pixmap_valid" so that the pixmap gets
  updated once the preview scrolls into sight.

  Fixes bugs #10549, #10300 and #8787.

* app/channel.[ch]
* app/layer.[ch]: code review and indentation


--Sven
2000-05-12 17:07:54 +00:00
..
gimp-edit.c add an "add_alpha" parameter to allow selected regions to be extracted 2000-03-26 18:39:03 +00:00
gimp-edit.h applied gimp-quinet-000308-0, gimp-quinet-000310-0 and gimp-quinet-000322-0 2000-03-24 14:54:59 +00:00
gimp-parasites.c s/"Fill Options"/"Fill Type"/ 2000-03-02 02:23:26 +00:00
gimp-parasites.h made parasites use g* types and documented gimpchainbutton 2000-02-12 02:16:59 +00:00
gimpbrush-header.h added a G_PI_2 1999-08-16 03:43:48 +00:00
gimpbrush-load.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrush.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrush.h app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushgenerated-load.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushgenerated-save.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushgenerated.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushgenerated.h app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushpipe-load.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushpipe.c app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpbrushpipe.h app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] 2000-02-24 11:39:26 +00:00
gimpchannel-combine.c enabled the (commented out) signal "invalidate_preview". 2000-05-12 17:07:54 +00:00
gimpchannel-combine.h enabled the (commented out) signal "invalidate_preview". 2000-05-12 17:07:54 +00:00
gimpchannel.c enabled the (commented out) signal "invalidate_preview". 2000-05-12 17:07:54 +00:00
gimpchannel.h enabled the (commented out) signal "invalidate_preview". 2000-05-12 17:07:54 +00:00
gimpcontext.c it's more intelligent to implement the parent_context stuff with 2000-02-22 17:06:44 +00:00
gimpcontext.h it's more intelligent to implement the parent_context stuff with 2000-02-22 17:06:44 +00:00
gimpdatafiles.c Add gimp_ui_init. 2000-04-23 20:27:41 +00:00
gimpdatafiles.h app/color_area.[ch] pass masks for the "default" and "swap" pixmaps to the 2000-02-22 15:14:54 +00:00
gimpdrawable-blend.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpdrawable-desaturate.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpdrawable-desaturate.h app/commands.c app/desaturate.[ch] no need to pass the image as a void 1999-07-27 02:41:34 +00:00
gimpdrawable-equalize.c mostly header cleanup and i18n 2000-01-31 23:59:05 +00:00
gimpdrawable-equalize.h app/commands.c app/desaturate.[ch] no need to pass the image as a void 1999-07-27 02:41:34 +00:00
gimpdrawable-invert.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpdrawable-invert.h moved a bunch of PDB stuff here 1999-04-21 05:39:57 +00:00
gimpdrawable-offset.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpdrawable-offset.h get rid of remaining (invisible) layers after merging visible layers 1999-10-24 13:26:30 +00:00
gimpdrawable.c enabled the (commented out) signal "invalidate_preview". 2000-05-12 17:07:54 +00:00
gimpdrawable.h added 2000 to the copyrights 2000-02-17 11:44:27 +00:00
gimpedit.c add an "add_alpha" parameter to allow selected regions to be extracted 2000-03-26 18:39:03 +00:00
gimpedit.h applied gimp-quinet-000308-0, gimp-quinet-000310-0 and gimp-quinet-000322-0 2000-03-24 14:54:59 +00:00
gimpimage-convert-fsdither.h ed Sep 1 21:27:27 BST 1999 Adam D. Moss <adam@gimp.org> 1999-09-01 20:41:10 +00:00
gimpimage-convert.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpimage-convert.h More context & dnd stuff... 1999-10-28 15:05:49 +00:00
gimpimage-duplicate.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpimage-duplicate.h get rid of remaining (invisible) layers after merging visible layers 1999-10-24 13:26:30 +00:00
gimpimage-guides.c Copy the name, tatto and parasites of the bottom layer to the new merged 2000-05-12 01:14:21 +00:00
gimpimage-guides.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-mask.c Fix the end of group check in gimage_mask_stroke. This fixes bug #8699 2000-04-29 22:00:27 +00:00
gimpimage-mask.h add an "add_alpha" parameter to allow selected regions to be extracted 2000-03-26 18:39:03 +00:00
gimpimage-merge.c Copy the name, tatto and parasites of the bottom layer to the new merged 2000-05-12 01:14:21 +00:00
gimpimage-merge.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-projection.c Copy the name, tatto and parasites of the bottom layer to the new merged 2000-05-12 01:14:21 +00:00
gimpimage-projection.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-qmask.c app/color_panel.[ch] app/color_picker.c removed the public function 2000-04-03 15:40:30 +00:00
gimpimage-quick-mask.c app/color_panel.[ch] app/color_picker.c removed the public function 2000-04-03 15:40:30 +00:00
gimpimage-resize.c Copy the name, tatto and parasites of the bottom layer to the new merged 2000-05-12 01:14:21 +00:00
gimpimage-resize.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-scale.c Copy the name, tatto and parasites of the bottom layer to the new merged 2000-05-12 01:14:21 +00:00
gimpimage-scale.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimage-undo-push.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimpimage-undo-push.h app/undo.h app/undo.c app/undo_history.c pixmaps/question.xpm 1999-11-02 23:05:55 +00:00
gimpimage.c Copy the name, tatto and parasites of the bottom layer to the new merged 2000-05-12 01:14:21 +00:00
gimpimage.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpimagemap.c new function image_map_clear that removes the preview without freeing the 2000-05-09 05:43:29 +00:00
gimpimagemap.h new function image_map_clear that removes the preview without freeing the 2000-05-09 05:43:29 +00:00
gimplayer-floating-sel.c app/color_select.c app/colormaps.[ch] removed unused global variables 2000-04-27 17:27:28 +00:00
gimplayer-floating-sel.h Header file tweaks. Now changing tile.h doesn't force about_dialog to 1998-08-16 00:34:20 +00:00
gimplayer.c enabled the (commented out) signal "invalidate_preview". 2000-05-12 17:07:54 +00:00
gimplayer.h enabled the (commented out) signal "invalidate_preview". 2000-05-12 17:07:54 +00:00
gimplist.c fixed a memleak. 2000-02-24 01:52:31 +00:00
gimplist.h ---------------------------------------------------------------------- 1998-07-12 11:40:43 +00:00
gimpobject.c plugged more memleaks 1999-11-06 18:19:41 +00:00
gimpobject.h Modified Files: ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c 1998-07-09 05:31:06 +00:00
gimpparasite.c s/"Fill Options"/"Fill Type"/ 2000-03-02 02:23:26 +00:00
gimpparasite.h made parasites use g* types and documented gimpchainbutton 2000-02-12 02:16:59 +00:00
gimpparasitelist.c some small fixes and the new GAP VCR Navigator 2000-01-10 23:27:25 +00:00
gimpparasitelist.h *** empty log message *** 1999-04-13 00:46:11 +00:00
gimppattern-header.h added a G_PI_2 1999-08-16 03:43:48 +00:00
gimppreviewcache.c version number bump; add check for standalone gtkxmhtml from Sesse 1999-11-24 23:58:46 +00:00
gimppreviewcache.h app/nav_window.c app/nav_window.h app/gimppreviewcache.h app/layer.c 1999-08-27 19:07:21 +00:00
gimpprojection-construct.c Copy the name, tatto and parasites of the bottom layer to the new merged 2000-05-12 01:14:21 +00:00
gimpprojection-construct.h gimp_drawable_get_color_at() now silently returns NULL again if the 2000-03-09 11:58:03 +00:00
gimpprojection.c oops, forgot a debugging g_print(). 2000-05-08 21:20:53 +00:00
gimpprojection.h app/gdisplay.[ch] made the warning_dialog a per-display variable. The old 2000-04-26 21:04:35 +00:00
gimpscanconvert.c win32 purification, rgb<->hsv remove 2000-02-07 15:49:54 +00:00
gimpscanconvert.h NEW FILES: app/scan_convert.c common code from free_select.c and 1999-10-04 05:51:40 +00:00
gimptooloptions.c app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale 2000-04-20 15:57:13 +00:00
gimptooloptions.h app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c 1999-04-12 17:55:06 +00:00
gimpunit.c gimprc.in replaced "color-cube" by "min-colors". 2000-04-30 18:17:55 +00:00
gimpunit.h This implements the rest of the unit system (unitrc loading and saving and 1999-03-16 20:14:07 +00:00