mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-21 03:52:33 +00:00
1ccb029ead
2001-09-02 Michael Natterer <mitch@gimp.org> * configure.in: added -DGDK_DISABLE_DEPRECATED. * app/gui/about-dialog.c * plug-ins/common/wmf.c * plug-ins/ifscompose/ifscompose_utils.c: #undef it here (too lazy...) * app/colormaps.[ch] * app/gdisplay.c * app/module_db.c * app/plug_in.c * app/gui/brush-editor.c * app/gui/color-notebook.c * app/gui/gradient-select.c * app/gui/palette-select.c * app/gui/paths-dialog.c * app/gui/select-commands.c * app/widgets/gimpdialogfactory.c * app/widgets/gimpdock.c * app/widgets/gimpdockbook.c: replaced deprecated stuff, g_list_free() the return value of gtk_container_get_children(). * plug-ins/Makefile.am: build gflare again. * plug-ins/gflare/asupsample.[ch]: removed because the same function is already in libgimpcolor. * plug-ins/gflare/gtkmultioptionmenu.[ch]: removed because Gtk+ handles menu_height > screen_height by scrolling now. * plug-ins/gflare/Makefile.am * plug-ins/gflare/gflare.c: changed accordingly, cleanups.
47 lines
1.4 KiB
C
47 lines
1.4 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 __COLORMAPS_H__
|
|
#define __COLORMAPS_H__
|
|
|
|
|
|
extern GdkVisual *g_visual;
|
|
extern GdkColormap *g_cmap;
|
|
|
|
/* Pixel values of black and white */
|
|
extern gulong g_black_pixel;
|
|
extern gulong g_gray_pixel;
|
|
extern gulong g_white_pixel;
|
|
extern gulong g_color_pixel;
|
|
|
|
/* Pixel values for guides */
|
|
extern gulong g_normal_guide_pixel;
|
|
extern gulong g_active_guide_pixel;
|
|
|
|
/* Colormap entries reserved for color cycled marching ants--optional */
|
|
extern gulong marching_ants_pixels[8];
|
|
|
|
|
|
gulong get_color (gint red,
|
|
gint green,
|
|
gint blue);
|
|
void get_standard_colormaps (void);
|
|
|
|
|
|
#endif /* __COLORMAPS_H__ */
|