mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
5437f54a81
2002-03-08 Michael Natterer <mitch@gimp.org> * app/core/gimpchannel.[ch]: changed gimp_channel_get_color() to not return the color but take a second GimpRGB* parameter like all other _get_color() functions. Reordered some functions to make more sense, added some g_return_if_fail(). * app/core/gimppalette.[ch]: added gimp_palette_[set|get]_n_columns() * app/gui/menus.c: added a "<PaletteEditor>" item factory. * app/gui/Makefile.am * app/gui/palette-editor-commands.[ch]: callbacks for the factory. * app/widgets/gimppaletteeditor.[ch]: removed the menu stuff here, added a spinbutton to adjust the number of columns. * app/gui/gradient-editor-commands.c: removed usage of "the_gimp". * app/widgets/gimpgradienteditor.c: minor cleanup. * app/widgets/gimpbrusheditor.h * app/widgets/gimpgradienteditor.h * app/widgets/gimppaletteeditor.h: forgot to declare the _get_type() functions publically.
38 lines
1.7 KiB
C
38 lines
1.7 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 __PALETTE_EDITOR_COMMANDS_H__
|
|
#define __PALETTE_EDITOR_COMMANDS_H__
|
|
|
|
|
|
void palette_editor_new_color_cmd_callback (GtkWidget *widget,
|
|
gpointer data,
|
|
guint action);
|
|
void palette_editor_edit_color_cmd_callback (GtkWidget *widget,
|
|
gpointer data,
|
|
guint action);
|
|
void palette_editor_delete_color_cmd_callback (GtkWidget *widget,
|
|
gpointer data,
|
|
guint action);
|
|
|
|
void palette_editor_menu_update (GtkItemFactory *factory,
|
|
gpointer data);
|
|
|
|
|
|
#endif /* __PALETTE_EDITOR_COMMANDS_H__ */
|