gimp.h gimpchannel.h gimpcompat.h gimpdrawable.h gimpimage.h moved

2000-06-09  Sven Neumann  <sven@gimp.org>

	* gimp.h
	* gimpchannel.h
	* gimpcompat.h
	* gimpdrawable.h
	* gimpimage.h
	* gimplayer.h: moved convenience defines from gimp.h into
	relevant header files so you have a chance to find them.

2000-06-09  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-decl.txt
	* libgimp/libgimp-sections.txt
	* tmpl/gimp.sgml
	* tmpl/gimpchannel.sgml
	* tmpl/gimpdrawable.sgml
	* tmpl/gimpimage.sgml
	* tmpl/gimplayer.sgml: relocated defines as happened to
	reflect changes in libgimp
This commit is contained in:
Sven Neumann 2000-06-09 01:56:34 +00:00 committed by Sven Neumann
parent e2c0a02257
commit 1e8d9383a6
15 changed files with 285 additions and 265 deletions

View File

@ -1,3 +1,13 @@
2000-06-09 Sven Neumann <sven@gimp.org>
* gimp.h
* gimpchannel.h
* gimpcompat.h
* gimpdrawable.h
* gimpimage.h
* gimplayer.h: moved convenience defines from gimp.h into
relevant header files so you have a chance to find them.
2000-06-08 Sven Neumann <sven@gimp.org>
* libgimp/Makefile.am:

View File

@ -1,4 +1,15 @@
2000-06-08 Sven Neumann <neo@wintermute.ochsenblut.de>
2000-06-09 Sven Neumann <sven@gimp.org>
* libgimp/libgimp-decl.txt
* libgimp/libgimp-sections.txt
* tmpl/gimp.sgml
* tmpl/gimpchannel.sgml
* tmpl/gimpdrawable.sgml
* tmpl/gimpimage.sgml
* tmpl/gimplayer.sgml: relocated defines as happened to
reflect changes in libgimp
2000-06-08 Sven Neumann <sven@gimp.org>
* libgimp/libgimp-decl.txt
* libgimp/libgimp-docs.sgml

View File

