mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 04:22:29 +00:00
c827d40a2c
2001-02-07 Michael Natterer <mitch@gimp.org> * app/gimpcontext.[ch]: added "set_by_type", "get_by_type" and "changed_by_type" methods which take a GtkType and decide from that if to manipulate the Brush, Pattern etc. * app/gimpcontainerview.[ch] * app/gimpcontainergridview.[ch] * app/gimpcontainerlistview.[ch]: added a GimpContext to the views which is used to manage the active item. * app/commands.c: pass the user_context to the test views. * app/gimpbrushpreview.c * app/gimppatternpreview.c * app/gimppreview.[ch]: added a virtual "needs_popup" method which returns a boolen indicating if the viewable is already fully visible. * app/gimage.[ch]: removed gimage_foreach() and some other functions which can easily be done be gimp_container_foreach(). Removed gimage_delete(). * app/fileops.c * app/gdisplay.c * app/lc_dialog.c * app/nav_window.c * app/palette_import.c * app/preferences_dialog.c * app/xcf.c * app/pdb/image_cmds.c * tools/pdbgen/pdb/image.pdb: changed accordingly. Switched from "disp_count" refcounting to real GtkObject refcounting for GimpImages.
43 lines
1.4 KiB
C
43 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 __GIMAGE_H__
|
|
#define __GIMAGE_H__
|
|
|
|
|
|
#include "gimpimage.h"
|
|
|
|
|
|
GImage * gimage_new (gint width,
|
|
gint height,
|
|
GimpImageBaseType base_type);
|
|
|
|
void gimage_set_layer_mask_apply (GImage *gimage,
|
|
GimpLayer *layer);
|
|
void gimage_set_layer_mask_edit (GImage *gimage,
|
|
GimpLayer *layer,
|
|
gboolean edit);
|
|
void gimage_set_layer_mask_show (GImage *gimage,
|
|
GimpLayer *layer);
|
|
|
|
|
|
extern guint32 next_guide_id;
|
|
|
|
|
|
#endif /* __GIMAGE_H__ */
|