1 /* GIMP - The GNU Image Manipulation Program 2 * Copyright (C) 1995 Spencer Kimball and Peter Mattis 3 * 4 * This program is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program. If not, see <https://www.gnu.org/licenses/>. 16 */ 17 18 #ifndef __LAYER_OPTIONS_DIALOG_H__ 19 #define __LAYER_OPTIONS_DIALOG_H__ 20 21 22 typedef void (* GimpLayerOptionsCallback) (GtkWidget *dialog, 23 GimpImage *image, 24 GimpLayer *layer, 25 GimpContext *context, 26 const gchar *layer_name, 27 GimpLayerMode layer_mode, 28 GimpLayerColorSpace layer_blend_space, 29 GimpLayerColorSpace layer_composite_space, 30 GimpLayerCompositeMode layer_composite_mode, 31 gdouble layer_opacity, 32 GimpFillType layer_fill_type, 33 gint layer_width, 34 gint layer_height, 35 gint layer_offset_x, 36 gint layer_offset_y, 37 gboolean layer_visible, 38 gboolean layer_linked, 39 GimpColorTag layer_color_tag, 40 gboolean layer_lock_content, 41 gboolean layer_lock_position, 42 gboolean layer_lock_alpha, 43 gboolean rename_text_layer, 44 gpointer user_data); 45 46 47 GtkWidget * layer_options_dialog_new (GimpImage *image, 48 GimpLayer *layer, 49 GimpContext *context, 50 GtkWidget *parent, 51 const gchar *title, 52 const gchar *role, 53 const gchar *icon_name, 54 const gchar *desc, 55 const gchar *help_id, 56 const gchar *layer_name, 57 GimpLayerMode layer_mode, 58 GimpLayerColorSpace layer_blend_space, 59 GimpLayerColorSpace layer_composite_space, 60 GimpLayerCompositeMode layer_composite_mode, 61 gdouble layer_opacity, 62 GimpFillType layer_fill_type, 63 gboolean layer_visible, 64 gboolean layer_linked, 65 GimpColorTag layer_color_tag, 66 gboolean layer_lock_content, 67 gboolean layer_lock_position, 68 gboolean layer_lock_alpha, 69 GimpLayerOptionsCallback callback, 70 gpointer user_data); 71 72 73 #endif /* __LAYER_OPTIONS_DIALOG_H__ */ 74