@ -12,71 +12,19 @@
</MACRO>
<MACRO>
<NAME>gimp_get_data</NAME>
#define gimp_get_data gimp_procedural_db_get_data
#define gimp_get_data gimp_procedural_db_get_data
</MACRO>
<MACRO>
<NAME>gimp_get_data_size</NAME>
#define gimp_get_data_size gimp_procedural_db_get_data_size
#define gimp_get_data_size gimp_procedural_db_get_data_size
</MACRO>
<MACRO>
<NAME>gimp_set_data</NAME>
#define gimp_set_data gimp_procedural_db_set_data
#define gimp_set_data gimp_procedural_db_set_data
</MACRO>
<MACRO>
<NAME>gimp_query_procedure</NAME>
#define gimp_query_procedure gimp_procedural_db_proc_info
</MACRO>
<MACRO>
<NAME>gimp_image_convert_rgb</NAME>
#define gimp_image_convert_rgb gimp_convert_rgb
</MACRO>
<MACRO>
<NAME>gimp_image_convert_grayscale</NAME>
#define gimp_image_convert_grayscale gimp_convert_grayscale
</MACRO>
<MACRO>
<NAME>gimp_image_convert_indexed</NAME>
#define gimp_image_convert_indexed gimp_convert_indexed
</MACRO>
<MACRO>
<NAME>gimp_image_duplicate</NAME>
#define gimp_image_duplicate gimp_channel_ops_duplicate
</MACRO>
<MACRO>
<NAME>gimp_drawable_offset</NAME>
#define gimp_drawable_offset gimp_channel_ops_offset
</MACRO>
<MACRO>
<NAME>gimp_drawable_image_id</NAME>
#define gimp_drawable_image_id gimp_drawable_image
</MACRO>
<MACRO>
<NAME>gimp_drawable_bpp</NAME>
#define gimp_drawable_bpp gimp_drawable_bytes
</MACRO>
<MACRO>
<NAME>gimp_channel_get_image_id</NAME>
#define gimp_channel_get_image_id gimp_drawable_image
</MACRO>
<MACRO>
<NAME>gimp_layer_get_mask_id</NAME>
#define gimp_layer_get_mask_id gimp_layer_mask
</MACRO>
<MACRO>
<NAME>gimp_layer_get_image_id</NAME>
#define gimp_layer_get_image_id gimp_drawable_image
</MACRO>
<MACRO>
<NAME>gimp_layer_is_floating_selection</NAME>
#define gimp_layer_is_floating_selection gimp_layer_is_floating_sel
</MACRO>
<MACRO>
<NAME>gimp_layer_get_preserve_transparency</NAME>
#define gimp_layer_get_preserve_transparency gimp_layer_get_preserve_trans
</MACRO>
<MACRO>
<NAME>gimp_layer_set_preserve_transparency</NAME>
#define gimp_layer_set_preserve_transparency gimp_layer_set_preserve_trans
#define gimp_query_procedure gimp_procedural_db_proc_info
</MACRO>
<USER_FUNCTION>
<NAME>GimpInitProc</NAME>
@ -2560,7 +2508,7 @@ GimpColorSelectorID id,GimpColorSelectorFinishedCB finished_cb,gpointer
</MACRO>
<MACRO>
<NAME>gimp_channel_get_image_ID</NAME>
#define gimp_channel_get_image_ID gimp_drawable_get_image_ID
#define gimp_channel_get_image_ID gimp_drawable_image
</MACRO>
<MACRO>
<NAME>gimp_channel_get_layer_ID</NAME>
@ -3161,6 +3109,10 @@ gchar *title,GimpHelpFunc help_func,gchar
<RETURNS>GtkWidget *</RETURNS>
gchar *title,GimpHelpFunc help_func,gchar *help_data,gboolean eek,gchar *message,gchar *true_button,gchar *false_button,GtkObject *object,gchar *signal,GimpQueryBooleanCallback callback,gpointer data
</FUNCTION>
<MACRO>
<NAME>gimp_channel_get_image_id</NAME>
#define gimp_channel_get_image_id gimp_drawable_image
</MACRO>
<FUNCTION>
<NAME>gimp_channel_new</NAME>
<RETURNS>gint32 </RETURNS>
@ -3792,6 +3744,18 @@ gint32 display_ID
<RETURNS>void </RETURNS>
void
</FUNCTION>
<MACRO>
<NAME>gimp_drawable_offset</NAME>
#define gimp_drawable_offset gimp_channel_ops_offset
</MACRO>
<MACRO>
<NAME>gimp_drawable_image_id</NAME>
#define gimp_drawable_image_id gimp_drawable_image
</MACRO>
<MACRO>
<NAME>gimp_drawable_bpp</NAME>
#define gimp_drawable_bpp gimp_drawable_bytes
</MACRO>
<STRUCT>
<NAME>GimpDrawable</NAME>
struct GimpDrawable
@ -4116,6 +4080,22 @@ gint32 image_ID,gint32 guide_ID
<RETURNS>void </RETURNS>
gchar *prog_name,gchar *help_page
</FUNCTION>
<MACRO>
<NAME>gimp_image_convert_rgb</NAME>
#define gimp_image_convert_rgb gimp_convert_rgb
</MACRO>
<MACRO>
<NAME>gimp_image_convert_grayscale</NAME>
#define gimp_image_convert_grayscale gimp_convert_grayscale
</MACRO>
<MACRO>
<NAME>gimp_image_convert_indexed</NAME>
#define gimp_image_convert_indexed gimp_convert_indexed
</MACRO>
<MACRO>
<NAME>gimp_image_duplicate</NAME>
#define gimp_image_duplicate gimp_channel_ops_duplicate
</MACRO>
<FUNCTION>
<NAME>gimp_image_get_cmap</NAME>
<RETURNS>guchar *</RETURNS>
@ -4411,6 +4391,26 @@ gint32 image_ID,gint tattoo
<RETURNS>gint32 </RETURNS>
gint32 image_ID,gint tattoo
</FUNCTION>
<MACRO>
<NAME>gimp_layer_get_mask_id</NAME>
#define gimp_layer_get_mask_id gimp_layer_mask
</MACRO>
<MACRO>
<NAME>gimp_layer_get_image_id</NAME>
#define gimp_layer_get_image_id gimp_drawable_image
</MACRO>
<MACRO>
<NAME>gimp_layer_is_floating_selection</NAME>
#define gimp_layer_is_floating_selection gimp_layer_is_floating_sel
</MACRO>
<MACRO>
<NAME>gimp_layer_get_preserve_transparency</NAME>
#define gimp_layer_get_preserve_transparency gimp_layer_get_preserve_trans
</MACRO>
<MACRO>
<NAME>gimp_layer_set_preserve_transparency</NAME>
#define gimp_layer_set_preserve_transparency gimp_layer_set_preserve_trans
</MACRO>
<FUNCTION>
<NAME>gimp_layer_new</NAME>
<RETURNS>gint32 </RETURNS>

