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