gimp/app
Michael Natterer 663b44c988 new funtion which returns TRUE if any of the gradient's segments refer to
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.
2006-08-31 18:47:13 +00:00
..
actions Changed GimpViewable preview rendering to have a context to get 2006-08-29 21:44:51 +00:00
base libgimpbase/Makefile.am libgimpbase/gimpbase.h added new files that hold 2006-08-29 14:46:32 +00:00
composite moved declarations at the beginning of the functions. 2006-08-31 10:04:01 +00:00
config app/config/gimprc-blurbs.h app/dialogs/preferences-dialog.c string changes 2006-08-30 15:35:56 +00:00
core new funtion which returns TRUE if any of the gradient's segments refer to 2006-08-31 18:47:13 +00:00
dialogs app/config/gimprc-blurbs.h app/dialogs/preferences-dialog.c string changes 2006-08-30 15:35:56 +00:00
display Changed GimpViewable preview rendering to have a context to get 2006-08-29 21:44:51 +00:00
file added a GError parameter to file_utils_find_proc(). 2006-08-10 21:22:05 +00:00
gui updated 2006-08-15 15:13:08 +00:00
menus app/pdb/Makefile.am app/pdb/gimppluginprocedure.[ch] removed these 2006-08-05 21:21:01 +00:00
paint Changed GimpViewable preview rendering to have a context to get 2006-08-29 21:44:51 +00:00
paint-funcs
pdb Changed GimpViewable preview rendering to have a context to get 2006-08-29 21:44:51 +00:00
plug-in use gimp_message() if a plug-in crashes. 2006-08-29 11:08:31 +00:00
text Changed GimpViewable preview rendering to have a context to get 2006-08-29 21:44:51 +00:00
tools use italic style for the informative label. 2006-08-31 10:33:31 +00:00
vectors Changed GimpViewable preview rendering to have a context to get 2006-08-29 21:44:51 +00:00
widgets new funtion which returns TRUE if any of the gradient's segments refer to 2006-08-31 18:47:13 +00:00
xcf coding style. 2006-08-15 15:59:09 +00:00
.cvsignore
about.h
airbrush.c
app_procs.c
app_procs.h
batch.c
batch.h
errors.c app/core/gimp-gui.[ch] renamed gimp_message() to gimp_show_message() 2006-08-08 18:18:40 +00:00
errors.h use G_GNUC_PRINTF. 2006-07-16 10:31:37 +00:00
fileicon.ico
gimp-intl.h
gimp.rc
gimpcore.def updated 2006-08-15 15:13:08 +00:00
main.c
Makefile.am added $(SYMPREFIX) to the -u flags 2006-08-16 23:05:36 +00:00
makefile.msc
paint_core.h
paint_options.h
plug_in_cmds.c
sanity.c depend on glib >= 2.10.2, gtk+ >= 2.8.18 and pango >= 1.12.3. Define 2006-07-05 13:40:47 +00:00
sanity.h
transform_core.c
units.c
units.h
wilber.ico