View File

@ -5,19 +5,6 @@ gimp_get_data
gimp_get_data_size
gimp_set_data
gimp_query_procedure
gimp_image_convert_rgb
gimp_image_convert_grayscale
gimp_image_convert_indexed
gimp_image_duplicate
gimp_drawable_offset
gimp_drawable_image_id
gimp_drawable_bpp
gimp_channel_get_image_id
gimp_layer_get_mask_id
gimp_layer_get_image_id
gimp_layer_is_floating_selection
gimp_layer_get_preserve_transparency
gimp_layer_set_preserve_transparency
GimpInitProc
GimpQuitProc
GimpQueryProc
@ -556,6 +543,7 @@ gimp_channel_get_color
gimp_channel_set_color
gimp_channel_get_tattoo
gimp_channel_set_tattoo
gimp_channel_get_image_id
</SECTION>
<SECTION>
@ -625,6 +613,9 @@ gimp_drawable_offsets
gimp_drawable_is_layer
gimp_drawable_is_layer_mask
gimp_drawable_is_channel
gimp_drawable_offset
gimp_drawable_image_id
gimp_drawable_bpp
</SECTION>
<SECTION>
@ -691,9 +682,6 @@ gimp_help
<SECTION>
<FILE>gimpimage</FILE>
gimp_image_get_cmap
gimp_image_set_cmap
gimp_image_get_thumbnail_data
gimp_image_list
gimp_image_new
gimp_image_resize
@ -750,6 +738,13 @@ gimp_image_get_unit
gimp_image_set_unit
gimp_image_get_layer_by_tattoo
gimp_image_get_channel_by_tattoo
gimp_image_get_cmap
gimp_image_set_cmap
gimp_image_get_thumbnail_data
gimp_image_convert_rgb
gimp_image_convert_grayscale
gimp_image_convert_indexed
gimp_image_duplicate
</SECTION>
<SECTION>
@ -785,6 +780,11 @@ gimp_layer_get_linked
gimp_layer_set_linked
gimp_layer_get_tattoo
gimp_layer_set_tattoo
gimp_layer_get_mask_id
gimp_layer_get_image_id
gimp_layer_is_floating_selection
gimp_layer_get_preserve_transparency
gimp_layer_set_preserve_transparency
</SECTION>
<SECTION>

View File

