2006-12-09 21:33:38 +00:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
2004-10-22 22:28:45 +00:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
2009-01-17 22:28:01 +00:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
2004-10-22 22:28:45 +00:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 22:28:01 +00:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
2004-10-22 22:28:45 +00:00
|
|
|
* (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
|
2009-01-17 22:28:01 +00:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2004-10-22 22:28:45 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LAYER_OPTIONS_DIALOG_H__
|
|
|
|
#define __LAYER_OPTIONS_DIALOG_H__
|
|
|
|
|
|
|
|
|
2016-10-21 22:54:10 +02:00
|
|
|
typedef void (* GimpLayerOptionsCallback) (GtkWidget *dialog,
|
|
|
|
GimpImage *image,
|
|
|
|
GimpLayer *layer,
|
|
|
|
GimpContext *context,
|
|
|
|
const gchar *layer_name,
|
|
|
|
GimpLayerModeEffects layer_mode,
|
|
|
|
gdouble layer_opacity,
|
|
|
|
GimpFillType layer_fill_type,
|
|
|
|
gint layer_width,
|
|
|
|
gint layer_height,
|
|
|
|
gint layer_offset_x,
|
|
|
|
gint layer_offset_y,
|
2016-10-23 22:45:08 +02:00
|
|
|
gboolean layer_visible,
|
|
|
|
gboolean layer_linked,
|
|
|
|
gboolean layer_lock_pixels,
|
|
|
|
gboolean layer_lock_position,
|
|
|
|
gboolean layer_lock_alpha,
|
2016-10-21 22:54:10 +02:00
|
|
|
gboolean rename_text_layer,
|
|
|
|
gpointer user_data);
|
2016-09-24 21:10:07 +02:00
|
|
|
|
|
|
|
|
|
|
|
GtkWidget * layer_options_dialog_new (GimpImage *image,
|
|
|
|
GimpLayer *layer,
|
|
|
|
GimpContext *context,
|
|
|
|
GtkWidget *parent,
|
|
|
|
const gchar *title,
|
|
|
|
const gchar *role,
|
|
|
|
const gchar *icon_name,
|
|
|
|
const gchar *desc,
|
|
|
|
const gchar *help_id,
|
|
|
|
const gchar *layer_name,
|
2016-10-21 22:54:10 +02:00
|
|
|
GimpLayerModeEffects layer_mode,
|
|
|
|
gdouble layer_opacity,
|
2016-09-24 21:10:07 +02:00
|
|
|
GimpFillType layer_fill_type,
|
|
|
|
GimpLayerOptionsCallback callback,
|
|
|
|
gpointer user_data);
|
2004-10-22 22:28:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* __LAYER_OPTIONS_DIALOG_H__ */
|