gimp/app/gimage_cmds.h

94 lines
3.8 KiB
C
Raw Normal View History

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
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1997-11-25 06:05:25 +08:00
*/
#ifndef __GIMAGE_CMDS_H__
#define __GIMAGE_CMDS_H__
#include "procedural_db.h"
void channel_ops_duplicate (void *);
1997-11-25 06:05:25 +08:00
extern ProcRecord gimage_list_images_proc;
extern ProcRecord gimage_new_proc;
extern ProcRecord gimage_resize_proc;
extern ProcRecord gimage_scale_proc;
extern ProcRecord gimage_delete_proc;
extern ProcRecord gimage_free_shadow_proc;
extern ProcRecord gimage_get_layers_proc;
extern ProcRecord gimage_get_channels_proc;
extern ProcRecord gimage_get_active_layer_proc;
extern ProcRecord gimage_get_active_channel_proc;
extern ProcRecord gimage_get_selection_proc;
extern ProcRecord gimage_get_component_active_proc;
extern ProcRecord gimage_get_component_visible_proc;
extern ProcRecord gimage_set_active_layer_proc;
extern ProcRecord gimage_set_active_channel_proc;
extern ProcRecord gimage_unset_active_channel_proc;
extern ProcRecord gimage_set_component_active_proc;
extern ProcRecord gimage_set_component_visible_proc;
extern ProcRecord gimage_pick_correlate_layer_proc;
extern ProcRecord gimage_raise_layer_proc;
extern ProcRecord gimage_lower_layer_proc;
extern ProcRecord gimage_raise_layer_to_top_proc;
extern ProcRecord gimage_lower_layer_to_bottom_proc;
1997-11-25 06:05:25 +08:00
extern ProcRecord gimage_merge_visible_layers_proc;
extern ProcRecord gimage_merge_down_proc;
1997-11-25 06:05:25 +08:00
extern ProcRecord gimage_flatten_proc;
extern ProcRecord gimage_add_layer_proc;
extern ProcRecord gimage_remove_layer_proc;
extern ProcRecord gimage_add_layer_mask_proc;
extern ProcRecord gimage_remove_layer_mask_proc;
extern ProcRecord gimage_raise_channel_proc;
extern ProcRecord gimage_lower_channel_proc;
extern ProcRecord gimage_add_channel_proc;
extern ProcRecord gimage_remove_channel_proc;
extern ProcRecord gimage_active_drawable_proc;
extern ProcRecord gimage_base_type_proc;
extern ProcRecord gimage_get_filename_proc;
extern ProcRecord gimage_set_filename_proc;
extern ProcRecord gimage_get_resolution_proc;
extern ProcRecord gimage_set_resolution_proc;
This implements the rest of the unit system (unitrc loading and saving and 1999-03-16 Michael Natterer <mitschel@cs.tu-berlin.de> This implements the rest of the unit system (unitrc loading and saving and full PDB interface) * Makefile.am * gimp.1 * user_install * user_install.bat * unitrc: new file (default unit database) and some documentation * app/Makefile.am * app/gimpunit.c * app/gimpunit_cmds.h * app/unitrc.h: new files enabling the unit database and PDB access to the unit system * app/app_procs.c: parse and save unitrc * app/gimprc.[ch]: enable unit parsing. New function init_parse_buffers() to enable unitrc to be loaded before gimprc * app/gimage_cmds.[ch]: new PDB procedures which set/return an image's unit * app/install.c: mention unitrc installation * app/xcf.c: new xcf property for user defined units. An image's unit is saved as either an integer ID (built in units) or as a full unit definition without any ID * libgimp/Makefile.am: moved gimpunit.o from libgimpi.a to libgimp.a * libgimp/gimp.h * libgimp/gimpimage.c: get/set an image's unit with PDB calls * libgimp/gimpunit.h: this file is now the header for both app/gimpunit.c and libgimp/gimpunit.c * libgimp/gimpunit.c: does the unit calls as PDB calls now * libgimp/gimpunitmenu.[ch]: enable user unit functionality and a unit selection dialog * libgimp/gimpsizeentry.c: disble hilighting on focus_in_event and minor bugfixes * plug-ins/tiff/tiff.c: set image unit to "mm" if tiff unit is "cm", save "cm" if image unit is metric
1999-03-17 04:14:07 +08:00
extern ProcRecord gimage_get_unit_proc;
extern ProcRecord gimage_set_unit_proc;
1997-11-25 06:05:25 +08:00
extern ProcRecord gimage_width_proc;
extern ProcRecord gimage_height_proc;
extern ProcRecord gimage_get_cmap_proc;
extern ProcRecord gimage_set_cmap_proc;
extern ProcRecord gimage_enable_undo_proc;
extern ProcRecord gimage_disable_undo_proc;
extern ProcRecord gimage_clean_all_proc;
extern ProcRecord gimage_floating_sel_proc;
extern ProcRecord gimage_floating_sel_attached_to_proc;
extern ProcRecord channel_ops_duplicate_proc;
1997-11-25 06:05:25 +08:00
extern ProcRecord gimp_image_add_hguide_proc;
extern ProcRecord gimp_image_add_vguide_proc;
extern ProcRecord gimp_image_delete_guide_proc;
extern ProcRecord gimp_image_findnext_guide_proc;
extern ProcRecord gimp_image_get_guide_orientation_proc;
extern ProcRecord gimp_image_get_guide_position_proc;
extern ProcRecord gimp_image_find_parasite_proc;
1999-02-14 02:19:44 +08:00
extern ProcRecord gimp_image_parasite_list_proc;
extern ProcRecord gimp_image_attach_parasite_proc;
extern ProcRecord gimp_image_detach_parasite_proc;
extern ProcRecord gimp_image_get_layer_by_tattoo_proc;
extern ProcRecord gimp_image_get_channel_by_tattoo_proc;
1997-11-25 06:05:25 +08:00
#endif /* __GIMAGE_CMDS_H__ */