@ -75,136 +75,6 @@ all other GIMP Library headers.
@return_vals:
<!-- ##### MACRO gimp_image_convert_rgb ##### -->
<para>
</para>
<!-- # Unused Parameters # -->
@image_ID:
<!-- ##### MACRO gimp_image_convert_grayscale ##### -->
<para>
</para>
<!-- # Unused Parameters # -->
@image_ID:
<!-- ##### MACRO gimp_image_convert_indexed ##### -->
<para>
</para>
<!-- # Unused Parameters # -->
@image_ID:
@dither_type:
@palette_type:
@num_colors:
@alpha_dither:
@remove_unused:
@palette:
<!-- ##### MACRO gimp_image_duplicate ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@image_ID:
<!-- ##### MACRO gimp_drawable_offset ##### -->
<para>
</para>
<!-- ##### MACRO gimp_drawable_image_id ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@drawable_ID:
<!-- ##### MACRO gimp_drawable_bpp ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@drawable_ID:
<!-- ##### MACRO gimp_channel_get_image_id ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@channel_ID:
<!-- ##### MACRO gimp_layer_get_mask_id ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@layer_ID:
<!-- ##### MACRO gimp_layer_get_image_id ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@layer_ID:
<!-- ##### MACRO gimp_layer_is_floating_selection ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@layer_ID:
<!-- ##### MACRO gimp_layer_get_preserve_transparency ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@layer_ID:
<!-- ##### MACRO gimp_layer_set_preserve_transparency ##### -->
<para>
</para>
<!-- # Unused Parameters # -->
@layer_ID:
@preserve_transparency:
<!-- ##### USER_FUNCTION GimpInitProc ##### -->
<para>

View File

@ -157,3 +157,13 @@ gimpchannel
@tattoo:
<!-- ##### MACRO gimp_channel_get_image_id ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@channel_ID:

View File

@ -290,3 +290,30 @@ gimpdrawable
@Returns:
<!-- ##### MACRO gimp_drawable_offset ##### -->
<para>
</para>
<!-- ##### MACRO gimp_drawable_image_id ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@drawable_ID:
<!-- ##### MACRO gimp_drawable_bpp ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@drawable_ID:

View File

@ -14,44 +14,6 @@ gimpimage
</para>
<!-- ##### FUNCTION gimp_image_get_cmap ##### -->
<para>
</para>
@image_ID:
@num_colors:
@Returns:
<!-- # Unused Parameters # -->
@ncolors:
<!-- ##### FUNCTION gimp_image_set_cmap ##### -->
<para>
</para>
@image_ID:
@cmap:
@num_colors:
<!-- # Unused Parameters # -->
@ncolors:
<!-- ##### FUNCTION gimp_image_get_thumbnail_data ##### -->
<para>
</para>
@image_ID:
@width:
@height:
@bpp:
@Returns:
<!-- # Unused Parameters # -->
@bytes:
<!-- ##### FUNCTION gimp_image_list ##### -->
<para>
@ -592,3 +554,84 @@ gimpimage
@Returns:
<!-- ##### FUNCTION gimp_image_get_cmap ##### -->
<para>
</para>
@image_ID:
@num_colors:
@Returns:
<!-- # Unused Parameters # -->
@ncolors:
<!-- ##### FUNCTION gimp_image_set_cmap ##### -->
<para>
</para>
@image_ID:
@cmap:
@num_colors:
<!-- # Unused Parameters # -->
@ncolors:
<!-- ##### FUNCTION gimp_image_get_thumbnail_data ##### -->
<para>
</para>
@image_ID:
@width:
@height:
@bpp:
@Returns:
<!-- # Unused Parameters # -->
@bytes:
<!-- ##### MACRO gimp_image_convert_rgb ##### -->
<para>
</para>
<!-- # Unused Parameters # -->
@image_ID:
<!-- ##### MACRO gimp_image_convert_grayscale ##### -->
<para>
</para>
<!-- # Unused Parameters # -->
@image_ID:
<!-- ##### MACRO gimp_image_convert_indexed ##### -->
<para>
</para>
<!-- # Unused Parameters # -->
@image_ID:
@dither_type:
@palette_type:
@num_colors:
@alpha_dither:
@remove_unused:
@palette:
<!-- ##### MACRO gimp_image_duplicate ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@image_ID:

View File

