1997-11-25 06:05:25 +08:00
|
|
|
/* 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
|
1998-04-13 13:44:11 +08:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-25 06:05:25 +08:00
|
|
|
*/
|
|
|
|
#ifndef __GIMAGE_H__
|
|
|
|
#define __GIMAGE_H__
|
|
|
|
|
1998-06-28 18:39:58 +08:00
|
|
|
#include "gimpimage.h"
|
|
|
|
/* icky.. this is temporary */
|
|
|
|
#include "gimpimageP.h"
|
|
|
|
|
|
|
|
typedef GimpImage GImage;
|
|
|
|
|
|
|
|
GImage*
|
|
|
|
gimage_new(int width, int height, GimpImageBaseType base_type);
|
|
|
|
|
|
|
|
GImage*
|
|
|
|
gimage_get_ID (gint ID);
|
|
|
|
|
|
|
|
void
|
|
|
|
gimage_delete (GImage *gimage);
|
|
|
|
|
|
|
|
void
|
|
|
|
gimage_invalidate_previews (void);
|
|
|
|
|
|
|
|
void
|
1998-06-30 09:14:36 +08:00
|
|
|
gimage_set_layer_mask_apply (GImage *gimage, GimpLayer* layer);
|
1998-06-28 18:39:58 +08:00
|
|
|
|
|
|
|
void
|
1998-06-30 09:14:36 +08:00
|
|
|
gimage_set_layer_mask_edit (GImage *gimage, GimpLayer * layer, int edit);
|
1998-06-28 18:39:58 +08:00
|
|
|
|
|
|
|
void
|
1998-06-30 09:14:36 +08:00
|
|
|
gimage_set_layer_mask_show (GImage *gimage, GimpLayer* layer);
|
|
|
|
|
|
|
|
void
|
|
|
|
gimage_foreach (GFunc func, gpointer user_data);
|
|
|
|
|
1998-06-28 18:39:58 +08:00
|
|
|
|
|
|
|
#define gimage_set_filename gimp_image_set_filename
|
Lots of ii8n stuff here and some additions to the de.po. Applied
Wed Oct 14 17:46:15 EDT 1998 Adrian Likins <adrian@gimp.org>
* app/*, po/de.po, de/POTFILES.in, libgimp/gimpintl.h:
Lots of ii8n stuff here and some additions to the de.po.
Applied gimp-egger-981005-1 ,gimp-egger-981006-1,
gimp-egger-981007-1, gimp-egger-981008-1,
gimp-egger-981009-1.patch, gimp-egger-981010-1.patch
* plug-in/guillotine/guillotine.c: added the coordinates
of the split images from the original image to the title.
ie foo.jpg (0,0) for the image in the topleft.
* plug-in/script-fu/scripts/neon-logo.scm,
perspective-shadow.scm, predator.scm,rendermap.scm,
ripply-anim.scm, select_to_image.scm,swirltile.scm,
xach-effect.scm: updated scripts to use new script-fu stuff
wooo boy! a big un!
in testing this, it looks like some of the po files are busted.
but the code stuff seems okay.
-adrian
1998-10-15 07:23:52 +08:00
|
|
|
#define gimage_set_resolution gimp_image_set_resolution
|
|
|
|
#define gimage_get_resolution gimp_image_get_resolution
|
Add default to Cancel button, remove unset GTK_RECEIVES_DEFAULT from
Sat Feb 20 16:12:33 CST 1999 Shawn T. Amundson <amundson@gimp.org>
* app/tips_dialog.c: Add default to Cancel button, remove
unset GTK_RECEIVES_DEFAULT from prev/next buttons (they
are like toolbar buttons), changed abreviated prev to
previous, prev/next button are now same size, cancel button
is in a button box. Added vboxes where necessary to prevent
prev/next and check button from filling vertically.
* app/app_procs.c: when splashscreen dialog is larger than the
logo, (due to huge font), center logo.
* app/file_new_dialog.c: patch from Marco Lamb <lm@geocities.com>
disallows resizing, changes vertical expanding of widgets to
not occur
* app/palette.c: patch from Marco Lamb <lm@geocities.com>. Makes
+/- buttons for zoom pixmaps (eventually, these can be replaced
with a magnifying glass with a little +/- I think), so that they
no longer expand as they did before. I modified his patch so it
did not create a misused toolbar. I did some other stuff here too,
moved Close button to the left, made it the window's default,
and unset GTK_RECEIVES_DEFAULT off of the non-bottom buttons.
* app/actionarea.c: another patch from Marco Lamb <lm@geocities.com>.
This one changes buttons to be put in a button box which is right
justified. If we decide later that spread is better, we can
change this easy enough.
* app/tools/zoom_in.xpm, app/tools/zoom_out.xpm: + and - graphics.
* libgimp/gimpunit.h
libgimp/gimpunit.c: New files from Michael Natterer
<mitschel@cs.tu-berlin.de>, gimp_unit_* routines.
* app/gimage.h
app/gimpimage.h
app/gimpimage.c
app/gimpimageP.h
app/xcf.c: Patches from Michael Natterer <mitschel@cs.tu-berlin.de>,
which keep a unit assocated with an image.
1999-02-21 10:08:15 +08:00
|
|
|
#define gimage_set_unit gimp_image_set_unit
|
|
|
|
#define gimage_get_unit gimp_image_get_unit
|
1998-10-27 17:26:38 +08:00
|
|
|
#define gimage_set_save_proc gimp_image_set_save_proc
|
|
|
|
#define gimage_get_save_proc gimp_image_get_save_proc
|
1998-06-28 18:39:58 +08:00
|
|
|
#define gimage_resize gimp_image_resize
|
|
|
|
#define gimage_scale gimp_image_scale
|
|
|
|
#define gimage_shadow gimp_image_shadow
|
|
|
|
#define gimage_free_shadow gimp_image_free_shadow
|
|
|
|
#define gimage_apply_image gimp_image_apply_image
|
|
|
|
#define gimage_replace_image gimp_image_replace_image
|
|
|
|
#define gimage_get_foreground gimp_image_get_foreground
|
|
|
|
#define gimage_get_background gimp_image_get_background
|
|
|
|
#define gimage_get_color gimp_image_get_color
|
|
|
|
#define gimage_transform_color gimp_image_transform_color
|
|
|
|
#define gimage_add_hguide gimp_image_add_hguide
|
|
|
|
#define gimage_add_vguide gimp_image_add_vguide
|
|
|
|
#define gimage_add_guide gimp_image_add_guide
|
|
|
|
#define gimage_remove_guide gimp_image_remove_guide
|
|
|
|
#define gimage_delete_guide gimp_image_delete_guide
|
|
|
|
#define gimage_get_layer_index gimp_image_get_layer_index
|
|
|
|
#define gimage_get_channel_index gimp_image_get_channel_index
|
|
|
|
#define gimage_get_active_layer gimp_image_get_active_layer
|
|
|
|
#define gimage_get_active_channel gimp_image_get_active_channel
|
|
|
|
#define gimage_get_mask gimp_image_get_mask
|
|
|
|
#define gimage_get_component_active gimp_image_get_component_active
|
|
|
|
#define gimage_get_component_visible gimp_image_get_component_visible
|
|
|
|
#define gimage_layer_boundary gimp_image_layer_boundary
|
|
|
|
#define gimage_set_active_layer gimp_image_set_active_layer
|
|
|
|
#define gimage_set_active_channel gimp_image_set_active_channel
|
|
|
|
#define gimage_unset_active_channel gimp_image_unset_active_channel
|
|
|
|
#define gimage_set_component_active gimp_image_set_component_active
|
|
|
|
#define gimage_set_component_visible gimp_image_set_component_visible
|
|
|
|
#define gimage_pick_correlate_layer gimp_image_pick_correlate_layer
|
|
|
|
#define gimage_raise_layer gimp_image_raise_layer
|
|
|
|
#define gimage_lower_layer gimp_image_lower_layer
|
1998-11-16 01:02:59 +08:00
|
|
|
#define gimage_raise_layer_to_top gimp_image_raise_layer_to_top
|
|
|
|
#define gimage_lower_layer_to_bottom gimp_image_lower_layer_to_bottom
|
1998-06-28 18:39:58 +08:00
|
|
|
#define gimage_merge_visible_layers gimp_image_merge_visible_layers
|
|
|
|
#define gimage_flatten gimp_image_flatten
|
|
|
|
#define gimage_merge_layers gimp_image_merge_layers
|
|
|
|
#define gimage_add_layer gimp_image_add_layer
|
|
|
|
#define gimage_remove_layer gimp_image_remove_layer
|
|
|
|
#define gimage_add_layer_mask gimp_image_add_layer_mask
|
|
|
|
#define gimage_remove_layer_mask gimp_image_remove_layer_mask
|
|
|
|
#define gimage_raise_channel gimp_image_raise_channel
|
|
|
|
#define gimage_lower_channel gimp_image_lower_channel
|
|
|
|
#define gimage_add_channel gimp_image_add_channel
|
|
|
|
#define gimage_remove_channel gimp_image_remove_channel
|
|
|
|
#define gimage_construct gimp_image_construct
|
1999-02-07 23:16:45 +08:00
|
|
|
#define gimage_invalidate_without_render gimp_image_invalidate_without_render
|
1998-06-28 18:39:58 +08:00
|
|
|
#define gimage_invalidate gimp_image_invalidate
|
|
|
|
#define gimage_validate gimp_image_validate
|
|
|
|
#define gimage_is_empty gimp_image_is_empty
|
|
|
|
#define gimage_active_drawable gimp_image_active_drawable
|
|
|
|
#define gimage_base_type gimp_image_base_type
|
|
|
|
#define gimage_base_type_with_alpha gimp_image_base_type_with_alpha
|
|
|
|
#define gimage_filename gimp_image_filename
|
|
|
|
#define gimage_enable_undo gimp_image_enable_undo
|
|
|
|
#define gimage_disable_undo gimp_image_disable_undo
|
|
|
|
#define gimage_dirty gimp_image_dirty
|
|
|
|
#define gimage_clean gimp_image_clean
|
|
|
|
#define gimage_clean_all gimp_image_clean_all
|
|
|
|
#define gimage_floating_sel gimp_image_floating_sel
|
|
|
|
#define gimage_cmap gimp_image_cmap
|
|
|
|
#define gimage_projection gimp_image_projection
|
|
|
|
#define gimage_projection_type gimp_image_projection_type
|
|
|
|
#define gimage_projection_bytes gimp_image_projection_bytes
|
|
|
|
#define gimage_projection_opacity gimp_image_projection_opacity
|
|
|
|
#define gimage_projection_realloc gimp_image_projection_realloc
|
|
|
|
#define gimage_composite gimp_image_composite
|
|
|
|
#define gimage_composite_type gimp_image_composite_type
|
|
|
|
#define gimage_composite_bytes gimp_image_composite_bytes
|
|
|
|
#define gimage_composite_preview gimp_image_composite_preview
|
|
|
|
#define gimage_preview_valid gimp_image_preview_valid
|
|
|
|
#define gimage_invalidate_preview gimp_image_invalidate_preview
|
1998-01-22 15:02:57 +08:00
|
|
|
|
1998-09-01 01:31:19 +08:00
|
|
|
extern guint32 next_guide_id;
|
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
#endif /* __GIMAGE_H__ */
|