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
..
2006-08-29 21:44:51 +00:00
2005-04-16 23:48:29 +00:00
2006-05-15 09:46:31 +00:00
2006-08-23 14:55:39 +00:00
2006-04-10 08:06:18 +00:00
2006-08-11 12:56:26 +00:00
2006-05-15 09:46:31 +00:00
2005-04-16 21:53:12 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-05-15 09:46:31 +00:00
2006-04-12 12:49:29 +00:00
2006-05-15 09:46:31 +00:00
2006-08-29 21:44:51 +00:00
2006-04-12 12:49:29 +00:00
2006-06-19 17:50:40 +00:00
2005-04-16 23:48:29 +00:00
2006-05-15 09:46:31 +00:00
2005-05-23 09:37:05 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2005-11-02 12:03:37 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2005-05-03 21:38:07 +00:00
2006-08-29 21:44:51 +00:00
2005-05-19 17:08:03 +00:00
2006-06-04 11:39:22 +00:00
2005-06-04 00:56:00 +00:00
2006-05-28 19:45:52 +00:00
2006-05-28 19:45:52 +00:00
2006-05-15 09:46:31 +00:00
2006-08-29 21:44:51 +00:00
2006-01-17 10:08:50 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-08-08 22:15:46 +00:00
2006-08-29 21:44:51 +00:00
2006-04-12 12:49:29 +00:00
2006-08-29 21:44:51 +00:00
2006-01-17 10:08:50 +00:00
2006-08-29 21:44:51 +00:00
2006-01-17 10:08:50 +00:00
2006-05-15 09:46:31 +00:00
2006-01-17 10:08:50 +00:00
2006-04-04 15:29:18 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-08-28 19:40:20 +00:00
2006-08-28 19:40:20 +00:00
2006-05-15 09:46:31 +00:00
2005-05-10 22:08:48 +00:00
2006-05-15 09:46:31 +00:00
2005-05-10 22:08:48 +00:00
2006-05-15 09:46:31 +00:00
2006-08-15 15:13:08 +00:00
2005-05-10 19:48:03 +00:00
2005-11-06 22:01:25 +00:00
2006-05-15 09:46:31 +00:00
2006-06-02 15:23:47 +00:00
2006-05-15 09:46:31 +00:00
2005-07-08 22:54:46 +00:00
2006-05-15 09:46:31 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-05-30 11:56:42 +00:00
2006-04-12 12:49:29 +00:00
2006-05-15 09:46:31 +00:00
2006-04-12 12:49:29 +00:00
2005-11-27 17:20:40 +00:00
2005-11-27 17:20:40 +00:00
2006-08-29 21:44:51 +00:00
2005-11-27 17:20:40 +00:00
2006-05-29 16:41:18 +00:00
2006-04-12 12:49:29 +00:00
2006-08-10 21:22:05 +00:00
2005-04-09 17:56:04 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-06-27 07:49:14 +00:00
2005-09-13 21:07:28 +00:00
2006-07-26 09:47:05 +00:00
2005-12-30 01:37:35 +00:00
2006-06-17 09:36:18 +00:00
2006-04-12 12:49:29 +00:00
2005-06-04 22:32:31 +00:00
2006-05-15 09:46:31 +00:00
2005-09-13 21:07:28 +00:00
2006-05-15 09:46:31 +00:00
2006-01-17 10:08:50 +00:00
2006-08-29 21:44:51 +00:00
2006-07-05 13:40:47 +00:00
2005-09-27 17:31:32 +00:00
2006-05-15 09:46:31 +00:00
2005-04-16 23:48:29 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2005-09-07 00:28:31 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2005-03-31 13:39:18 +00:00
2006-08-29 21:44:51 +00:00
2006-04-05 08:38:33 +00:00
2006-08-05 21:21:01 +00:00
2006-04-05 08:38:33 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2006-01-17 10:08:50 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-05-15 09:46:31 +00:00
2006-06-13 02:03:44 +00:00
2006-05-05 08:29:33 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2005-09-28 00:31:46 +00:00
2006-05-15 09:46:31 +00:00
2006-04-12 12:49:29 +00:00
2006-05-15 09:46:31 +00:00
2005-05-11 20:26:12 +00:00
2006-06-16 17:02:14 +00:00
2006-06-16 17:02:14 +00:00
2006-05-15 09:46:31 +00:00
2005-07-28 22:40:32 +00:00
2006-05-15 09:46:31 +00:00
2006-01-17 10:08:50 +00:00
2006-08-29 21:44:51 +00:00
2006-06-16 17:02:14 +00:00
2006-08-29 21:44:51 +00:00
2005-07-10 21:17:22 +00:00
2006-05-15 09:46:31 +00:00
2005-05-11 20:26:12 +00:00
2006-05-15 09:46:31 +00:00
2005-09-27 17:31:32 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2005-09-27 17:31:32 +00:00
2006-05-15 09:46:31 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2005-07-14 18:37:33 +00:00
2006-05-15 09:46:31 +00:00
2006-04-12 12:49:29 +00:00
2006-05-15 09:46:31 +00:00
2006-08-28 09:06:10 +00:00
2006-05-04 22:51:21 +00:00
2005-04-09 19:52:36 +00:00
2005-04-09 17:56:04 +00:00
2006-08-05 21:21:01 +00:00
2006-04-27 12:48:12 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-04-12 12:49:29 +00:00
2005-07-19 20:42:14 +00:00
2006-05-15 09:46:31 +00:00
2005-07-09 11:23:15 +00:00
2006-05-03 19:03:44 +00:00
2006-03-28 17:08:36 +00:00
2006-08-29 21:44:51 +00:00
2006-01-17 10:08:50 +00:00
2006-04-21 07:02:42 +00:00
2006-01-17 10:08:50 +00:00
2006-05-19 10:45:25 +00:00
2005-11-02 09:27:15 +00:00
2006-05-15 09:46:31 +00:00
2005-04-16 23:48:29 +00:00
2006-06-30 00:03:33 +00:00
2006-05-15 09:46:31 +00:00
2006-04-12 12:49:29 +00:00
2006-01-17 10:08:50 +00:00
2006-08-28 15:26:25 +00:00
2006-08-28 15:26:25 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-05-10 11:23:11 +00:00
2006-04-12 12:49:29 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-06-10 18:24:58 +00:00
2005-05-11 20:26:12 +00:00
2006-05-15 09:46:31 +00:00
2005-09-27 17:31:32 +00:00
2006-08-29 21:44:51 +00:00
2006-05-15 09:46:31 +00:00
2006-01-17 10:08:50 +00:00
2006-07-05 13:40:47 +00:00
2006-03-09 15:26:33 +00:00
2006-08-29 21:44:51 +00:00
2006-01-17 10:08:50 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-01-17 10:08:50 +00:00
2006-01-14 00:09:22 +00:00
2006-08-29 21:44:51 +00:00
2006-01-17 10:08:50 +00:00
2006-08-29 21:44:51 +00:00
2006-01-17 10:08:50 +00:00
2006-08-29 21:44:51 +00:00
2005-07-13 20:11:24 +00:00
2006-08-31 18:47:13 +00:00
2006-08-31 18:47:13 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-08-29 21:44:51 +00:00
2006-08-31 18:47:13 +00:00
2006-08-31 18:47:13 +00:00
2006-08-29 21:44:51 +00:00
2006-05-15 09:46:31 +00:00
2006-05-12 15:39:31 +00:00
2006-05-15 09:46:31 +00:00
2006-05-15 09:46:31 +00:00
2005-07-14 14:41:29 +00:00
2006-05-15 09:46:31 +00:00
2005-06-27 15:28:44 +00:00
2006-08-11 12:56:26 +00:00
2006-08-11 12:56:26 +00:00
2006-04-12 12:49:29 +00:00
2006-04-12 12:49:29 +00:00
2006-04-12 12:49:29 +00:00
2006-04-12 12:49:29 +00:00
2006-04-12 12:49:29 +00:00
2006-04-12 12:49:29 +00:00
2005-09-12 17:48:40 +00:00
2005-09-25 19:30:55 +00:00
2006-01-14 00:09:22 +00:00
2006-06-02 15:23:47 +00:00
2005-09-12 17:48:40 +00:00