• Sven Neumann's avatar
    enabled the (commented out) signal "invalidate_preview". · b101e7bc
    Sven Neumann authored
    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
    b101e7bc
Name
Last commit
Last update
..
actions Loading commit data...
base Loading commit data...
core Loading commit data...
dialogs Loading commit data...
display Loading commit data...
gui Loading commit data...
menus Loading commit data...
paint Loading commit data...
paint-funcs Loading commit data...
plug-in Loading commit data...
tools Loading commit data...
unittest Loading commit data...
widgets Loading commit data...
xcf Loading commit data...
.cvsignore Loading commit data...
Makefile.am Loading commit data...
TODO Loading commit data...
about_dialog.c Loading commit data...
about_dialog.h Loading commit data...
airbrush.c Loading commit data...
airbrush.h Loading commit data...
airbrush_blob.c Loading commit data...
airbrush_blob.h Loading commit data...
app_procs.c Loading commit data...
app_procs.h Loading commit data...
appenv.h Loading commit data...
apptypes.h Loading commit data...
asupsample.c Loading commit data...
asupsample.h Loading commit data...
batch.c Loading commit data...
batch.h Loading commit data...
bezier_select.c Loading commit data...
bezier_select.h Loading commit data...
bezier_selectP.h Loading commit data...
blend.c Loading commit data...
blend.h Loading commit data...
blob.c Loading commit data...
blob.h Loading commit data...
boundary.c Loading commit data...
boundary.h Loading commit data...
boundaryF.h Loading commit data...
brightness_contrast.c Loading commit data...
brightness_contrast.h Loading commit data...
brush_edit.c Loading commit data...
brush_edit.h Loading commit data...
brush_header.h Loading commit data...
brush_scale.c Loading commit data...
brush_scale.h Loading commit data...
brush_select.c Loading commit data...
brush_select.h Loading commit data...
brush_select_cmds.c Loading commit data...
brushes_cmds.c Loading commit data...
bucket_fill.c Loading commit data...
bucket_fill.h Loading commit data...
by_color_select.c Loading commit data...
by_color_select.h Loading commit data...
channel.c Loading commit data...
channel.h Loading commit data...
channel_cmds.c Loading commit data...
channel_ops.c Loading commit data...
channel_ops.h Loading commit data...
channel_ops_cmds.c Loading commit data...
channel_pvt.h Loading commit data...
channels_dialog.c Loading commit data...
channels_dialog.h Loading commit data...
clone.c Loading commit data...
clone.h Loading commit data...
color_area.c Loading commit data...
color_area.h Loading commit data...
color_balance.c Loading commit data...
color_balance.h Loading commit data...
color_cmds.c Loading commit data...
color_notebook.c Loading commit data...
color_notebook.h Loading commit data...
color_panel.c Loading commit data...
color_panel.h Loading commit data...
color_picker.c Loading commit data...
color_picker.h Loading commit data...
color_select.c Loading commit data...
color_select.h Loading commit data...
color_transfer.c Loading commit data...
color_transfer.h Loading commit data...
colormap_dialog.c Loading commit data...
colormap_dialog.gc Loading commit data...
colormap_dialog.h Loading commit data...
colormap_dialog.i.c Loading commit data...
colormap_dialog.i.h Loading commit data...
colormap_dialog.p.h Loading commit data...
colormap_dialog.t.h Loading commit data...
colormaps.c Loading commit data...
colormaps.h Loading commit data...
commands.c Loading commit data...
commands.h Loading commit data...
context_manager.c Loading commit data...
context_manager.h Loading commit data...
convert.c Loading commit data...
convert.h Loading commit data...
convert_cmds.c Loading commit data...
convolve.c Loading commit data...
convolve.h Loading commit data...
crop.c Loading commit data...
crop.h Loading commit data...
cursorutil.c Loading commit data...
cursorutil.h Loading commit data...
curves.c Loading commit data...
curves.h Loading commit data...
datafiles.c Loading commit data...
datafiles.h Loading commit data...
desaturate.c Loading commit data...
desaturate.h Loading commit data...
devices.c Loading commit data...
devices.h Loading commit data...
dialog_handler.c Loading commit data...
dialog_handler.h Loading commit data...
dialog_types.h Loading commit data...
disp_callbacks.c Loading commit data...
disp_callbacks.h Loading commit data...
docindex.c Loading commit data...
docindex.h Loading commit data...
dodgeburn.c Loading commit data...
dodgeburn.h Loading commit data...
draw_core.c Loading commit data...
draw_core.h Loading commit data...
drawable.c Loading commit data...
drawable.h Loading commit data...
drawable_cmds.c Loading commit data...
drawable_pvt.h Loading commit data...
edit_cmds.c Loading commit data...
edit_selection.c Loading commit data...
edit_selection.h Loading commit data...
ellipse_select.c Loading commit data...
ellipse_select.h Loading commit data...
equalize.c Loading commit data...
equalize.h Loading commit data...
eraser.c Loading commit data...
eraser.h Loading commit data...
errorconsole.c Loading commit data...
errorconsole.h Loading commit data...
errors.c Loading commit data...
errors.h Loading commit data...
file_new_dialog.c Loading commit data...
file_new_dialog.h Loading commit data...
fileops.c Loading commit data...
fileops.h Loading commit data...
fileopsP.h Loading commit data...
fileops_cmds.c Loading commit data...
flip_tool.c Loading commit data...
flip_tool.h Loading commit data...
floating_sel.c Loading commit data...
floating_sel.h Loading commit data...
floating_sel_cmds.c Loading commit data...
free_select.c Loading commit data...
free_select.h Loading commit data...
fsdither.h Loading commit data...
fuzzy_select.c Loading commit data...
fuzzy_select.h Loading commit data...
gdisplay.c Loading commit data...
gdisplay.h Loading commit data...
gdisplayF.h Loading commit data...
gdisplayP.h Loading commit data...
gdisplay_cmds.c Loading commit data...
gdisplay_color.c Loading commit data...
gdisplay_color.h Loading commit data...
gdisplay_color_ui.c Loading commit data...
gdisplay_color_ui.h Loading commit data...
gdisplay_ops.c Loading commit data...
gdisplay_ops.h Loading commit data...
general.c Loading commit data...
general.h Loading commit data...
gimage.c Loading commit data...
gimage.h Loading commit data...
gimage_cmds.c Loading commit data...
gimage_mask.c Loading commit data...
gimage_mask.h Loading commit data...
gimage_mask_cmds.c Loading commit data...
gimp.gh Loading commit data...
gimp.rc Loading commit data...
gimp.sym Loading commit data...
gimpbrush-header.h Loading commit data...
gimpbrush.c Loading commit data...
gimpbrush.h Loading commit data...
gimpbrushgenerated.c Loading commit data...
gimpbrushgenerated.h Loading commit data...
gimpbrushhose.c Loading commit data...
gimpbrushhose.h Loading commit data...
gimpbrushlist.c Loading commit data...
gimpbrushlist.h Loading commit data...
gimpbrushlistF.h Loading commit data...
gimpbrushlistP.h Loading commit data...
gimpbrushpipe.c Loading commit data...
gimpbrushpipe.h Loading commit data...
gimpbrushpipeP.h Loading commit data...
gimpchannel.c Loading commit data...
gimpchannel.h Loading commit data...
gimpcontext.c Loading commit data...
gimpcontext.h Loading commit data...
gimpcontextpreview.c Loading commit data...
gimpcontextpreview.h Loading commit data...
gimpdnd.c Loading commit data...
gimpdnd.h Loading commit data...
gimpdrawable-desaturate.c Loading commit data...
gimpdrawable-desaturate.h Loading commit data...
gimpdrawable-equalize.c Loading commit data...
gimpdrawable-equalize.h Loading commit data...
gimpdrawable-invert.c Loading commit data...
gimpdrawable-invert.h Loading commit data...
gimpdrawable-offset.c Loading commit data...
gimpdrawable-offset.h Loading commit data...
gimpdrawable.c Loading commit data...
gimpdrawable.h Loading commit data...
gimpdrawableF.h Loading commit data...
gimpdrawableP.h Loading commit data...
gimphelp.c Loading commit data...
gimphelp.h Loading commit data...
gimphelp_cmds.c Loading commit data...
gimphistogram.c Loading commit data...
gimphistogram.h Loading commit data...
gimphistogramF.h Loading commit data...
gimphistogramP.h Loading commit data...
gimpimage-convert.c Loading commit data...
gimpimage-convert.h Loading commit data...
gimpimage-duplicate.c Loading commit data...
gimpimage-duplicate.h Loading commit data...
gimpimage.c Loading commit data...
gimpimage.h Loading commit data...
gimpimageF.h Loading commit data...
gimpimageP.h Loading commit data...
gimplayer.c Loading commit data...
gimplayer.h Loading commit data...
gimplist.c Loading commit data...
gimplist.h Loading commit data...
gimplistF.h Loading commit data...
gimplistP.h Loading commit data...
gimplut.c Loading commit data...
gimplut.h Loading commit data...
gimplutF.h Loading commit data...
gimplutP.h Loading commit data...
gimpobject.c Loading commit data...
gimpobject.h Loading commit data...
gimpobjectF.h Loading commit data...
gimpobjectP.h Loading commit data...
gimpparasite.c Loading commit data...
gimpparasite.h Loading commit data...
gimppattern-header.h Loading commit data...
gimppreviewcache.c Loading commit data...
gimppreviewcache.h Loading commit data...
gimpprogress.c Loading commit data...
gimpprogress.h Loading commit data...
gimprc.c Loading commit data...
gimprc.h Loading commit data...
gimprc_cmds.c Loading commit data...
gimpset.c Loading commit data...
gimpset.h Loading commit data...
gimpsetF.h Loading commit data...
gimpsetP.h Loading commit data...
gimpsignal.c Loading commit data...
gimpsignal.h Loading commit data...
gimpui.c Loading commit data...
gimpui.h Loading commit data...
gimpunit.c Loading commit data...
global_edit.c Loading commit data...
global_edit.h Loading commit data...
gradient.c Loading commit data...
gradient.h Loading commit data...
gradientP.h Loading commit data...
gradient_cmds.c Loading commit data...
gradient_editor.c Loading commit data...
gradient_editor.h Loading commit data...
gradient_header.h Loading commit data...
gradient_select.c Loading commit data...
gradient_select.h Loading commit data...
gradient_select_cmds.c Loading commit data...
gtkhwrapbox.c Loading commit data...
gtkhwrapbox.h Loading commit data...
gtkvwrapbox.c Loading commit data...
gtkvwrapbox.h Loading commit data...
gtkwrapbox.c Loading commit data...
gtkwrapbox.h Loading commit data...
guides_cmds.c Loading commit data...
gximage.c Loading commit data...
gximage.h Loading commit data...
histogram_tool.c Loading commit data...
histogram_tool.h Loading commit data...
histogramwidget.c Loading commit data...
histogramwidget.h Loading commit data...
hue_saturation.c Loading commit data...
hue_saturation.h Loading commit data...
image_map.c Loading commit data...
image_map.h Loading commit data...
image_new.c Loading commit data...
image_new.h Loading commit data...
image_render.c Loading commit data...
image_render.h Loading commit data...
indicator_area.c Loading commit data...
indicator_area.h Loading commit data...
info_dialog.c Loading commit data...
info_dialog.h Loading commit data...
info_window.c Loading commit data...
info_window.h Loading commit data...
ink.c Loading commit data...
ink.h Loading commit data...
interface.c Loading commit data...
interface.h Loading commit data...
interface_cmds.c Loading commit data...
internal_procs.c Loading commit data...
internal_procs.h Loading commit data...
invert.c Loading commit data...
invert.h Loading commit data...
iscissors.c Loading commit data...
iscissors.h Loading commit data...
layer.c Loading commit data...
layer.h Loading commit data...
layerF.h Loading commit data...
layer_cmds.c Loading commit data...
layer_pvt.h Loading commit data...
layer_select.c Loading commit data...
layer_select.h Loading commit data...
layers_dialog.c Loading commit data...
layers_dialog.h Loading commit data...
layers_dialogP.h Loading commit data...
lc_dialog.c Loading commit data...
lc_dialog.h Loading commit data...
lc_dialogP.h Loading commit data...
levels.c Loading commit data...
levels.h Loading commit data...
lut_funcs.c Loading commit data...
lut_funcs.h Loading commit data...
magnify.c Loading commit data...
magnify.h Loading commit data...
main.c Loading commit data...
makefile.cygwin Loading commit data...
makefile.msc Loading commit data...
marching_ants.h Loading commit data...
measure.c Loading commit data...
measure.h Loading commit data...
menus.c Loading commit data...
menus.h Loading commit data...
misc_cmds.c Loading commit data...
module_db.c Loading commit data...
module_db.h Loading commit data...
move.c Loading commit data...
move.h Loading commit data...
nav_window.c Loading commit data...
nav_window.h Loading commit data...
ops_buttons.c Loading commit data...
ops_buttons.h Loading commit data...
paint_core.c Loading commit data...
paint_core.h Loading commit data...
paint_funcs.c Loading commit data...
paint_funcs.h Loading commit data...
paint_options.h Loading commit data...
paintbrush.c Loading commit data...
paintbrush.h Loading commit data...
palette.c Loading commit data...
palette.h Loading commit data...
paletteP.h Loading commit data...
palette_cmds.c Loading commit data...
palette_entries.h Loading commit data...
palette_select.c Loading commit data...
palette_select.h Loading commit data...
parasite_cmds.c Loading commit data...
parasitelist.c Loading commit data...
parasitelist.h Loading commit data...
parasitelistF.h Loading commit data...
parasitelistP.h Loading commit data...
path.c Loading commit data...
path.h Loading commit data...
pathP.h Loading commit data...
path_bezier.c Loading commit data...
path_bezier.h Loading commit data...
path_curves.c Loading commit data...
path_curves.h Loading commit data...
path_tool.c Loading commit data...
path_tool.h Loading commit data...
path_toolP.h Loading commit data...
path_transform.h Loading commit data...
paths_cmds.c Loading commit data...
paths_dialog.c Loading commit data...
paths_dialog.h Loading commit data...
paths_dialogP.h Loading commit data...
pattern_header.h Loading commit data...
pattern_select.c Loading commit data...
pattern_select.h Loading commit data...
pattern_select_cmds.c Loading commit data...
patterns.c Loading commit data...
patterns.h Loading commit data...
patterns_cmds.c Loading commit data...
pencil.c Loading commit data...
pencil.h Loading commit data...
perspective_tool.c Loading commit data...
perspective_tool.h Loading commit data...
pixel_processor.c Loading commit data...
pixel_processor.h Loading commit data...
pixel_region.c Loading commit data...
pixel_region.h Loading commit data...
pixel_regionP.h Loading commit data...
pixmaps.h Loading commit data...
pixmaps2.h Loading commit data...
plug_in.c Loading commit data...
plug_in.h Loading commit data...
plug_in_cmds.c Loading commit data...
posterize.c Loading commit data...
posterize.h Loading commit data...
preferences_dialog.c Loading commit data...
preferences_dialog.h Loading commit data...
procedural_db.c Loading commit data...
procedural_db.h Loading commit data...
procedural_db_cmds.c Loading commit data...
qmask.c Loading commit data...
qmask.h Loading commit data...
rect_select.c Loading commit data...
rect_select.h Loading commit data...
rect_selectP.h Loading commit data...
regex.c Loading commit data...
regex.h Loading commit data...
regexrepl.c Loading commit data...
regexrepl.h Loading commit data...
resize.c Loading commit data...
resize.h Loading commit data...
rotate_tool.c Loading commit data...
rotate_tool.h Loading commit data...
scale.c Loading commit data...
scale.h Loading commit data...
scale_tool.c Loading commit data...
scale_tool.h Loading commit data...
scan_convert.c Loading commit data...
scan_convert.h Loading commit data...
scroll.c Loading commit data...
scroll.h Loading commit data...
selection.c Loading commit data...
selection.h Loading commit data...
selection_options.h Loading commit data...
session.c Loading commit data...
session.h Loading commit data...
shear_tool.c Loading commit data...
shear_tool.h Loading commit data...
smudge.c Loading commit data...
smudge.h Loading commit data...
temp_buf.c Loading commit data...
temp_buf.h Loading commit data...
text_tool.c Loading commit data...
text_tool.h Loading commit data...
text_tool_cmds.c Loading commit data...
threshold.c Loading commit data...
threshold.h Loading commit data...
tile.c Loading commit data...
tile.h Loading commit data...
tile_cache.c Loading commit data...
tile_cache.h Loading commit data...
tile_manager.c Loading commit data...
tile_manager.h Loading commit data...
tile_manager_pvt.h Loading commit data...
tile_pvt.h Loading commit data...
tile_swap.c Loading commit data...
tile_swap.h Loading commit data...
tips_dialog.c Loading commit data...
tips_dialog.h Loading commit data...
tool_options.c Loading commit data...
tool_options.h Loading commit data...
tools.c Loading commit data...
tools.h Loading commit data...
toolsF.h Loading commit data...
tools_cmds.c Loading commit data...
transform_core.c Loading commit data...
transform_core.h Loading commit data...
transform_tool.c Loading commit data...
transform_tool.h Loading commit data...
undo.c Loading commit data...
undo.h Loading commit data...
undo_cmds.c Loading commit data...
undo_history.c Loading commit data...
undo_types.h Loading commit data...
unit_cmds.c Loading commit data...
unitrc.h Loading commit data...
user_install.c Loading commit data...
user_install.h Loading commit data...
wilber.h Loading commit data...
wilber.ico Loading commit data...
xcf.c Loading commit data...
xcf.h Loading commit data...
xinput_airbrush.c Loading commit data...
xinput_airbrush.h Loading commit data...