mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
663b44c988
2006-08-31 Michael Natterer <mitch@gimp.org> * app/core/gimpgradient.[ch] (gimp_gradient_has_fg_bg_segments): new funtion which returns TRUE if any of the gradient's segments refer to FG of BG. (gimp_gradient_segment_get_left_color_type) (gimp_gradient_segment_set_left_color_type) (gimp_gradient_segment_get_right_color_type) (gimp_gradient_segment_set_right_color_type): new accessors for the new GimpGradientColor stuff. (gimp_gradient_segment_split_midpoint) (gimp_gradient_segment_range_flip) (gimp_gradient_segment_range_replicate): split, flip and replicate the segments' color_types too. * app/widgets/gimpviewrenderer.[ch]: added virtual functions ::set_context() and ::invalidate() and call them. * app/widgets/gimpviewrenderergradient.[ch]: implement the virtual functions. Connect to the context's "foreground-changed" and "background-changed" signals if the gradient contains FG or BG colors and invalidate the renderer whenever they change. * app/core/gimp-gradients.c: removed signal connections which invalidated the gradients on FG/BG changes of the user context. |
||
---|---|---|
.. | ||
actions | ||
base | ||
composite | ||
config | ||
core | ||
dialogs | ||
display | ||
file | ||
gui | ||
menus | ||
paint | ||
paint-funcs | ||
pdb | ||
plug-in | ||
text | ||
tools | ||
vectors | ||
widgets | ||
xcf | ||
.cvsignore | ||
about.h | ||
airbrush.c | ||
app_procs.c | ||
app_procs.h | ||
batch.c | ||
batch.h | ||
errors.c | ||
errors.h | ||
fileicon.ico | ||
gimp-intl.h | ||
gimp.rc | ||
gimpcore.def | ||
main.c | ||
Makefile.am | ||
makefile.msc | ||
paint_core.h | ||
paint_options.h | ||
plug_in_cmds.c | ||
sanity.c | ||
sanity.h | ||
transform_core.c | ||
units.c | ||
units.h | ||
wilber.ico |