When one of the line widget's properties changes, only update the blend tool filter if the property has an effect on the result. In particular, don't update the filter when only the selection changes.
49 lines
2.2 KiB
C
49 lines
2.2 KiB
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __GIMP_BLEND_TOOL_EDITOR_H__
|
|
#define __GIMP_BLEND_TOOL_EDITOR_H__
|
|
|
|
|
|
void gimp_blend_tool_editor_options_notify (GimpBlendTool *blend_tool,
|
|
GimpToolOptions *options,
|
|
const GParamSpec *pspec);
|
|
|
|
void gimp_blend_tool_editor_start (GimpBlendTool *blend_tool);
|
|
void gimp_blend_tool_editor_halt (GimpBlendTool *blend_tool);
|
|
|
|
gboolean gimp_blend_tool_editor_line_changed (GimpBlendTool *blend_tool);
|
|
|
|
void gimp_blend_tool_editor_fg_bg_changed (GimpBlendTool *blend_tool);
|
|
|
|
void gimp_blend_tool_editor_gradient_dirty (GimpBlendTool *blend_tool);
|
|
|
|
void gimp_blend_tool_editor_gradient_changed (GimpBlendTool *blend_tool);
|
|
|
|
const gchar * gimp_blend_tool_editor_can_undo (GimpBlendTool *blend_tool);
|
|
const gchar * gimp_blend_tool_editor_can_redo (GimpBlendTool *blend_tool);
|
|
|
|
gboolean gimp_blend_tool_editor_undo (GimpBlendTool *blend_tool);
|
|
gboolean gimp_blend_tool_editor_redo (GimpBlendTool *blend_tool);
|
|
|
|
void gimp_blend_tool_editor_start_edit (GimpBlendTool *blend_tool);
|
|
void gimp_blend_tool_editor_end_edit (GimpBlendTool *blend_tool,
|
|
gboolean cancel);
|
|
|
|
|
|
#endif /* __GIMP_BLEND_TOOL_EDITOR_H__ */
|