mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
09536dbf37
2004-09-09 Michael Natterer <mitch@gimp.org> * app/gui/convert-dialog.[ch] (convert_dialog_new): changed GimpDisplay* parameter to GimpProgress* because that's what it's used for. * app/actions/image-commands.c (image_convert_cmd_callback): changed accordingly. * app/gui/convert-dialog.c: massively cleaned up internals. Use a GimpViewableButton + GimpContainerEntry combo as in text options for selecting the custom palette. Use a filtered container which contains only palettes with a maximum of 256 colors. Fixes bug #136574
29 lines
1.1 KiB
C
29 lines
1.1 KiB
C
/* The GIMP -- an 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 2 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, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __CONVERT_DIALOG_H__
|
|
#define __CONVERT_DIALOG_H__
|
|
|
|
|
|
GtkWidget * convert_dialog_new (GimpImage *gimage,
|
|
GtkWidget *parent,
|
|
GimpProgress *progress);
|
|
|
|
|
|
#endif /* __CONVERT_DIALOG_H__ */
|