2006-12-09 13:33:38 -08:00
|
|
|
/* GIMP - The GNU Image Manipulation Program
|
1997-11-24 14:05:25 -08:00
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
|
*
|
2009-01-17 14:28:01 -08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
1997-11-24 14:05:25 -08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-17 14:28:01 -08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
1997-11-24 14:05:25 -08: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
|
2018-07-11 14:47:19 -07:00
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
1997-11-24 14:05:25 -08:00
|
|
|
*/
|
2000-12-29 07:22:01 -08:00
|
|
|
|
2001-06-04 16:27:38 -07:00
|
|
|
#ifndef __RESIZE_DIALOG_H__
|
|
|
|
|
#define __RESIZE_DIALOG_H__
|
1997-11-24 14:05:25 -08:00
|
|
|
|
1999-05-02 07:24:54 -07:00
|
|
|
|
2006-05-19 07:50:46 -07:00
|
|
|
typedef void (* GimpResizeCallback) (GtkWidget *dialog,
|
|
|
|
|
GimpViewable *viewable,
|
2016-09-24 06:07:04 -07:00
|
|
|
GimpContext *context,
|
2006-05-19 07:50:46 -07:00
|
|
|
gint width,
|
|
|
|
|
gint height,
|
|
|
|
|
GimpUnit unit,
|
|
|
|
|
gint offset_x,
|
|
|
|
|
gint offset_y,
|
2016-10-19 15:30:10 -07:00
|
|
|
GimpFillType fill_type,
|
2006-05-19 07:50:46 -07:00
|
|
|
GimpItemSet layer_set,
|
2012-09-05 14:26:54 -07:00
|
|
|
gboolean resize_text_layers,
|
2006-05-19 07:50:46 -07:00
|
|
|
gpointer user_data);
|
2004-10-27 03:33:08 -07:00
|
|
|
|
|
|
|
|
|
2006-05-19 07:50:46 -07:00
|
|
|
GtkWidget * resize_dialog_new (GimpViewable *viewable,
|
2006-09-01 04:26:54 -07:00
|
|
|
GimpContext *context,
|
2006-05-19 07:50:46 -07:00
|
|
|
const gchar *title,
|
|
|
|
|
const gchar *role,
|
|
|
|
|
GtkWidget *parent,
|
|
|
|
|
GimpHelpFunc help_func,
|
|
|
|
|
const gchar *help_id,
|
|
|
|
|
GimpUnit unit,
|
2016-10-19 15:30:10 -07:00
|
|
|
GimpFillType fill_type,
|
|
|
|
|
GimpItemSet layer_set,
|
|
|
|
|
gboolean resize_text_layers,
|
2006-05-19 07:50:46 -07:00
|
|
|
GimpResizeCallback callback,
|
|
|
|
|
gpointer user_data);
|
2000-12-29 07:22:01 -08:00
|
|
|
|
2000-02-26 10:46:08 -08:00
|
|
|
|
2001-06-04 16:27:38 -07:00
|
|
|
#endif /* __RESIZE_DIALOG_H__ */
|