@ -314,3 +314,53 @@ gimplayer
@tattoo:
<!-- ##### MACRO gimp_layer_get_mask_id ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@layer_ID:
<!-- ##### MACRO gimp_layer_get_image_id ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@layer_ID:
<!-- ##### MACRO gimp_layer_is_floating_selection ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@layer_ID:
<!-- ##### MACRO gimp_layer_get_preserve_transparency ##### -->
<para>
</para>
@Returns:
<!-- # Unused Parameters # -->
@layer_ID:
<!-- ##### MACRO gimp_layer_set_preserve_transparency ##### -->
<para>
</para>
<!-- # Unused Parameters # -->
@layer_ID:
@preserve_transparency:

View File

@ -66,29 +66,11 @@ extern "C" {
#endif /* __cplusplus */
/* more convenient names for some pdb functions */
#define gimp_get_data gimp_procedural_db_get_data
#define gimp_get_data_size gimp_procedural_db_get_data_size
#define gimp_set_data gimp_procedural_db_set_data
#define gimp_query_procedure gimp_procedural_db_proc_info
#define gimp_get_data gimp_procedural_db_get_data
#define gimp_get_data_size gimp_procedural_db_get_data_size
#define gimp_set_data gimp_procedural_db_set_data
#define gimp_query_procedure gimp_procedural_db_proc_info
#define gimp_image_convert_rgb gimp_convert_rgb
#define gimp_image_convert_grayscale gimp_convert_grayscale
#define gimp_image_convert_indexed gimp_convert_indexed
#define gimp_image_duplicate gimp_channel_ops_duplicate
#define gimp_drawable_offset gimp_channel_ops_offset
#define gimp_drawable_image_id gimp_drawable_image
#define gimp_drawable_bpp gimp_drawable_bytes
#define gimp_channel_get_image_id gimp_drawable_image
#define gimp_layer_get_mask_id gimp_layer_mask
#define gimp_layer_get_image_id gimp_drawable_image
#define gimp_layer_is_floating_selection gimp_layer_is_floating_sel
#define gimp_layer_get_preserve_transparency gimp_layer_get_preserve_trans
#define gimp_layer_set_preserve_transparency gimp_layer_set_preserve_trans
GIMPVAR guint gimp_major_version;
GIMPVAR guint gimp_minor_version;

View File

@ -28,6 +28,8 @@ extern "C" {
/* For information look into the C source or the html documentation */
#define gimp_channel_get_image_id gimp_drawable_image
gint32 gimp_channel_new (gint32 image_ID,
gchar *name,

View File

@ -52,7 +52,7 @@ extern "C" {
#define gimp_channel_width gimp_drawable_width
#define gimp_channel_height gimp_drawable_height
#define gimp_channel_get_image_ID gimp_drawable_get_image_ID
#define gimp_channel_get_image_ID gimp_drawable_image
#define gimp_channel_get_layer_ID -1
#define gimp_layer_width gimp_drawable_width

View File

@ -28,6 +28,10 @@ extern "C" {
/* For information look into the C source or the html documentation */
#define gimp_drawable_offset gimp_channel_ops_offset
#define gimp_drawable_image_id gimp_drawable_image
#define gimp_drawable_bpp gimp_drawable_bytes
struct _GimpDrawable
{

View File

@ -28,6 +28,11 @@ extern "C" {
/* For information look into the C source or the html documentation */
#define gimp_image_convert_rgb gimp_convert_rgb
#define gimp_image_convert_grayscale gimp_convert_grayscale
#define gimp_image_convert_indexed gimp_convert_indexed
#define gimp_image_duplicate gimp_channel_ops_duplicate
guchar * gimp_image_get_cmap (gint32 image_ID,
gint *num_colors);

View File

@ -28,6 +28,12 @@ extern "C" {
/* For information look into the C source or the html documentation */
#define gimp_layer_get_mask_id gimp_layer_mask
#define gimp_layer_get_image_id gimp_drawable_image
#define gimp_layer_is_floating_selection gimp_layer_is_floating_sel
#define gimp_layer_get_preserve_transparency gimp_layer_get_preserve_trans
#define gimp_layer_set_preserve_transparency gimp_layer_set_preserve_trans
gint32 gimp_layer_new (gint32 image_ID,
gchar *name,