Revert "pdb, libgimp: more #pragma once, and formatting cleanup"
This reverts commit be3597e3c7.
See https://gitlab.gnome.org/GNOME/gimp/-/issues/14668
This commit is contained in:
parent
bbb0be8413
commit
6cc054ee4e
94 changed files with 754 additions and 521 deletions
|
|
@ -18,7 +18,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_H__
|
||||||
|
#define __GIMP_H__
|
||||||
|
|
||||||
#include <cairo.h>
|
#include <cairo.h>
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
@ -82,6 +83,7 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GIMP_MAIN:
|
* GIMP_MAIN:
|
||||||
* @plug_in_type: The #GType of the plug-in's #GimpPlugIn subclass
|
* @plug_in_type: The #GType of the plug-in's #GimpPlugIn subclass
|
||||||
|
|
@ -201,4 +203,7 @@ const gchar * gimp_icon_theme_dir (void) G_GNUC_CONST;
|
||||||
|
|
||||||
const gchar * gimp_get_progname (void) G_GNUC_CONST;
|
const gchar * gimp_get_progname (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_H__ */
|
||||||
|
|
|
||||||
|
|
@ -20,12 +20,13 @@
|
||||||
|
|
||||||
/* NOTE: This file is auto-generated by pdbgen.pl */
|
/* NOTE: This file is auto-generated by pdbgen.pl */
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PDB_HEADERS_H__
|
||||||
|
#define __GIMP_PDB_HEADERS_H__
|
||||||
|
|
||||||
#include <libgimp/gimp_pdb.h>
|
#include <libgimp/gimp_pdb.h>
|
||||||
#include <libgimp/gimpbrush_pdb.h>
|
#include <libgimp/gimpbrush_pdb.h>
|
||||||
#include <libgimp/gimpbrushes_pdb.h>
|
#include <libgimp/gimpbrushes_pdb.h>
|
||||||
|
|
@ -82,3 +83,4 @@
|
||||||
#include <libgimp/gimptexttool_pdb.h>
|
#include <libgimp/gimptexttool_pdb.h>
|
||||||
#include <libgimp/gimpunit_pdb.h>
|
#include <libgimp/gimpunit_pdb.h>
|
||||||
|
|
||||||
|
#endif /* __GIMP_PDB_HEADERS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,24 +18,26 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_ASPECT_PREVIEW_H__
|
||||||
|
#define __GIMP_ASPECT_PREVIEW_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_ASPECT_PREVIEW (gimp_aspect_preview_get_type ())
|
#define GIMP_TYPE_ASPECT_PREVIEW (gimp_aspect_preview_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpAspectPreview,
|
G_DECLARE_FINAL_TYPE (GimpAspectPreview, gimp_aspect_preview, GIMP, ASPECT_PREVIEW, GimpPreview)
|
||||||
gimp_aspect_preview,
|
|
||||||
GIMP, ASPECT_PREVIEW,
|
|
||||||
GimpPreview)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_aspect_preview_new_from_drawable (GimpDrawable *drawable);
|
GtkWidget * gimp_aspect_preview_new_from_drawable (GimpDrawable *drawable);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_ASPECT_PREVIEW_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_BATCH_PROCEDURE_H__
|
||||||
|
#define __GIMP_BATCH_PROCEDURE_H__
|
||||||
|
|
||||||
#include <libgimp/gimpprocedure.h>
|
#include <libgimp/gimpprocedure.h>
|
||||||
|
|
||||||
|
|
@ -50,10 +51,7 @@ typedef GimpValueArray * (* GimpBatchFunc) (GimpProcedure *procedure,
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_BATCH_PROCEDURE (gimp_batch_procedure_get_type ())
|
#define GIMP_TYPE_BATCH_PROCEDURE (gimp_batch_procedure_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpBatchProcedure,
|
G_DECLARE_FINAL_TYPE (GimpBatchProcedure, gimp_batch_procedure, GIMP, BATCH_PROCEDURE, GimpProcedure)
|
||||||
gimp_batch_procedure,
|
|
||||||
GIMP, BATCH_PROCEDURE,
|
|
||||||
GimpProcedure)
|
|
||||||
|
|
||||||
|
|
||||||
GimpProcedure * gimp_batch_procedure_new (GimpPlugIn *plug_in,
|
GimpProcedure * gimp_batch_procedure_new (GimpPlugIn *plug_in,
|
||||||
|
|
@ -69,3 +67,5 @@ void gimp_batch_procedure_set_interpreter_name (GimpBatchProcedure *p
|
||||||
const gchar * gimp_batch_procedure_get_interpreter_name (GimpBatchProcedure *procedure);
|
const gchar * gimp_batch_procedure_get_interpreter_name (GimpBatchProcedure *procedure);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_BATCH_PROCEDURE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,24 +19,23 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpresource.h>
|
#ifndef __GIMP_BRUSH_H__
|
||||||
|
#define __GIMP_BRUSH_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimpresource.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_BRUSH (gimp_brush_get_type ())
|
#define GIMP_TYPE_BRUSH (gimp_brush_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpBrush,
|
G_DECLARE_FINAL_TYPE (GimpBrush, gimp_brush, GIMP, BRUSH, GimpResource)
|
||||||
gimp_brush,
|
|
||||||
GIMP, BRUSH,
|
|
||||||
GimpResource)
|
|
||||||
|
|
||||||
|
|
||||||
GeglBuffer * gimp_brush_get_buffer (GimpBrush *brush,
|
GeglBuffer * gimp_brush_get_buffer (GimpBrush *brush,
|
||||||
|
|
@ -49,3 +48,5 @@ GeglBuffer * gimp_brush_get_mask (GimpBrush *brush,
|
||||||
const Babl *format) G_GNUC_WARN_UNUSED_RESULT;
|
const Babl *format) G_GNUC_WARN_UNUSED_RESULT;
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_BRUSH_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,25 +18,26 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_BRUSH_CHOOSER_H__
|
||||||
|
#define __GIMP_BRUSH_CHOOSER_H__
|
||||||
|
|
||||||
#include <libgimp/gimpresourcechooser.h>
|
#include <libgimp/gimpresourcechooser.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GIMP_TYPE_BRUSH_CHOOSER (gimp_brush_chooser_get_type ())
|
#define GIMP_TYPE_BRUSH_CHOOSER (gimp_brush_chooser_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpBrushChooser,
|
G_DECLARE_FINAL_TYPE (GimpBrushChooser, gimp_brush_chooser, GIMP, BRUSH_CHOOSER, GimpResourceChooser)
|
||||||
gimp_brush_chooser,
|
|
||||||
GIMP, BRUSH_CHOOSER,
|
|
||||||
GimpResourceChooser)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_brush_chooser_new (const gchar *title,
|
GtkWidget * gimp_brush_chooser_new (const gchar *title,
|
||||||
const gchar *label,
|
const gchar *label,
|
||||||
GimpBrush *brush);
|
GimpBrush *brush);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_BRUSH_CHOOSER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,24 +18,22 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpdrawable.h>
|
#ifndef __GIMP_CHANNEL_H__
|
||||||
|
#define __GIMP_CHANNEL_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
#include <libgimp/gimpdrawable.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_CHANNEL (gimp_channel_get_type ())
|
#define GIMP_TYPE_CHANNEL (gimp_channel_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpChannel,
|
G_DECLARE_DERIVABLE_TYPE (GimpChannel, gimp_channel, GIMP, CHANNEL, GimpDrawable)
|
||||||
gimp_channel,
|
|
||||||
GIMP, CHANNEL,
|
|
||||||
GimpDrawable)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpChannelClass
|
struct _GimpChannelClass
|
||||||
|
|
@ -56,6 +54,9 @@ struct _GimpChannelClass
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
GimpChannel * gimp_channel_get_by_id (gint32 channel_id);
|
GimpChannel * gimp_channel_get_by_id (gint32 channel_id);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_CHANNEL_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,22 +19,21 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_DISPLAY_H__
|
||||||
|
#define __GIMP_DISPLAY_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_DISPLAY (gimp_display_get_type ())
|
#define GIMP_TYPE_DISPLAY (gimp_display_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpDisplay,
|
G_DECLARE_FINAL_TYPE (GimpDisplay, gimp_display, GIMP, DISPLAY, GObject)
|
||||||
gimp_display,
|
|
||||||
GIMP, DISPLAY,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
gint32 gimp_display_get_id (GimpDisplay *display);
|
gint32 gimp_display_get_id (GimpDisplay *display);
|
||||||
|
|
@ -42,4 +41,7 @@ GimpDisplay * gimp_display_get_by_id (gint32 display_id);
|
||||||
|
|
||||||
gboolean gimp_display_is_valid (GimpDisplay *display);
|
gboolean gimp_display_is_valid (GimpDisplay *display);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_DISPLAY_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,24 +18,23 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpitem.h>
|
#ifndef __GIMP_DRAWABLE_H__
|
||||||
|
#define __GIMP_DRAWABLE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimpitem.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_DRAWABLE (gimp_drawable_get_type ())
|
#define GIMP_TYPE_DRAWABLE (gimp_drawable_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpDrawable,
|
G_DECLARE_DERIVABLE_TYPE (GimpDrawable, gimp_drawable, GIMP, DRAWABLE, GimpItem)
|
||||||
gimp_drawable,
|
|
||||||
GIMP, DRAWABLE,
|
|
||||||
GimpItem)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpDrawableClass
|
struct _GimpDrawableClass
|
||||||
|
|
@ -112,4 +111,7 @@ void gimp_drawable_merge_new_filter (GimpDrawable
|
||||||
gdouble opacity,
|
gdouble opacity,
|
||||||
...) G_GNUC_NULL_TERMINATED;
|
...) G_GNUC_NULL_TERMINATED;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_DRAWABLE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,29 +19,30 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_DRAWABLE_CHOOSER_H__
|
||||||
|
#define __GIMP_DRAWABLE_CHOOSER_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GIMP_TYPE_DRAWABLE_CHOOSER (gimp_drawable_chooser_get_type ())
|
#define GIMP_TYPE_DRAWABLE_CHOOSER (gimp_drawable_chooser_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpDrawableChooser,
|
G_DECLARE_FINAL_TYPE (GimpDrawableChooser, gimp_drawable_chooser, GIMP, DRAWABLE_CHOOSER, GtkBox)
|
||||||
gimp_drawable_chooser,
|
|
||||||
GIMP, DRAWABLE_CHOOSER,
|
|
||||||
GtkBox)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_drawable_chooser_new (const gchar *title,
|
GtkWidget * gimp_drawable_chooser_new (const gchar *title,
|
||||||
const gchar *label,
|
const gchar *label,
|
||||||
GType drawable_type,
|
GType drawable_type,
|
||||||
GimpDrawable *drawable);
|
GimpDrawable *drawable);
|
||||||
|
|
||||||
|
GimpDrawable * gimp_drawable_chooser_get_drawable (GimpDrawableChooser *chooser);
|
||||||
|
void gimp_drawable_chooser_set_drawable (GimpDrawableChooser *chooser,
|
||||||
|
GimpDrawable *drawable);
|
||||||
|
GtkWidget * gimp_drawable_chooser_get_label (GimpDrawableChooser *widget);
|
||||||
|
|
||||||
GimpDrawable * gimp_drawable_chooser_get_drawable (GimpDrawableChooser *chooser);
|
|
||||||
void gimp_drawable_chooser_set_drawable (GimpDrawableChooser *chooser,
|
|
||||||
GimpDrawable *drawable);
|
|
||||||
GtkWidget * gimp_drawable_chooser_get_label (GimpDrawableChooser *widget);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_DRAWABLE_CHOOSER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,39 +19,41 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_DRAWABLE_FILTER_H__
|
||||||
|
#define __GIMP_DRAWABLE_FILTER_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_DRAWABLE_FILTER (gimp_drawable_filter_get_type ())
|
#define GIMP_TYPE_DRAWABLE_FILTER (gimp_drawable_filter_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpDrawableFilter,
|
G_DECLARE_FINAL_TYPE (GimpDrawableFilter, gimp_drawable_filter, GIMP, DRAWABLE_FILTER, GObject)
|
||||||
gimp_drawable_filter,
|
|
||||||
GIMP, DRAWABLE_FILTER,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
gint32 gimp_drawable_filter_get_id (GimpDrawableFilter *filter);
|
gint32 gimp_drawable_filter_get_id (GimpDrawableFilter *filter);
|
||||||
GimpDrawableFilter * gimp_drawable_filter_get_by_id (gint32 filter_id);
|
GimpDrawableFilter * gimp_drawable_filter_get_by_id (gint32 filter_id);
|
||||||
|
|
||||||
gboolean gimp_drawable_filter_is_valid (GimpDrawableFilter *filter);
|
gboolean gimp_drawable_filter_is_valid (GimpDrawableFilter *filter);
|
||||||
|
|
||||||
void gimp_drawable_filter_set_opacity (GimpDrawableFilter *filter,
|
void gimp_drawable_filter_set_opacity (GimpDrawableFilter *filter,
|
||||||
gdouble opacity);
|
gdouble opacity);
|
||||||
void gimp_drawable_filter_set_blend_mode (GimpDrawableFilter *filter,
|
void gimp_drawable_filter_set_blend_mode (GimpDrawableFilter *filter,
|
||||||
GimpLayerMode mode);
|
GimpLayerMode mode);
|
||||||
void gimp_drawable_filter_set_aux_input (GimpDrawableFilter *filter,
|
void gimp_drawable_filter_set_aux_input (GimpDrawableFilter *filter,
|
||||||
const gchar *input_pad_name,
|
const gchar *input_pad_name,
|
||||||
GimpDrawable *input);
|
GimpDrawable *input);
|
||||||
|
|
||||||
GimpDrawableFilterConfig * gimp_drawable_filter_get_config (GimpDrawableFilter *filter);
|
GimpDrawableFilterConfig * gimp_drawable_filter_get_config (GimpDrawableFilter *filter);
|
||||||
|
|
||||||
|
void gimp_drawable_filter_update (GimpDrawableFilter *filter);
|
||||||
|
|
||||||
void gimp_drawable_filter_update (GimpDrawableFilter *filter);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_DRAWABLE_FILTER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,23 +19,20 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_DRAWABLE_FILTER_CONFIG_H__
|
||||||
|
#define __GIMP_DRAWABLE_FILTER_CONFIG_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_DRAWABLE_FILTER_CONFIG (gimp_drawable_filter_config_get_type ())
|
#define GIMP_TYPE_DRAWABLE_FILTER_CONFIG (gimp_drawable_filter_config_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpDrawableFilterConfig,
|
G_DECLARE_DERIVABLE_TYPE (GimpDrawableFilterConfig, gimp_drawable_filter_config, GIMP, DRAWABLE_FILTER_CONFIG, GObject)
|
||||||
gimp_drawable_filter_config,
|
|
||||||
GIMP, DRAWABLE_FILTER_CONFIG,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpDrawableFilterConfigClass
|
struct _GimpDrawableFilterConfigClass
|
||||||
{
|
{
|
||||||
|
|
@ -54,4 +51,7 @@ struct _GimpDrawableFilterConfigClass
|
||||||
void (* _gimp_reserved9) (void);
|
void (* _gimp_reserved9) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_DRAWABLE_FILTER_CONFIG_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,22 +18,21 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_DRAWABLE_PREVIEW_H__
|
||||||
|
#define __GIMP_DRAWABLE_PREVIEW_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_DRAWABLE_PREVIEW (gimp_drawable_preview_get_type ())
|
#define GIMP_TYPE_DRAWABLE_PREVIEW (gimp_drawable_preview_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpDrawablePreview,
|
G_DECLARE_FINAL_TYPE (GimpDrawablePreview, gimp_drawable_preview, GIMP, DRAWABLE_PREVIEW, GimpScrolledPreview)
|
||||||
gimp_drawable_preview,
|
|
||||||
GIMP, DRAWABLE_PREVIEW,
|
|
||||||
GimpScrolledPreview)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_drawable_preview_new_from_drawable (GimpDrawable *drawable);
|
GtkWidget * gimp_drawable_preview_new_from_drawable (GimpDrawable *drawable);
|
||||||
|
|
@ -50,5 +49,8 @@ G_GNUC_INTERNAL gboolean _gimp_drawable_preview_get_bounds (GimpDrawable
|
||||||
gint *xmax,
|
gint *xmax,
|
||||||
gint *ymax);
|
gint *ymax);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_DRAWABLE_PREVIEW_H__ */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,12 @@
|
||||||
|
|
||||||
/* NOTE: This file is autogenerated by enumcode.pl */
|
/* NOTE: This file is autogenerated by enumcode.pl */
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_ENUMS_H__
|
||||||
|
#define __GIMP_ENUMS_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_BRUSH_APPLICATION_MODE (gimp_brush_application_mode_get_type ())
|
#define GIMP_TYPE_BRUSH_APPLICATION_MODE (gimp_brush_application_mode_get_type ())
|
||||||
|
|
||||||
GType gimp_brush_application_mode_get_type (void) G_GNUC_CONST;
|
GType gimp_brush_application_mode_get_type (void) G_GNUC_CONST;
|
||||||
|
|
@ -302,4 +304,7 @@ void gimp_enums_init (void);
|
||||||
|
|
||||||
const gchar ** gimp_enums_get_type_names (gint *n_type_names);
|
const gchar ** gimp_enums_get_type_names (gint *n_type_names);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_ENUMS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,12 +19,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __LIBGIMP_GIMP_EXPORT_OPTIONS_H__
|
||||||
|
#define __LIBGIMP_GIMP_EXPORT_OPTIONS_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -44,7 +45,11 @@ typedef enum
|
||||||
} GimpExportReturn;
|
} GimpExportReturn;
|
||||||
|
|
||||||
|
|
||||||
GimpExportReturn gimp_export_options_get_image (GimpExportOptions *options,
|
GimpExportReturn gimp_export_options_get_image (GimpExportOptions *options,
|
||||||
GimpImage **image) G_GNUC_WARN_UNUSED_RESULT;
|
GimpImage **image) G_GNUC_WARN_UNUSED_RESULT;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __LIBGIMP_GIMP_EXPORT_OPTIONS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_EXPORT_PROCEDURE_H__
|
||||||
|
#define __GIMP_EXPORT_PROCEDURE_H__
|
||||||
|
|
||||||
#include <libgimp/gimpfileprocedure.h>
|
#include <libgimp/gimpfileprocedure.h>
|
||||||
|
|
||||||
|
|
@ -53,14 +54,14 @@ G_BEGIN_DECLS
|
||||||
*
|
*
|
||||||
* Since: 3.0
|
* Since: 3.0
|
||||||
**/
|
**/
|
||||||
typedef GimpValueArray * (* GimpRunExportFunc) (GimpProcedure *procedure,
|
typedef GimpValueArray * (* GimpRunExportFunc) (GimpProcedure *procedure,
|
||||||
GimpRunMode run_mode,
|
GimpRunMode run_mode,
|
||||||
GimpImage *image,
|
GimpImage *image,
|
||||||
GFile *file,
|
GFile *file,
|
||||||
GimpExportOptions *options,
|
GimpExportOptions *options,
|
||||||
GimpMetadata *metadata,
|
GimpMetadata *metadata,
|
||||||
GimpProcedureConfig *config,
|
GimpProcedureConfig *config,
|
||||||
gpointer run_data);
|
gpointer run_data);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GimpExportGetCapabilitiesFunc:
|
* GimpExportGetCapabilitiesFunc:
|
||||||
|
|
@ -78,17 +79,14 @@ typedef GimpValueArray * (* GimpRunExportFunc) (GimpProcedure *procedure,
|
||||||
*
|
*
|
||||||
* Since: 3.0
|
* Since: 3.0
|
||||||
**/
|
**/
|
||||||
typedef GimpExportCapabilities (* GimpExportGetCapabilitiesFunc) (GimpProcedure *procedure,
|
typedef GimpExportCapabilities (* GimpExportGetCapabilitiesFunc) (GimpProcedure *procedure,
|
||||||
GimpProcedureConfig *config,
|
GimpProcedureConfig *config,
|
||||||
GimpExportOptions *options,
|
GimpExportOptions *options,
|
||||||
gpointer get_capabilities_data);
|
gpointer get_capabilities_data);
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_EXPORT_PROCEDURE (gimp_export_procedure_get_type ())
|
#define GIMP_TYPE_EXPORT_PROCEDURE (gimp_export_procedure_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpExportProcedure,
|
G_DECLARE_FINAL_TYPE (GimpExportProcedure, gimp_export_procedure, GIMP, EXPORT_PROCEDURE, GimpFileProcedure)
|
||||||
gimp_export_procedure,
|
|
||||||
GIMP, EXPORT_PROCEDURE,
|
|
||||||
GimpFileProcedure)
|
|
||||||
|
|
||||||
|
|
||||||
GimpProcedure * gimp_export_procedure_new (GimpPlugIn *plug_in,
|
GimpProcedure * gimp_export_procedure_new (GimpPlugIn *plug_in,
|
||||||
|
|
@ -126,4 +124,7 @@ gboolean gimp_export_procedure_get_support_profile (GimpExportProcedure
|
||||||
gboolean gimp_export_procedure_get_support_thumbnail (GimpExportProcedure *procedure);
|
gboolean gimp_export_procedure_get_support_thumbnail (GimpExportProcedure *procedure);
|
||||||
gboolean gimp_export_procedure_get_support_comment (GimpExportProcedure *procedure);
|
gboolean gimp_export_procedure_get_support_comment (GimpExportProcedure *procedure);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_EXPORT_PROCEDURE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,22 +18,20 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_EXPORT_PROCEDURE_DIALOG_H__
|
||||||
|
#define __GIMP_EXPORT_PROCEDURE_DIALOG_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_EXPORT_PROCEDURE_DIALOG (gimp_export_procedure_dialog_get_type ())
|
#define GIMP_TYPE_EXPORT_PROCEDURE_DIALOG (gimp_export_procedure_dialog_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpExportProcedureDialog,
|
G_DECLARE_FINAL_TYPE (GimpExportProcedureDialog, gimp_export_procedure_dialog, GIMP, EXPORT_PROCEDURE_DIALOG, GimpProcedureDialog)
|
||||||
gimp_export_procedure_dialog,
|
|
||||||
GIMP, EXPORT_PROCEDURE_DIALOG,
|
|
||||||
GimpProcedureDialog)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_export_procedure_dialog_new (GimpExportProcedure *procedure,
|
GtkWidget * gimp_export_procedure_dialog_new (GimpExportProcedure *procedure,
|
||||||
|
|
@ -43,4 +41,7 @@ GtkWidget * gimp_export_procedure_dialog_new (GimpExportProcedure
|
||||||
void gimp_export_procedure_dialog_add_metadata (GimpExportProcedureDialog *dialog,
|
void gimp_export_procedure_dialog_add_metadata (GimpExportProcedureDialog *dialog,
|
||||||
const gchar *property);
|
const gchar *property);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_EXPORT_PROCEDURE_DIALOG_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_FILE_PROCEDURE_H__
|
||||||
|
#define __GIMP_FILE_PROCEDURE_H__
|
||||||
|
|
||||||
#include <libgimp/gimpprocedure.h>
|
#include <libgimp/gimpprocedure.h>
|
||||||
|
|
||||||
|
|
@ -29,11 +30,7 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_FILE_PROCEDURE (gimp_file_procedure_get_type ())
|
#define GIMP_TYPE_FILE_PROCEDURE (gimp_file_procedure_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpFileProcedure,
|
G_DECLARE_DERIVABLE_TYPE (GimpFileProcedure, gimp_file_procedure, GIMP, FILE_PROCEDURE, GimpProcedure)
|
||||||
gimp_file_procedure,
|
|
||||||
GIMP, FILE_PROCEDURE,
|
|
||||||
GimpProcedure)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpFileProcedureClass
|
struct _GimpFileProcedureClass
|
||||||
{
|
{
|
||||||
|
|
@ -83,4 +80,7 @@ void gimp_file_procedure_set_handles_remote
|
||||||
gboolean gimp_file_procedure_get_handles_remote
|
gboolean gimp_file_procedure_get_handles_remote
|
||||||
(GimpFileProcedure *procedure);
|
(GimpFileProcedure *procedure);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_FILE_PROCEDURE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,27 +19,28 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpresource.h>
|
#ifndef __GIMP_FONT_H__
|
||||||
|
#define __GIMP_FONT_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimpresource.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_FONT (gimp_font_get_type ())
|
#define GIMP_TYPE_FONT (gimp_font_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpFont,
|
G_DECLARE_FINAL_TYPE (GimpFont, gimp_font, GIMP, FONT, GimpResource)
|
||||||
gimp_font,
|
|
||||||
GIMP, FONT,
|
|
||||||
GimpResource)
|
|
||||||
|
|
||||||
|
|
||||||
PangoFontDescription * gimp_font_get_pango_font_description (GimpFont *font);
|
PangoFontDescription * gimp_font_get_pango_font_description (GimpFont *font);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_FONT_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,25 +18,26 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_FONT_CHOOSER_H__
|
||||||
|
#define __GIMP_FONT_CHOOSER_H__
|
||||||
|
|
||||||
#include <libgimp/gimpresourcechooser.h>
|
#include <libgimp/gimpresourcechooser.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GIMP_TYPE_FONT_CHOOSER (gimp_font_chooser_get_type ())
|
#define GIMP_TYPE_FONT_CHOOSER (gimp_font_chooser_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpFontChooser,
|
G_DECLARE_FINAL_TYPE (GimpFontChooser, gimp_font_chooser, GIMP, FONT_CHOOSER, GimpResourceChooser)
|
||||||
gimp_font_chooser,
|
|
||||||
GIMP, FONT_CHOOSER,
|
|
||||||
GimpResourceChooser)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_font_chooser_new (const gchar *title,
|
GtkWidget * gimp_font_chooser_new (const gchar *title,
|
||||||
const gchar *label,
|
const gchar *label,
|
||||||
GimpFont *font);
|
GimpFont *font);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_FONT_CHOOSER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_GIMPRC_H__
|
||||||
|
#define __GIMP_GIMPRC_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -31,4 +32,7 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
GimpColorConfig * gimp_get_color_configuration (void);
|
GimpColorConfig * gimp_get_color_configuration (void);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_GIMPRC_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,12 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_GP_PARAMS_H__
|
||||||
|
#define __GIMP_GP_PARAMS_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
GParamSpec * _gimp_gp_param_def_to_param_spec (const GPParamDef *param_def);
|
GParamSpec * _gimp_gp_param_def_to_param_spec (const GPParamDef *param_def);
|
||||||
gboolean _gimp_param_spec_to_gp_param_def (GParamSpec *pspec,
|
gboolean _gimp_param_spec_to_gp_param_def (GParamSpec *pspec,
|
||||||
GPParamDef *param_def,
|
GPParamDef *param_def,
|
||||||
|
|
@ -40,4 +42,7 @@ void _gimp_gp_params_free (GPParam *params,
|
||||||
gint n_params,
|
gint n_params,
|
||||||
gboolean full_copy);
|
gboolean full_copy);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_GP_PARAMS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,24 +19,25 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpresource.h>
|
#ifndef __GIMP_GRADIENT_H__
|
||||||
|
#define __GIMP_GRADIENT_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimpresource.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_GRADIENT (gimp_gradient_get_type ())
|
#define GIMP_TYPE_GRADIENT (gimp_gradient_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpGradient,
|
G_DECLARE_FINAL_TYPE (GimpGradient, gimp_gradient, GIMP, GRADIENT, GimpResource)
|
||||||
gimp_gradient,
|
|
||||||
GIMP, GRADIENT,
|
|
||||||
GimpResource)
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_GRADIENT_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,25 +18,26 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_GRADIENT_CHOOSER_H__
|
||||||
|
#define __GIMP_GRADIENT_CHOOSER_H__
|
||||||
|
|
||||||
#include <libgimp/gimpresourcechooser.h>
|
#include <libgimp/gimpresourcechooser.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GIMP_TYPE_GRADIENT_CHOOSER (gimp_gradient_chooser_get_type ())
|
#define GIMP_TYPE_GRADIENT_CHOOSER (gimp_gradient_chooser_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpGradientChooser,
|
G_DECLARE_FINAL_TYPE (GimpGradientChooser, gimp_gradient_chooser, GIMP, GRADIENT_CHOOSER, GimpResourceChooser)
|
||||||
gimp_gradient_chooser,
|
|
||||||
GIMP, GRADIENT_CHOOSER,
|
|
||||||
GimpResourceChooser)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_gradient_chooser_new (const gchar *title,
|
GtkWidget * gimp_gradient_chooser_new (const gchar *title,
|
||||||
const gchar *label,
|
const gchar *label,
|
||||||
GimpGradient *gradient);
|
GimpGradient *gradient);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_GRADIENT_CHOOSER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,26 +19,28 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimplayer.h>
|
#ifndef __GIMP_GROUP_LAYER_H__
|
||||||
|
#define __GIMP_GROUP_LAYER_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimplayer.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_GROUP_LAYER (gimp_group_layer_get_type ())
|
#define GIMP_TYPE_GROUP_LAYER (gimp_group_layer_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpGroupLayer,
|
G_DECLARE_FINAL_TYPE (GimpGroupLayer, gimp_group_layer, GIMP, GROUP_LAYER, GimpLayer)
|
||||||
gimp_group_layer,
|
|
||||||
GIMP, GROUP_LAYER,
|
|
||||||
GimpLayer)
|
|
||||||
|
|
||||||
|
|
||||||
GimpGroupLayer * gimp_group_layer_get_by_id (gint32 layer_id);
|
GimpGroupLayer * gimp_group_layer_get_by_id (gint32 layer_id);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_GROUP_LAYER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,22 +18,21 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_IMAGE_H__
|
||||||
|
#define __GIMP_IMAGE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_IMAGE (gimp_image_get_type ())
|
#define GIMP_TYPE_IMAGE (gimp_image_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpImage,
|
G_DECLARE_FINAL_TYPE (GimpImage, gimp_image, GIMP, IMAGE, GObject)
|
||||||
gimp_image,
|
|
||||||
GIMP, IMAGE,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
gint32 gimp_image_get_id (GimpImage *image);
|
gint32 gimp_image_get_id (GimpImage *image);
|
||||||
|
|
@ -72,4 +71,7 @@ GimpMetadata * gimp_image_get_metadata (GimpImage *image);
|
||||||
gboolean gimp_image_set_metadata (GimpImage *image,
|
gboolean gimp_image_set_metadata (GimpImage *image,
|
||||||
GimpMetadata *metadata);
|
GimpMetadata *metadata);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_IMAGE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_IMAGE_COLOR_PROFILE_H__
|
||||||
|
#define __GIMP_IMAGE_COLOR_PROFILE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -44,4 +45,7 @@ gboolean gimp_image_convert_color_profile (GimpImage
|
||||||
GimpColorRenderingIntent intent,
|
GimpColorRenderingIntent intent,
|
||||||
gboolean bpc);
|
gboolean bpc);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_IMAGE_COLOR_PROFILE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,17 +19,17 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_IMAGE_COMBO_BOX_H__
|
||||||
|
#define __GIMP_IMAGE_COMBO_BOX_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GimpImageConstraintFunc:
|
* GimpImageConstraintFunc:
|
||||||
* @image:
|
* @image:
|
||||||
|
|
@ -39,15 +39,15 @@ typedef gboolean (* GimpImageConstraintFunc) (GimpImage *image,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_IMAGE_COMBO_BOX (gimp_image_combo_box_get_type ())
|
#define GIMP_TYPE_IMAGE_COMBO_BOX (gimp_image_combo_box_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpImageComboBox,
|
G_DECLARE_FINAL_TYPE (GimpImageComboBox, gimp_image_combo_box, GIMP, IMAGE_COMBO_BOX, GimpIntComboBox)
|
||||||
gimp_image_combo_box,
|
|
||||||
GIMP, IMAGE_COMBO_BOX,
|
|
||||||
GimpIntComboBox)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_image_combo_box_new (GimpImageConstraintFunc constraint,
|
GtkWidget * gimp_image_combo_box_new (GimpImageConstraintFunc constraint,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify data_destroy);
|
GDestroyNotify data_destroy);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_IMAGE_COMBO_BOX_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,14 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef __GIMP_IMAGE_METADATA_H__
|
||||||
|
#define __GIMP_IMAGE_METADATA_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -57,4 +59,7 @@ G_GNUC_INTERNAL gboolean _gimp_image_metadata_save_finish (GimpImage
|
||||||
GFile *file,
|
GFile *file,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_IMAGE_METADATA_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_IMAGE_PROCEDURE_H__
|
||||||
|
#define __GIMP_IMAGE_PROCEDURE_H__
|
||||||
|
|
||||||
#include <libgimp/gimpprocedure.h>
|
#include <libgimp/gimpprocedure.h>
|
||||||
|
|
||||||
|
|
@ -53,17 +54,17 @@ typedef GimpValueArray * (* GimpRunImageFunc) (GimpProcedure *procedure,
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_IMAGE_PROCEDURE (gimp_image_procedure_get_type ())
|
#define GIMP_TYPE_IMAGE_PROCEDURE (gimp_image_procedure_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpImageProcedure,
|
G_DECLARE_FINAL_TYPE (GimpImageProcedure, gimp_image_procedure, GIMP, IMAGE_PROCEDURE, GimpProcedure)
|
||||||
gimp_image_procedure,
|
|
||||||
GIMP, IMAGE_PROCEDURE,
|
|
||||||
GimpProcedure)
|
|
||||||
|
|
||||||
|
|
||||||
GimpProcedure * gimp_image_procedure_new (GimpPlugIn *plug_in,
|
GimpProcedure * gimp_image_procedure_new (GimpPlugIn *plug_in,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
GimpPDBProcType proc_type,
|
GimpPDBProcType proc_type,
|
||||||
GimpRunImageFunc run_func,
|
GimpRunImageFunc run_func,
|
||||||
gpointer run_data,
|
gpointer run_data,
|
||||||
GDestroyNotify run_data_destroy);
|
GDestroyNotify run_data_destroy);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_IMAGE_PROCEDURE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,22 +19,20 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_ITEM_H__
|
||||||
|
#define __GIMP_ITEM_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_ITEM (gimp_item_get_type ())
|
#define GIMP_TYPE_ITEM (gimp_item_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpItem,
|
G_DECLARE_DERIVABLE_TYPE (GimpItem, gimp_item, GIMP, ITEM, GObject)
|
||||||
gimp_item,
|
|
||||||
GIMP, ITEM,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpItemClass
|
struct _GimpItemClass
|
||||||
|
|
@ -70,4 +68,7 @@ gboolean gimp_item_is_path (GimpItem *item);
|
||||||
|
|
||||||
GList * gimp_item_list_children (GimpItem *item);
|
GList * gimp_item_list_children (GimpItem *item);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_ITEM_H__ */
|
||||||
|
|
|
||||||
|
|
@ -20,12 +20,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_ITEM_COMBO_BOX_H__
|
||||||
|
#define __GIMP_ITEM_COMBO_BOX_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -48,10 +49,10 @@ G_BEGIN_DECLS
|
||||||
#define GIMP_IS_PATH_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_PATH_COMBO_BOX))
|
#define GIMP_IS_PATH_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GIMP_TYPE_PATH_COMBO_BOX))
|
||||||
|
|
||||||
|
|
||||||
GType gimp_drawable_combo_box_get_type (void) G_GNUC_CONST;
|
GType gimp_drawable_combo_box_get_type (void) G_GNUC_CONST;
|
||||||
GType gimp_channel_combo_box_get_type (void) G_GNUC_CONST;
|
GType gimp_channel_combo_box_get_type (void) G_GNUC_CONST;
|
||||||
GType gimp_layer_combo_box_get_type (void) G_GNUC_CONST;
|
GType gimp_layer_combo_box_get_type (void) G_GNUC_CONST;
|
||||||
GType gimp_path_combo_box_get_type (void) G_GNUC_CONST;
|
GType gimp_path_combo_box_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GimpItemConstraintFunc:
|
* GimpItemConstraintFunc:
|
||||||
|
|
@ -63,7 +64,6 @@ typedef gboolean (* GimpItemConstraintFunc) (GimpImage *image,
|
||||||
GimpItem *item,
|
GimpItem *item,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_drawable_combo_box_new (GimpItemConstraintFunc constraint,
|
GtkWidget * gimp_drawable_combo_box_new (GimpItemConstraintFunc constraint,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify data_destroy);
|
GDestroyNotify data_destroy);
|
||||||
|
|
@ -77,4 +77,7 @@ GtkWidget * gimp_path_combo_box_new (GimpItemConstraintFunc constraint,
|
||||||
gpointer data,
|
gpointer data,
|
||||||
GDestroyNotify data_destroy);
|
GDestroyNotify data_destroy);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_ITEM_COMBO_BOX_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,19 +18,21 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpdrawable.h>
|
#ifndef __GIMP_LAYER_H__
|
||||||
|
#define __GIMP_LAYER_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimpdrawable.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_LAYER (gimp_layer_get_type ())
|
#define GIMP_TYPE_LAYER (gimp_layer_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpLayer, gimp_layer, GIMP, LAYER, GimpDrawable)
|
G_DECLARE_DERIVABLE_TYPE (GimpLayer, gimp_layer, GIMP, LAYER, GimpDrawable)
|
||||||
|
|
||||||
|
|
@ -66,5 +68,7 @@ GimpLayer * gimp_layer_new_from_surface (GimpImage *image,
|
||||||
gdouble progress_start,
|
gdouble progress_start,
|
||||||
gdouble progress_end) G_GNUC_WARN_UNUSED_RESULT;
|
gdouble progress_end) G_GNUC_WARN_UNUSED_RESULT;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_LAYER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,26 +19,28 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpchannel.h>
|
#ifndef __GIMP_LAYER_MASK_H__
|
||||||
|
#define __GIMP_LAYER_MASK_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimpchannel.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_LAYER_MASK (gimp_layer_mask_get_type ())
|
#define GIMP_TYPE_LAYER_MASK (gimp_layer_mask_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpLayerMask,
|
G_DECLARE_FINAL_TYPE (GimpLayerMask, gimp_layer_mask, GIMP, LAYER_MASK, GimpChannel)
|
||||||
gimp_layer_mask,
|
|
||||||
GIMP, LAYER_MASK,
|
|
||||||
GimpChannel)
|
|
||||||
|
|
||||||
|
|
||||||
GimpLayerMask * gimp_layer_mask_get_by_id (gint32 layer_mask_id);
|
GimpLayerMask * gimp_layer_mask_get_by_id (gint32 layer_mask_id);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_LAYER_MASK_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_LOAD_PROCEDURE_H__
|
||||||
|
#define __GIMP_LOAD_PROCEDURE_H__
|
||||||
|
|
||||||
#include <libgimp/gimpfileprocedure.h>
|
#include <libgimp/gimpfileprocedure.h>
|
||||||
|
|
||||||
|
|
@ -63,10 +64,7 @@ typedef GimpValueArray * (* GimpRunLoadFunc) (GimpProcedure *procedure,
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_LOAD_PROCEDURE (gimp_load_procedure_get_type ())
|
#define GIMP_TYPE_LOAD_PROCEDURE (gimp_load_procedure_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpLoadProcedure,
|
G_DECLARE_DERIVABLE_TYPE (GimpLoadProcedure, gimp_load_procedure, GIMP, LOAD_PROCEDURE, GimpFileProcedure)
|
||||||
gimp_load_procedure,
|
|
||||||
GIMP, LOAD_PROCEDURE,
|
|
||||||
GimpFileProcedure)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpLoadProcedureClass
|
struct _GimpLoadProcedureClass
|
||||||
|
|
@ -102,4 +100,7 @@ void gimp_load_procedure_set_thumbnail_loader (GimpLoadProcedure *pro
|
||||||
const gchar *thumbnail_proc);
|
const gchar *thumbnail_proc);
|
||||||
const gchar * gimp_load_procedure_get_thumbnail_loader (GimpLoadProcedure *procedure);
|
const gchar * gimp_load_procedure_get_thumbnail_loader (GimpLoadProcedure *procedure);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_LOAD_PROCEDURE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,24 +19,23 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpresource.h>
|
#ifndef __GIMP_PALETTE_H__
|
||||||
|
#define __GIMP_PALETTE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimpresource.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PALETTE (gimp_palette_get_type ())
|
#define GIMP_TYPE_PALETTE (gimp_palette_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpPalette,
|
G_DECLARE_FINAL_TYPE (GimpPalette, gimp_palette, GIMP, PALETTE, GimpResource)
|
||||||
gimp_palette,
|
|
||||||
GIMP, PALETTE,
|
|
||||||
GimpResource)
|
|
||||||
|
|
||||||
|
|
||||||
guint8 * gimp_palette_get_colormap (GimpPalette *palette,
|
guint8 * gimp_palette_get_colormap (GimpPalette *palette,
|
||||||
|
|
@ -50,3 +49,5 @@ gboolean gimp_palette_set_colormap (GimpPalette *palette,
|
||||||
gsize num_bytes);
|
gsize num_bytes);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PALETTE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,25 +18,26 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PALETTE_CHOOSER_H__
|
||||||
|
#define __GIMP_PALETTE_CHOOSER_H__
|
||||||
|
|
||||||
#include <libgimp/gimpresourcechooser.h>
|
#include <libgimp/gimpresourcechooser.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GIMP_TYPE_PALETTE_CHOOSER (gimp_palette_chooser_get_type ())
|
#define GIMP_TYPE_PALETTE_CHOOSER (gimp_palette_chooser_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpPaletteChooser,
|
G_DECLARE_FINAL_TYPE (GimpPaletteChooser, gimp_palette_chooser, GIMP, PALETTE_CHOOSER, GimpResourceChooser)
|
||||||
gimp_palette_chooser,
|
|
||||||
GIMP, PALETTE_CHOOSER,
|
|
||||||
GimpResourceChooser)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_palette_chooser_new (const gchar *title,
|
GtkWidget * gimp_palette_chooser_new (const gchar *title,
|
||||||
const gchar *label,
|
const gchar *label,
|
||||||
GimpPalette *palette);
|
GimpPalette *palette);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PALETTE_CHOOSER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,17 +18,22 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PARAM_SPECS_DESC_H__
|
||||||
|
#define __GIMP_PARAM_SPECS_DESC_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
gchar * gimp_param_spec_get_desc (GParamSpec *pspec);
|
gchar * gimp_param_spec_get_desc (GParamSpec *pspec);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PARAM_SPECS_DESC_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __LIBGIMP_GIMP_PARAM_SPECS_H__
|
||||||
|
#define __LIBGIMP_GIMP_PARAM_SPECS_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -393,4 +394,7 @@ GParamSpec * gimp_param_spec_font (const gchar *name,
|
||||||
gboolean default_to_context,
|
gboolean default_to_context,
|
||||||
GParamFlags flags);
|
GParamFlags flags);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __LIBGIMP_GIMP_PARAM_SPECS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,24 +19,25 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PATH_H__
|
||||||
|
#define __GIMP_PATH_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PATH (gimp_path_get_type ())
|
#define GIMP_TYPE_PATH (gimp_path_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpPath,
|
G_DECLARE_FINAL_TYPE (GimpPath, gimp_path, GIMP, PATH, GimpItem)
|
||||||
gimp_path,
|
|
||||||
GIMP, PATH,
|
|
||||||
GimpItem)
|
|
||||||
|
|
||||||
|
|
||||||
GimpPath * gimp_path_get_by_id (gint32 path_id);
|
GimpPath * gimp_path_get_by_id (gint32 path_id);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PATH_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,24 +19,24 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpresource.h>
|
#ifndef __GIMP_PATTERN_H__
|
||||||
|
#define __GIMP_PATTERN_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimpresource.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PATTERN (gimp_pattern_get_type ())
|
#define GIMP_TYPE_PATTERN (gimp_pattern_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpPattern,
|
G_DECLARE_FINAL_TYPE (GimpPattern, gimp_pattern, GIMP, PATTERN, GimpResource)
|
||||||
gimp_pattern,
|
|
||||||
GIMP, PATTERN,
|
|
||||||
GimpResource)
|
|
||||||
|
|
||||||
|
|
||||||
GeglBuffer * gimp_pattern_get_buffer (GimpPattern *pattern,
|
GeglBuffer * gimp_pattern_get_buffer (GimpPattern *pattern,
|
||||||
|
|
@ -45,3 +45,5 @@ GeglBuffer * gimp_pattern_get_buffer (GimpPattern *pattern,
|
||||||
const Babl *format) G_GNUC_WARN_UNUSED_RESULT;
|
const Babl *format) G_GNUC_WARN_UNUSED_RESULT;
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PATTERN_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,26 +18,26 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PATTERN_CHOOSER_H__
|
||||||
|
#define __GIMP_PATTERN_CHOOSER_H__
|
||||||
|
|
||||||
#include <libgimp/gimpresourcechooser.h>
|
#include <libgimp/gimpresourcechooser.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GIMP_TYPE_PATTERN_CHOOSER (gimp_pattern_chooser_get_type ())
|
#define GIMP_TYPE_PATTERN_CHOOSER (gimp_pattern_chooser_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpPatternChooser,
|
G_DECLARE_FINAL_TYPE (GimpPatternChooser, gimp_pattern_chooser, GIMP, PATTERN_CHOOSER, GimpResourceChooser)
|
||||||
gimp_pattern_chooser,
|
|
||||||
GIMP, PATTERN_CHOOSER,
|
|
||||||
GimpResourceChooser)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_pattern_chooser_new (const gchar *title,
|
GtkWidget * gimp_pattern_chooser_new (const gchar *title,
|
||||||
const gchar *label,
|
const gchar *label,
|
||||||
GimpPattern *pattern);
|
GimpPattern *pattern);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PATTERN_CHOOSER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,12 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_PDB_PRIVATE_H__
|
||||||
|
#define __GIMP_PDB_PRIVATE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
GIMP_PDB_ERROR_FAILED, /* generic error condition */
|
GIMP_PDB_ERROR_FAILED, /* generic error condition */
|
||||||
|
|
@ -39,13 +41,16 @@ typedef enum
|
||||||
GQuark _gimp_pdb_error_quark (void) G_GNUC_CONST;
|
GQuark _gimp_pdb_error_quark (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
G_GNUC_INTERNAL GimpPDB * _gimp_pdb_new (GimpPlugIn *plug_in);
|
G_GNUC_INTERNAL GimpPDB * _gimp_pdb_new (GimpPlugIn *plug_in);
|
||||||
|
|
||||||
G_GNUC_INTERNAL GimpPlugIn * _gimp_pdb_get_plug_in (GimpPDB *pdb);
|
G_GNUC_INTERNAL GimpPlugIn * _gimp_pdb_get_plug_in (GimpPDB *pdb);
|
||||||
|
|
||||||
|
gboolean gimp_pdb_get_data (const gchar *identifier,
|
||||||
|
GBytes **data);
|
||||||
|
gboolean gimp_pdb_set_data (const gchar *identifier,
|
||||||
|
GBytes *data);
|
||||||
|
|
||||||
gboolean gimp_pdb_get_data (const gchar *identifier,
|
|
||||||
GBytes **data);
|
|
||||||
gboolean gimp_pdb_set_data (const gchar *identifier,
|
|
||||||
GBytes *data);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PDB_PRIVATE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,22 +19,20 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PDB_H__
|
||||||
|
#define __GIMP_PDB_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PDB (gimp_pdb_get_type ())
|
#define GIMP_TYPE_PDB (gimp_pdb_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpPDB,
|
G_DECLARE_FINAL_TYPE (GimpPDB, gimp_pdb, GIMP, PDB, GObject)
|
||||||
gimp_pdb,
|
|
||||||
GIMP, PDB,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
gboolean gimp_pdb_procedure_exists (GimpPDB *pdb,
|
gboolean gimp_pdb_procedure_exists (GimpPDB *pdb,
|
||||||
|
|
@ -67,4 +65,7 @@ G_GNUC_INTERNAL GimpValueArray * _gimp_pdb_run_procedure_array (GimpPDB
|
||||||
const gchar *procedure_name,
|
const gchar *procedure_name,
|
||||||
const GimpValueArray *arguments);
|
const GimpValueArray *arguments);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PDB_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_PDB_PROCEDURE_H__
|
||||||
|
#define __GIMP_PDB_PROCEDURE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
@ -27,13 +28,13 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PDB_PROCEDURE (_gimp_pdb_procedure_get_type ())
|
#define GIMP_TYPE_PDB_PROCEDURE (_gimp_pdb_procedure_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpPDBProcedure,
|
G_DECLARE_FINAL_TYPE (GimpPDBProcedure, _gimp_pdb_procedure, GIMP, PDB_PROCEDURE, GimpProcedure)
|
||||||
_gimp_pdb_procedure,
|
|
||||||
GIMP, PDB_PROCEDURE,
|
|
||||||
GimpProcedure)
|
|
||||||
|
|
||||||
|
|
||||||
G_GNUC_INTERNAL GimpProcedure * _gimp_pdb_procedure_new (GimpPDB *pdb,
|
G_GNUC_INTERNAL GimpProcedure * _gimp_pdb_procedure_new (GimpPDB *pdb,
|
||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PDB_PROCEDURE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,12 +19,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __LIBGIMP_GIMP_PIXBUF_H__
|
||||||
|
#define __LIBGIMP_GIMP_PIXBUF_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -36,4 +37,7 @@ G_GNUC_INTERNAL GdkPixbuf * _gimp_pixbuf_from_data (guchar *data
|
||||||
gint bpp,
|
gint bpp,
|
||||||
GimpPixbufTransparency alpha);
|
GimpPixbufTransparency alpha);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __LIBGIMP_GIMP_PIXBUF_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,24 +19,22 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PLUG_IN_H__
|
||||||
|
#define __GIMP_PLUG_IN_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_PLUG_IN_ERROR (gimp_plug_in_error_quark ())
|
#define GIMP_PLUG_IN_ERROR (gimp_plug_in_error_quark ())
|
||||||
|
|
||||||
#define GIMP_TYPE_PLUG_IN (gimp_plug_in_get_type ())
|
#define GIMP_TYPE_PLUG_IN (gimp_plug_in_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpPlugIn,
|
G_DECLARE_DERIVABLE_TYPE (GimpPlugIn, gimp_plug_in, GIMP, PLUG_IN, GObject)
|
||||||
gimp_plug_in,
|
|
||||||
GIMP, PLUG_IN,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -216,4 +214,7 @@ void gimp_plug_in_set_pdb_error_handler (GimpPlugIn *plug_in,
|
||||||
GimpPDBErrorHandler
|
GimpPDBErrorHandler
|
||||||
gimp_plug_in_get_pdb_error_handler (GimpPlugIn *plug_in);
|
gimp_plug_in_get_pdb_error_handler (GimpPlugIn *plug_in);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PLUG_IN_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,22 +18,21 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PROC_BROWSER_DIALOG_H__
|
||||||
|
#define __GIMP_PROC_BROWSER_DIALOG_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PROC_BROWSER_DIALOG (gimp_proc_browser_dialog_get_type ())
|
#define GIMP_TYPE_PROC_BROWSER_DIALOG (gimp_proc_browser_dialog_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpProcBrowserDialog,
|
G_DECLARE_FINAL_TYPE (GimpProcBrowserDialog, gimp_proc_browser_dialog, GIMP, PROC_BROWSER_DIALOG, GimpDialog)
|
||||||
gimp_proc_browser_dialog,
|
|
||||||
GIMP, PROC_BROWSER_DIALOG,
|
|
||||||
GimpDialog)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_proc_browser_dialog_new (const gchar *title,
|
GtkWidget * gimp_proc_browser_dialog_new (const gchar *title,
|
||||||
|
|
@ -44,4 +43,7 @@ GtkWidget * gimp_proc_browser_dialog_new (const gchar *title,
|
||||||
|
|
||||||
gchar * gimp_proc_browser_dialog_get_selected (GimpProcBrowserDialog *dialog);
|
gchar * gimp_proc_browser_dialog_get_selected (GimpProcBrowserDialog *dialog);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROC_BROWSER_DIALOG_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,12 +19,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PROCEDURE_PARAMS_H__
|
||||||
|
#define __GIMP_PROCEDURE_PARAMS_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -1139,4 +1140,7 @@ void gimp_procedure_add_pattern_return_value (GimpProcedure *procedure
|
||||||
const gchar *blurb,
|
const gchar *blurb,
|
||||||
GParamFlags flags);
|
GParamFlags flags);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROCEDURE_PARAMS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,12 +19,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PROCEDURE_H__
|
||||||
|
#define __GIMP_PROCEDURE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -65,10 +66,7 @@ typedef enum
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PROCEDURE (gimp_procedure_get_type ())
|
#define GIMP_TYPE_PROCEDURE (gimp_procedure_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpProcedure,
|
G_DECLARE_DERIVABLE_TYPE (GimpProcedure, gimp_procedure, GIMP, PROCEDURE, GObject)
|
||||||
gimp_procedure,
|
|
||||||
GIMP, PROCEDURE,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -234,4 +232,7 @@ G_GNUC_INTERNAL GimpValueArray * _gimp_procedure_run_array (GimpPro
|
||||||
G_GNUC_INTERNAL gint _gimp_procedure_get_ref_count (GimpProcedure *procedure,
|
G_GNUC_INTERNAL gint _gimp_procedure_get_ref_count (GimpProcedure *procedure,
|
||||||
GObject *object);
|
GObject *object);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROCEDURE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,12 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_PROCEDURE_CONFIG_PRIVATE_H__
|
||||||
|
#define __GIMP_PROCEDURE_CONFIG_PRIVATE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
G_GNUC_INTERNAL void _gimp_procedure_config_get_values (GimpProcedureConfig *config,
|
G_GNUC_INTERNAL void _gimp_procedure_config_get_values (GimpProcedureConfig *config,
|
||||||
GimpValueArray *values);
|
GimpValueArray *values);
|
||||||
|
|
||||||
|
|
@ -56,4 +58,7 @@ gboolean gimp_procedure_config_load_default (GimpProcedureConfig *config,
|
||||||
gboolean gimp_procedure_config_save_default (GimpProcedureConfig *config,
|
gboolean gimp_procedure_config_save_default (GimpProcedureConfig *config,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROCEDURE_CONFIG_PRIVATE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,23 +19,20 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PROCEDURE_CONFIG_H__
|
||||||
|
#define __GIMP_PROCEDURE_CONFIG_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PROCEDURE_CONFIG (gimp_procedure_config_get_type ())
|
#define GIMP_TYPE_PROCEDURE_CONFIG (gimp_procedure_config_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpProcedureConfig,
|
G_DECLARE_DERIVABLE_TYPE (GimpProcedureConfig, gimp_procedure_config, GIMP, PROCEDURE_CONFIG, GObject)
|
||||||
gimp_procedure_config,
|
|
||||||
GIMP, PROCEDURE_CONFIG,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpProcedureConfigClass
|
struct _GimpProcedureConfigClass
|
||||||
{
|
{
|
||||||
|
|
@ -84,4 +81,7 @@ void gimp_procedure_config_set_color_array (GimpProcedureConfi
|
||||||
gint gimp_procedure_config_get_choice_id (GimpProcedureConfig *config,
|
gint gimp_procedure_config_get_choice_id (GimpProcedureConfig *config,
|
||||||
const gchar *property_name);
|
const gchar *property_name);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROCEDURE_CONFIG_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,23 +18,20 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PROCEDURE_DIALOG_H__
|
||||||
|
#define __GIMP_PROCEDURE_DIALOG_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PROCEDURE_DIALOG (gimp_procedure_dialog_get_type ())
|
#define GIMP_TYPE_PROCEDURE_DIALOG (gimp_procedure_dialog_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpProcedureDialog,
|
G_DECLARE_DERIVABLE_TYPE (GimpProcedureDialog, gimp_procedure_dialog, GIMP, PROCEDURE_DIALOG, GimpDialog)
|
||||||
gimp_procedure_dialog,
|
|
||||||
GIMP, PROCEDURE_DIALOG,
|
|
||||||
GimpDialog)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpProcedureDialogClass
|
struct _GimpProcedureDialogClass
|
||||||
{
|
{
|
||||||
|
|
@ -189,4 +186,7 @@ void gimp_procedure_dialog_set_sensitive_if_in (GimpProcedureDialog *dial
|
||||||
|
|
||||||
gboolean gimp_procedure_dialog_run (GimpProcedureDialog *dialog);
|
gboolean gimp_procedure_dialog_run (GimpProcedureDialog *dialog);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROCEDURE_DIALOG_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,17 +18,22 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PROC_VIEW_H__
|
||||||
|
#define __GIMP_PROC_VIEW_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_proc_view_new (const gchar *procedure_name);
|
GtkWidget * gimp_proc_view_new (const gchar *procedure_name);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROC_VIEW_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PROGRESS_H__
|
||||||
|
#define __GIMP_PROGRESS_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -131,5 +132,7 @@ gboolean gimp_progress_set_text_printf (const gchar *format,
|
||||||
|
|
||||||
gboolean gimp_progress_update (gdouble percentage);
|
gboolean gimp_progress_update (gdouble percentage);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROGRESS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,21 +19,23 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_PROGRESS_BAR_H__
|
||||||
|
#define __GIMP_PROGRESS_BAR_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_PROGRESS_BAR (gimp_progress_bar_get_type ())
|
#define GIMP_TYPE_PROGRESS_BAR (gimp_progress_bar_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpProgressBar,
|
G_DECLARE_FINAL_TYPE (GimpProgressBar, gimp_progress_bar, GIMP, PROGRESS_BAR, GtkProgressBar)
|
||||||
gimp_progress_bar,
|
|
||||||
GIMP, PROGRESS_BAR,
|
|
||||||
GtkProgressBar)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_progress_bar_new (void);
|
GtkWidget * gimp_progress_bar_new (void);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROGRESS_BAR_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,34 +19,40 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef __GIMP_PROP_WIDGETS_H__
|
||||||
|
#define __GIMP_PROP_WIDGETS_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* GimpParamResource */
|
/* GimpParamResource */
|
||||||
|
|
||||||
GtkWidget * gimp_prop_brush_chooser_new (GObject *config,
|
GtkWidget * gimp_prop_brush_chooser_new (GObject *config,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
const gchar *chooser_title);
|
const gchar *chooser_title);
|
||||||
GtkWidget * gimp_prop_font_chooser_new (GObject *config,
|
GtkWidget * gimp_prop_font_chooser_new (GObject *config,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
const gchar *chooser_title);
|
const gchar *chooser_title);
|
||||||
GtkWidget * gimp_prop_gradient_chooser_new (GObject *config,
|
GtkWidget * gimp_prop_gradient_chooser_new (GObject *config,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
const gchar *chooser_title);
|
const gchar *chooser_title);
|
||||||
GtkWidget * gimp_prop_palette_chooser_new (GObject *config,
|
GtkWidget * gimp_prop_palette_chooser_new (GObject *config,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
const gchar *chooser_title);
|
const gchar *chooser_title);
|
||||||
GtkWidget * gimp_prop_pattern_chooser_new (GObject *config,
|
GtkWidget * gimp_prop_pattern_chooser_new (GObject *config,
|
||||||
const gchar *property_name,
|
const gchar *property_name,
|
||||||
const gchar *chooser_title);
|
const gchar *chooser_title);
|
||||||
GtkWidget * gimp_prop_drawable_chooser_new (GObject *config,
|
|
||||||
const gchar *property_name,
|
GtkWidget * gimp_prop_drawable_chooser_new (GObject *config,
|
||||||
const gchar *chooser_title);
|
const gchar *property_name,
|
||||||
|
const gchar *chooser_title);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PROP_WIDGETS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,13 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_RESOLUTION_ENTRY__
|
||||||
|
#define __GIMP_RESOLUTION_ENTRY__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -40,40 +41,40 @@ G_BEGIN_DECLS
|
||||||
* with a much nicer API and also adding a property widget function.
|
* with a much nicer API and also adding a property widget function.
|
||||||
*/
|
*/
|
||||||
#define GIMP_TYPE_RESOLUTION_ENTRY (gimp_resolution_entry_get_type ())
|
#define GIMP_TYPE_RESOLUTION_ENTRY (gimp_resolution_entry_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpResolutionEntry,
|
G_DECLARE_FINAL_TYPE (GimpResolutionEntry, gimp_resolution_entry, GIMP, RESOLUTION_ENTRY, GtkGrid)
|
||||||
gimp_resolution_entry,
|
|
||||||
GIMP, RESOLUTION_ENTRY,
|
|
||||||
GtkGrid)
|
|
||||||
|
|
||||||
|
typedef struct _GimpResolutionEntry GimpResolutionEntry;
|
||||||
|
|
||||||
GtkWidget * gimp_prop_resolution_entry_new (GObject *config,
|
GtkWidget * gimp_prop_resolution_entry_new (GObject *config,
|
||||||
const gchar *width_prop,
|
const gchar *width_prop,
|
||||||
const gchar *height_prop,
|
const gchar *height_prop,
|
||||||
const gchar *ppi_prop,
|
const gchar *ppi_prop,
|
||||||
const gchar *unit_prop);
|
const gchar *unit_prop);
|
||||||
GtkWidget * gimp_resolution_entry_new (const gchar *width_label,
|
GtkWidget * gimp_resolution_entry_new (const gchar *width_label,
|
||||||
gint width,
|
gint width,
|
||||||
const gchar *height_label,
|
const gchar *height_label,
|
||||||
gint height,
|
gint height,
|
||||||
const gchar *res_label,
|
const gchar *res_label,
|
||||||
gdouble pixel_density,
|
gdouble pixel_density,
|
||||||
GimpUnit *display_unit);
|
GimpUnit *display_unit);
|
||||||
|
|
||||||
void gimp_resolution_entry_set_width (GimpResolutionEntry *entry,
|
void gimp_resolution_entry_set_width (GimpResolutionEntry *entry,
|
||||||
gint width);
|
gint width);
|
||||||
void gimp_resolution_entry_set_height (GimpResolutionEntry *entry,
|
void gimp_resolution_entry_set_height (GimpResolutionEntry *entry,
|
||||||
gint height);
|
gint height);
|
||||||
void gimp_resolution_entry_set_pixel_density (GimpResolutionEntry *entry,
|
void gimp_resolution_entry_set_pixel_density (GimpResolutionEntry *entry,
|
||||||
gdouble ppi);
|
gdouble ppi);
|
||||||
void gimp_resolution_entry_set_unit (GimpResolutionEntry *entry,
|
void gimp_resolution_entry_set_unit (GimpResolutionEntry *entry,
|
||||||
GimpUnit *unit);
|
GimpUnit *unit);
|
||||||
void gimp_resolution_entry_set_keep_ratio (GimpResolutionEntry *entry,
|
void gimp_resolution_entry_set_keep_ratio (GimpResolutionEntry *entry,
|
||||||
gboolean keep_ratio);
|
gboolean keep_ratio);
|
||||||
|
|
||||||
gint gimp_resolution_entry_get_width (GimpResolutionEntry *entry);
|
gint gimp_resolution_entry_get_width (GimpResolutionEntry *entry);
|
||||||
gint gimp_resolution_entry_get_height (GimpResolutionEntry *entry);
|
gint gimp_resolution_entry_get_height (GimpResolutionEntry *entry);
|
||||||
gdouble gimp_resolution_entry_get_density (GimpResolutionEntry *entry);
|
gdouble gimp_resolution_entry_get_density (GimpResolutionEntry *entry);
|
||||||
GimpUnit * gimp_resolution_entry_get_unit (GimpResolutionEntry *entry);
|
GimpUnit * gimp_resolution_entry_get_unit (GimpResolutionEntry *entry);
|
||||||
gboolean gimp_resolution_entry_get_keep_ratio (GimpResolutionEntry *entry);
|
gboolean gimp_resolution_entry_get_keep_ratio (GimpResolutionEntry *entry);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_RESOLUTION_ENTRY__ */
|
||||||
|
|
|
||||||
|
|
@ -16,22 +16,20 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_RESOURCE_H__
|
||||||
|
#define __GIMP_RESOURCE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_RESOURCE (gimp_resource_get_type ())
|
#define GIMP_TYPE_RESOURCE (gimp_resource_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpResource,
|
G_DECLARE_DERIVABLE_TYPE (GimpResource, gimp_resource, GIMP, RESOURCE, GObject)
|
||||||
gimp_resource,
|
|
||||||
GIMP, RESOURCE,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpResourceClass
|
struct _GimpResourceClass
|
||||||
|
|
@ -51,7 +49,6 @@ struct _GimpResourceClass
|
||||||
void (*_gimp_reserved9) (void);
|
void (*_gimp_reserved9) (void);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
gint32 gimp_resource_get_id (GimpResource *resource);
|
gint32 gimp_resource_get_id (GimpResource *resource);
|
||||||
GimpResource * gimp_resource_get_by_id (gint32 resource_id);
|
GimpResource * gimp_resource_get_by_id (gint32 resource_id);
|
||||||
GimpResource * gimp_resource_get_by_name (GType resource_type,
|
GimpResource * gimp_resource_get_by_name (GType resource_type,
|
||||||
|
|
@ -64,4 +61,7 @@ gboolean gimp_resource_is_gradient (GimpResource *resource);
|
||||||
gboolean gimp_resource_is_palette (GimpResource *resource);
|
gboolean gimp_resource_is_palette (GimpResource *resource);
|
||||||
gboolean gimp_resource_is_font (GimpResource *resource);
|
gboolean gimp_resource_is_font (GimpResource *resource);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_RESOURCE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -16,20 +16,17 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_RESOURCE_CHOOSER_H__
|
||||||
|
#define __GIMP_RESOURCE_CHOOSER_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GIMP_TYPE_RESOURCE_CHOOSER (gimp_resource_chooser_get_type ())
|
#define GIMP_TYPE_RESOURCE_CHOOSER (gimp_resource_chooser_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpResourceChooser,
|
G_DECLARE_DERIVABLE_TYPE (GimpResourceChooser, gimp_resource_chooser, GIMP, RESOURCE_CHOOSER, GtkBox)
|
||||||
gimp_resource_chooser,
|
|
||||||
GIMP, RESOURCE_CHOOSER,
|
|
||||||
GtkBox)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpResourceChooserClass
|
struct _GimpResourceChooserClass
|
||||||
{
|
{
|
||||||
|
|
@ -64,3 +61,5 @@ G_GNUC_INTERNAL void _gimp_resource_chooser_set_clickable (GimpResourceChoose
|
||||||
GtkWidget *widget);
|
GtkWidget *widget);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_RESOURCE_CHOOSER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -16,12 +16,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_RESOURCE_SELECT_H__
|
||||||
|
#define __GIMP_RESOURCE_SELECT_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -36,16 +37,17 @@ typedef void (* GimpResourceChoosedCallback) (GimpResource *resource,
|
||||||
gboolean is_dialog_closing,
|
gboolean is_dialog_closing,
|
||||||
gpointer owner_data);
|
gpointer owner_data);
|
||||||
|
|
||||||
|
const gchar * gimp_resource_select_new (const gchar *title,
|
||||||
|
GBytes *parent_handle,
|
||||||
|
GimpResource *resource,
|
||||||
|
GType resource_type,
|
||||||
|
GimpResourceChoosedCallback callback,
|
||||||
|
gpointer owner_data,
|
||||||
|
GDestroyNotify data_destroy);
|
||||||
|
|
||||||
const gchar * gimp_resource_select_new (const gchar *title,
|
void gimp_resource_select_set (const gchar *callback_name,
|
||||||
GBytes *parent_handle,
|
GimpResource *resource);
|
||||||
GimpResource *resource,
|
|
||||||
GType resource_type,
|
|
||||||
GimpResourceChoosedCallback callback,
|
|
||||||
gpointer owner_data,
|
|
||||||
GDestroyNotify data_destroy);
|
|
||||||
|
|
||||||
void gimp_resource_select_set (const gchar *callback_name,
|
|
||||||
GimpResource *resource);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_RESOURCE_SELECT_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,31 +18,33 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimpchannel.h>
|
#ifndef __GIMP_SELECTION_H__
|
||||||
|
#define __GIMP_SELECTION_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimpchannel.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_SELECTION (gimp_selection_get_type ())
|
#define GIMP_TYPE_SELECTION (gimp_selection_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpSelection,
|
G_DECLARE_FINAL_TYPE (GimpSelection, gimp_selection, GIMP, SELECTION, GimpChannel)
|
||||||
gimp_selection,
|
|
||||||
GIMP, SELECTION,
|
|
||||||
GimpChannel)
|
|
||||||
|
|
||||||
|
|
||||||
GimpSelection * gimp_selection_get_by_id (gint32 selection_id);
|
GimpSelection * gimp_selection_get_by_id (gint32 selection_id);
|
||||||
|
|
||||||
GimpLayer * gimp_selection_float (GimpImage *image,
|
GimpLayer * gimp_selection_float (GimpImage *image,
|
||||||
GimpDrawable **drawables,
|
GimpDrawable **drawables,
|
||||||
gint offx,
|
gint offx,
|
||||||
gint offy);
|
gint offy);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_SELECTION_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,26 +19,28 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <libgimp/gimplayer.h>
|
#ifndef __GIMP_TEXT_LAYER_H__
|
||||||
|
#define __GIMP_TEXT_LAYER_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
|
#include <libgimp/gimplayer.h>
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_TEXT_LAYER (gimp_text_layer_get_type ())
|
#define GIMP_TYPE_TEXT_LAYER (gimp_text_layer_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpTextLayer,
|
G_DECLARE_FINAL_TYPE (GimpTextLayer, gimp_text_layer, GIMP, TEXT_LAYER, GimpLayer)
|
||||||
gimp_text_layer,
|
|
||||||
GIMP, TEXT_LAYER,
|
|
||||||
GimpLayer)
|
|
||||||
|
|
||||||
|
|
||||||
GimpTextLayer * gimp_text_layer_get_by_id (gint32 layer_id);
|
GimpTextLayer * gimp_text_layer_get_by_id (gint32 layer_id);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_TEXT_LAYER_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_THUMBNAIL_PROCEDURE_H__
|
||||||
|
#define __GIMP_THUMBNAIL_PROCEDURE_H__
|
||||||
|
|
||||||
#include <libgimp/gimpprocedure.h>
|
#include <libgimp/gimpprocedure.h>
|
||||||
|
|
||||||
|
|
@ -63,17 +64,17 @@ typedef GimpValueArray * (* GimpRunThumbnailFunc) (GimpProcedure *procedu
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_THUMBNAIL_PROCEDURE (gimp_thumbnail_procedure_get_type ())
|
#define GIMP_TYPE_THUMBNAIL_PROCEDURE (gimp_thumbnail_procedure_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpThumbnailProcedure,
|
G_DECLARE_FINAL_TYPE (GimpThumbnailProcedure, gimp_thumbnail_procedure, GIMP, THUMBNAIL_PROCEDURE, GimpProcedure)
|
||||||
gimp_thumbnail_procedure,
|
|
||||||
GIMP, THUMBNAIL_PROCEDURE,
|
|
||||||
GimpProcedure)
|
|
||||||
|
|
||||||
|
|
||||||
GimpProcedure * gimp_thumbnail_procedure_new (GimpPlugIn *plug_in,
|
GimpProcedure * gimp_thumbnail_procedure_new (GimpPlugIn *plug_in,
|
||||||
const gchar *name,
|
const gchar *name,
|
||||||
GimpPDBProcType proc_type,
|
GimpPDBProcType proc_type,
|
||||||
GimpRunThumbnailFunc run_func,
|
GimpRunThumbnailFunc run_func,
|
||||||
gpointer run_data,
|
gpointer run_data,
|
||||||
GDestroyNotify run_data_destroy);
|
GDestroyNotify run_data_destroy);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_THUMBNAIL_PROCEDURE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_TILE_BACKEND_PLUGIN_H__
|
||||||
|
#define __GIMP_TILE_BACKEND_PLUGIN_H__
|
||||||
|
|
||||||
#include <gegl-buffer-backend.h>
|
#include <gegl-buffer-backend.h>
|
||||||
|
|
||||||
|
|
@ -55,3 +56,5 @@ GeglTileBackend * _gimp_tile_backend_plugin_new (GimpDrawable *drawable,
|
||||||
gint shadow);
|
gint shadow);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_TILE_BACKEND_PLUGIN_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_TYPES_H__
|
||||||
|
#define __GIMP_TYPES_H__
|
||||||
|
|
||||||
#include <libgimpbase/gimpbasetypes.h>
|
#include <libgimpbase/gimpbasetypes.h>
|
||||||
|
|
||||||
|
|
@ -80,4 +81,7 @@ typedef enum
|
||||||
GIMP_PIXBUF_LARGE_CHECKS
|
GIMP_PIXBUF_LARGE_CHECKS
|
||||||
} GimpPixbufTransparency;
|
} GimpPixbufTransparency;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_TYPES_H__ */
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_UI_H__
|
||||||
|
#define __GIMP_UI_H__
|
||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
|
@ -63,4 +64,7 @@ void gimp_window_set_transient_for (GtkWindow *window,
|
||||||
void gimp_window_set_transient_for_display (GtkWindow *window,
|
void gimp_window_set_transient_for_display (GtkWindow *window,
|
||||||
GimpDisplay *display);
|
GimpDisplay *display);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_UI_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_UI_TYPES_H__
|
||||||
|
#define __GIMP_UI_TYPES_H__
|
||||||
|
|
||||||
#include <libgimpwidgets/gimpwidgetstypes.h>
|
#include <libgimpwidgets/gimpwidgetstypes.h>
|
||||||
|
|
||||||
|
|
@ -52,4 +53,7 @@ typedef struct _GimpGradientChooser GimpGradientChooser;
|
||||||
typedef struct _GimpPaletteChooser GimpPaletteChooser;
|
typedef struct _GimpPaletteChooser GimpPaletteChooser;
|
||||||
typedef struct _GimpPatternChooser GimpPatternChooser;
|
typedef struct _GimpPatternChooser GimpPatternChooser;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_UI_TYPES_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_VECTOR_LOAD_PROCEDURE_H__
|
||||||
|
#define __GIMP_VECTOR_LOAD_PROCEDURE_H__
|
||||||
|
|
||||||
#include <libgimp/gimpfileprocedure.h>
|
#include <libgimp/gimpfileprocedure.h>
|
||||||
|
|
||||||
|
|
@ -150,23 +151,20 @@ typedef GimpValueArray * (* GimpRunVectorLoadFunc) (GimpProcedure
|
||||||
*
|
*
|
||||||
* Since: 3.0
|
* Since: 3.0
|
||||||
**/
|
**/
|
||||||
typedef gboolean (* GimpExtractVectorFunc) (GimpProcedure *procedure,
|
typedef gboolean (* GimpExtractVectorFunc) (GimpProcedure *procedure,
|
||||||
GimpRunMode run_mode,
|
GimpRunMode run_mode,
|
||||||
GFile *file,
|
GFile *file,
|
||||||
GimpMetadata *metadata,
|
GimpMetadata *metadata,
|
||||||
GimpProcedureConfig *config,
|
GimpProcedureConfig *config,
|
||||||
GimpVectorLoadData *extracted_data,
|
GimpVectorLoadData *extracted_data,
|
||||||
gpointer *data_for_run,
|
gpointer *data_for_run,
|
||||||
GDestroyNotify *data_for_run_destroy,
|
GDestroyNotify *data_for_run_destroy,
|
||||||
gpointer extract_data,
|
gpointer extract_data,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_VECTOR_LOAD_PROCEDURE (gimp_vector_load_procedure_get_type ())
|
#define GIMP_TYPE_VECTOR_LOAD_PROCEDURE (gimp_vector_load_procedure_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpVectorLoadProcedure,
|
G_DECLARE_FINAL_TYPE (GimpVectorLoadProcedure, gimp_vector_load_procedure, GIMP, VECTOR_LOAD_PROCEDURE, GimpLoadProcedure)
|
||||||
gimp_vector_load_procedure,
|
|
||||||
GIMP, VECTOR_LOAD_PROCEDURE,
|
|
||||||
GimpLoadProcedure)
|
|
||||||
|
|
||||||
|
|
||||||
GimpProcedure * gimp_vector_load_procedure_new (GimpPlugIn *plug_in,
|
GimpProcedure * gimp_vector_load_procedure_new (GimpPlugIn *plug_in,
|
||||||
|
|
@ -184,4 +182,7 @@ gboolean gimp_vector_load_procedure_extract_dimensions (GimpVectorLoadPro
|
||||||
GimpVectorLoadData *data,
|
GimpVectorLoadData *data,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_VECTOR_LOAD_PROCEDURE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,22 +18,20 @@
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_VECTOR_LOAD_PROCEDURE_DIALOG_H__
|
||||||
|
#define __GIMP_VECTOR_LOAD_PROCEDURE_DIALOG_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_VECTOR_LOAD_PROCEDURE_DIALOG (gimp_vector_load_procedure_dialog_get_type ())
|
#define GIMP_TYPE_VECTOR_LOAD_PROCEDURE_DIALOG (gimp_vector_load_procedure_dialog_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpVectorLoadProcedureDialog,
|
G_DECLARE_FINAL_TYPE (GimpVectorLoadProcedureDialog, gimp_vector_load_procedure_dialog, GIMP, VECTOR_LOAD_PROCEDURE_DIALOG, GimpProcedureDialog)
|
||||||
gimp_vector_load_procedure_dialog,
|
|
||||||
GIMP, VECTOR_LOAD_PROCEDURE_DIALOG,
|
|
||||||
GimpProcedureDialog)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_vector_load_procedure_dialog_new (GimpVectorLoadProcedure *procedure,
|
GtkWidget * gimp_vector_load_procedure_dialog_new (GimpVectorLoadProcedure *procedure,
|
||||||
|
|
@ -41,4 +39,8 @@ GtkWidget * gimp_vector_load_procedure_dialog_new (GimpVectorLoadProcedure *proc
|
||||||
GimpVectorLoadData *extracted_data,
|
GimpVectorLoadData *extracted_data,
|
||||||
GFile *file);
|
GFile *file);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_VECTOR_LOAD_PROCEDURE_DIALOG_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,22 +19,21 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_UI_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimpui.h> can be included directly."
|
#error "Only <libgimp/gimpui.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_ZOOM_PREVIEW_H__
|
||||||
|
#define __GIMP_ZOOM_PREVIEW_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_ZOOM_PREVIEW (gimp_zoom_preview_get_type ())
|
#define GIMP_TYPE_ZOOM_PREVIEW (gimp_zoom_preview_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpZoomPreview,
|
G_DECLARE_FINAL_TYPE (GimpZoomPreview, gimp_zoom_preview, GIMP, ZOOM_PREVIEW, GimpScrolledPreview)
|
||||||
gimp_zoom_preview,
|
|
||||||
GIMP, ZOOM_PREVIEW,
|
|
||||||
GimpScrolledPreview)
|
|
||||||
|
|
||||||
|
|
||||||
GtkWidget * gimp_zoom_preview_new_from_drawable (GimpDrawable *drawable);
|
GtkWidget * gimp_zoom_preview_new_from_drawable (GimpDrawable *drawable);
|
||||||
|
|
@ -50,4 +49,7 @@ GimpDrawable * gimp_zoom_preview_get_drawable (GimpZoomPreview
|
||||||
GimpZoomModel * gimp_zoom_preview_get_model (GimpZoomPreview *preview);
|
GimpZoomModel * gimp_zoom_preview_get_model (GimpZoomPreview *preview);
|
||||||
gdouble gimp_zoom_preview_get_factor (GimpZoomPreview *preview);
|
gdouble gimp_zoom_preview_get_factor (GimpZoomPreview *preview);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_ZOOM_PREVIEW_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __LIBGIMP_INTL_H__
|
||||||
|
#define __LIBGIMP_INTL_H__
|
||||||
|
|
||||||
#ifndef GETTEXT_PACKAGE
|
#ifndef GETTEXT_PACKAGE
|
||||||
#error "config.h must be included prior to libgimp-intl.h"
|
#error "config.h must be included prior to libgimp-intl.h"
|
||||||
|
|
@ -39,3 +40,6 @@
|
||||||
|
|
||||||
#define N_(String) (String)
|
#define N_(String) (String)
|
||||||
#define NC_(Context,String) (String)
|
#define NC_(Context,String) (String)
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __LIBGIMP_INTL_H__ */
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __STDPLUGINS_INTL_H__
|
||||||
|
#define __STDPLUGINS_INTL_H__
|
||||||
|
|
||||||
#ifndef GETTEXT_PACKAGE
|
#ifndef GETTEXT_PACKAGE
|
||||||
#error "config.h must be included prior to stdplugins-intl.h"
|
#error "config.h must be included prior to stdplugins-intl.h"
|
||||||
|
|
@ -39,3 +40,6 @@ set_i18n (GimpPlugIn *plug_in, \
|
||||||
};
|
};
|
||||||
|
|
||||||
#define STD_SET_I18N set_i18n
|
#define STD_SET_I18N set_i18n
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __STDPLUGINS_INTL_H__ */
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@
|
||||||
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_ADAPTIVE_SUPERSAMPLE_H__
|
||||||
|
#define __GIMP_ADAPTIVE_SUPERSAMPLE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
@ -75,4 +76,7 @@ gulong gimp_adaptive_supersample_area (gint x1,
|
||||||
GimpProgressFunc progress_func,
|
GimpProgressFunc progress_func,
|
||||||
gpointer progress_data);
|
gpointer progress_data);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_ADAPTIVE_SUPERSAMPLE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@
|
||||||
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_BILINEAR_H__
|
||||||
|
#define __GIMP_BILINEAR_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
@ -48,4 +49,7 @@ void gimp_bilinear_rgb (gdouble x,
|
||||||
gboolean has_alpha,
|
gboolean has_alpha,
|
||||||
gdouble *retvalues);
|
gdouble *retvalues);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_BILINEAR_H__ */
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_CAIRO_H__
|
||||||
|
#define __GIMP_CAIRO_H__
|
||||||
|
|
||||||
|
|
||||||
cairo_pattern_t * gimp_cairo_checkerboard_create (cairo_t *cr,
|
cairo_pattern_t * gimp_cairo_checkerboard_create (cairo_t *cr,
|
||||||
|
|
@ -149,3 +150,6 @@ GeglBuffer * gimp_cairo_surface_create_buffer (cairo_surface_t *surface,
|
||||||
(a) = ta; \
|
(a) = ta; \
|
||||||
} G_STMT_END
|
} G_STMT_END
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __GIMP_CAIRO_H__ */
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_COLOR_PRIVATE_H__
|
||||||
|
#define __GIMP_COLOR_PRIVATE_H__
|
||||||
|
|
||||||
/* Legacy definition to calculate luminance from sRGB.
|
/* Legacy definition to calculate luminance from sRGB.
|
||||||
*
|
*
|
||||||
|
|
@ -35,3 +35,6 @@
|
||||||
#define GIMP_RGB_LUMINANCE(r,g,b) ((r) * GIMP_RGB_LUMINANCE_RED + \
|
#define GIMP_RGB_LUMINANCE(r,g,b) ((r) * GIMP_RGB_LUMINANCE_RED + \
|
||||||
(g) * GIMP_RGB_LUMINANCE_GREEN + \
|
(g) * GIMP_RGB_LUMINANCE_GREEN + \
|
||||||
(b) * GIMP_RGB_LUMINANCE_BLUE)
|
(b) * GIMP_RGB_LUMINANCE_BLUE)
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __GIMP_COLOR_PRIVATE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_COLOR_H__
|
||||||
|
#define __GIMP_COLOR_H__
|
||||||
|
|
||||||
#define __GIMP_COLOR_H_INSIDE__
|
#define __GIMP_COLOR_H_INSIDE__
|
||||||
|
|
||||||
|
|
@ -119,4 +120,7 @@ typedef const Babl * GimpBablFormat;
|
||||||
|
|
||||||
GType gimp_babl_format_get_type (void) G_GNUC_CONST;
|
GType gimp_babl_format_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_COLOR_H__ */
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@
|
||||||
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_COLOR_MANAGED_H__
|
||||||
|
#define __GIMP_COLOR_MANAGED_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
@ -31,11 +32,7 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_COLOR_MANAGED (gimp_color_managed_get_type ())
|
#define GIMP_TYPE_COLOR_MANAGED (gimp_color_managed_get_type ())
|
||||||
G_DECLARE_INTERFACE (GimpColorManaged,
|
G_DECLARE_INTERFACE (GimpColorManaged, gimp_color_managed, GIMP, COLOR_MANAGED, GObject)
|
||||||
gimp_color_managed,
|
|
||||||
GIMP, COLOR_MANAGED,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GimpColorManagedInterface:
|
* GimpColorManagedInterface:
|
||||||
|
|
@ -106,4 +103,7 @@ void gimp_color_managed_simulation_intent_changed (GimpColo
|
||||||
|
|
||||||
void gimp_color_managed_simulation_bpc_changed (GimpColorManaged *managed);
|
void gimp_color_managed_simulation_bpc_changed (GimpColorManaged *managed);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_COLOR_MANAGED_IFACE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,8 @@
|
||||||
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_COLOR_PROFILE_H__
|
||||||
|
#define __GIMP_COLOR_PROFILE_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
@ -32,10 +33,7 @@ G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_COLOR_PROFILE (gimp_color_profile_get_type ())
|
#define GIMP_TYPE_COLOR_PROFILE (gimp_color_profile_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpColorProfile,
|
G_DECLARE_FINAL_TYPE (GimpColorProfile, gimp_color_profile, GIMP, COLOR_PROFILE, GObject)
|
||||||
gimp_color_profile,
|
|
||||||
GIMP, COLOR_PROFILE,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
GimpColorProfile * gimp_color_profile_new_rgb_srgb (void);
|
GimpColorProfile * gimp_color_profile_new_rgb_srgb (void);
|
||||||
|
|
@ -96,4 +94,7 @@ const Babl * gimp_color_profile_get_format (GimpColorProfile *
|
||||||
const Babl * gimp_color_profile_get_lcms_format (const Babl *format,
|
const Babl * gimp_color_profile_get_lcms_format (const Babl *format,
|
||||||
guint32 *lcms_format);
|
guint32 *lcms_format);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_COLOR_PROFILE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,8 @@
|
||||||
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_COLOR_TRANSFORM_H__
|
||||||
|
#define __GIMP_COLOR_TRANSFORM_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
@ -51,10 +52,7 @@ typedef enum
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_COLOR_TRANSFORM (gimp_color_transform_get_type ())
|
#define GIMP_TYPE_COLOR_TRANSFORM (gimp_color_transform_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpColorTransform,
|
G_DECLARE_FINAL_TYPE (GimpColorTransform, gimp_color_transform, GIMP, COLOR_TRANSFORM, GObject)
|
||||||
gimp_color_transform,
|
|
||||||
GIMP, COLOR_TRANSFORM,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
GimpColorTransform *
|
GimpColorTransform *
|
||||||
|
|
@ -91,4 +89,7 @@ void gimp_color_transform_process_buffer (GimpColorTransform *transfo
|
||||||
gboolean gimp_color_transform_can_gegl_copy (GimpColorProfile *src_profile,
|
gboolean gimp_color_transform_can_gegl_copy (GimpColorProfile *src_profile,
|
||||||
GimpColorProfile *dest_profile);
|
GimpColorProfile *dest_profile);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_COLOR_TRANSFORM_H__ */
|
||||||
|
|
|
||||||
|
|
@ -16,11 +16,14 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_COLOR_TYPES_H__
|
||||||
|
#define __GIMP_COLOR_TYPES_H__
|
||||||
|
|
||||||
|
|
||||||
#include <libgimpbase/gimpbasetypes.h>
|
#include <libgimpbase/gimpbasetypes.h>
|
||||||
#include <libgimpconfig/gimpconfigtypes.h>
|
#include <libgimpconfig/gimpconfigtypes.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -30,4 +33,7 @@ typedef struct _GimpColorManaged GimpColorManaged; /* dummy typedef */
|
||||||
typedef struct _GimpColorProfile GimpColorProfile;
|
typedef struct _GimpColorProfile GimpColorProfile;
|
||||||
typedef struct _GimpColorTransform GimpColorTransform;
|
typedef struct _GimpColorTransform GimpColorTransform;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_COLOR_TYPES_H__ */
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@
|
||||||
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
#error "Only <libgimpcolor/gimpcolor.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_PIXBUF_H__
|
||||||
|
#define __GIMP_PIXBUF_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
@ -36,4 +37,7 @@ GeglBuffer * gimp_pixbuf_create_buffer (GdkPixbuf *pixbuf);
|
||||||
guint8 * gimp_pixbuf_get_icc_profile (GdkPixbuf *pixbuf,
|
guint8 * gimp_pixbuf_get_icc_profile (GdkPixbuf *pixbuf,
|
||||||
gsize *length);
|
gsize *length);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_PIXBUF_H__ */
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_MODULE_H__
|
||||||
|
#define __GIMP_MODULE_H__
|
||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <gmodule.h>
|
#include <gmodule.h>
|
||||||
|
|
@ -34,6 +35,7 @@
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GIMP_MODULE_ABI_VERSION:
|
* GIMP_MODULE_ABI_VERSION:
|
||||||
*
|
*
|
||||||
|
|
@ -126,7 +128,7 @@ struct _GimpModuleInfo
|
||||||
*
|
*
|
||||||
* Returns: The info struct describing the module.
|
* Returns: The info struct describing the module.
|
||||||
**/
|
**/
|
||||||
typedef const GimpModuleInfo * (* GimpModuleQueryFunc) (GTypeModule *module);
|
typedef const GimpModuleInfo * (* GimpModuleQueryFunc) (GTypeModule *module);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GimpModuleRegisterFunc:
|
* GimpModuleRegisterFunc:
|
||||||
|
|
@ -141,7 +143,7 @@ typedef const GimpModuleInfo * (* GimpModuleQueryFunc) (GTypeModule *module);
|
||||||
*
|
*
|
||||||
* Returns: Whether the registration was succesfull
|
* Returns: Whether the registration was succesfull
|
||||||
**/
|
**/
|
||||||
typedef gboolean (* GimpModuleRegisterFunc) (GTypeModule *module);
|
typedef gboolean (* GimpModuleRegisterFunc) (GTypeModule *module);
|
||||||
|
|
||||||
|
|
||||||
/* GimpModules have to implement these */
|
/* GimpModules have to implement these */
|
||||||
|
|
@ -150,11 +152,7 @@ G_MODULE_EXPORT gboolean gimp_module_register (GTypeModule *module
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_MODULE (gimp_module_get_type ())
|
#define GIMP_TYPE_MODULE (gimp_module_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (GimpModule,
|
G_DECLARE_DERIVABLE_TYPE (GimpModule, gimp_module, GIMP, MODULE, GTypeModule)
|
||||||
gimp_module,
|
|
||||||
GIMP, MODULE,
|
|
||||||
GTypeModule)
|
|
||||||
|
|
||||||
|
|
||||||
struct _GimpModuleClass
|
struct _GimpModuleClass
|
||||||
{
|
{
|
||||||
|
|
@ -195,4 +193,7 @@ const gchar * gimp_module_get_last_error (GimpModule *module);
|
||||||
|
|
||||||
gboolean gimp_module_query_module (GimpModule *module);
|
gboolean gimp_module_query_module (GimpModule *module);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_MODULE_H__ */
|
||||||
|
|
|
||||||
|
|
@ -16,19 +16,17 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_MODULE_H_INSIDE__) && !defined (GIMP_MODULE_COMPILATION)
|
#if !defined (__GIMP_MODULE_H_INSIDE__) && !defined (GIMP_MODULE_COMPILATION)
|
||||||
#error "Only <libgimpmodule/gimpmodule.h> can be included directly."
|
#error "Only <libgimpmodule/gimpmodule.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_MODULE_DB_H__
|
||||||
|
#define __GIMP_MODULE_DB_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GIMP_TYPE_MODULE_DB (gimp_module_db_get_type ())
|
#define GIMP_TYPE_MODULE_DB (gimp_module_db_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpModuleDB,
|
G_DECLARE_FINAL_TYPE (GimpModuleDB, gimp_module_db, GIMP, MODULE_DB, GObject)
|
||||||
gimp_module_db,
|
|
||||||
GIMP, MODULE_DB,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
GimpModuleDB * gimp_module_db_new (gboolean verbose);
|
GimpModuleDB * gimp_module_db_new (gboolean verbose);
|
||||||
|
|
@ -46,4 +44,7 @@ void gimp_module_db_load (GimpModuleDB *db,
|
||||||
void gimp_module_db_refresh (GimpModuleDB *db,
|
void gimp_module_db_refresh (GimpModuleDB *db,
|
||||||
const gchar *module_path);
|
const gchar *module_path);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_MODULE_DB_H__ */
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,13 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_MODULE_TYPES_H__
|
||||||
|
#define __GIMP_MODULE_TYPES_H__
|
||||||
|
|
||||||
|
|
||||||
#include <libgimpbase/gimpbasetypes.h>
|
#include <libgimpbase/gimpbasetypes.h>
|
||||||
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
/* For information look into the C source or the html documentation */
|
/* For information look into the C source or the html documentation */
|
||||||
|
|
@ -29,4 +32,7 @@ typedef struct _GimpModule GimpModule;
|
||||||
typedef struct _GimpModuleInfo GimpModuleInfo;
|
typedef struct _GimpModuleInfo GimpModuleInfo;
|
||||||
typedef struct _GimpModuleDB GimpModuleDB;
|
typedef struct _GimpModuleDB GimpModuleDB;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_MODULE_TYPES_H__ */
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,12 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_THUMB_ENUMS_H__
|
||||||
|
#define __GIMP_THUMB_ENUMS_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION: gimpthumb-enums
|
* SECTION: gimpthumb-enums
|
||||||
* @title: GimpThumb-enums
|
* @title: GimpThumb-enums
|
||||||
|
|
@ -110,4 +112,7 @@ typedef enum
|
||||||
GIMP_THUMB_STATE_OK
|
GIMP_THUMB_STATE_OK
|
||||||
} GimpThumbState;
|
} GimpThumbState;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_THUMB_ENUMS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -22,14 +22,16 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_THUMB_H_INSIDE__) && !defined (GIMP_THUMB_COMPILATION)
|
#if !defined (__GIMP_THUMB_H_INSIDE__) && !defined (GIMP_THUMB_COMPILATION)
|
||||||
#error "Only <libgimpthumb/gimpthumb.h> can be included directly."
|
#error "Only <libgimpthumb/gimpthumb.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_THUMB_ERROR_H__
|
||||||
|
#define __GIMP_THUMB_ERROR_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GimpThumbError:
|
* GimpThumbError:
|
||||||
* @GIMP_THUMB_ERROR_OPEN: there was a problem opening the file
|
* @GIMP_THUMB_ERROR_OPEN: there was a problem opening the file
|
||||||
|
|
@ -56,4 +58,7 @@ typedef enum
|
||||||
|
|
||||||
GQuark gimp_thumb_error_quark (void) G_GNUC_CONST;
|
GQuark gimp_thumb_error_quark (void) G_GNUC_CONST;
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_THUMB_ERROR_H__ */
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,9 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_THUMB_TYPES_H__
|
||||||
|
#define __GIMP_THUMB_TYPES_H__
|
||||||
|
|
||||||
|
|
||||||
#include <libgimpthumb/gimpthumb-enums.h>
|
#include <libgimpthumb/gimpthumb-enums.h>
|
||||||
|
|
||||||
|
|
@ -31,3 +33,6 @@ G_BEGIN_DECLS
|
||||||
typedef struct _GimpThumbnail GimpThumbnail;
|
typedef struct _GimpThumbnail GimpThumbnail;
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* __GIMP_THUMB_TYPES_H__ */
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,12 @@
|
||||||
#error "Only <libgimpthumb/gimpthumb.h> can be included directly."
|
#error "Only <libgimpthumb/gimpthumb.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_THUMB_UTILS_H__
|
||||||
|
#define __GIMP_THUMB_UTILS_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
gboolean gimp_thumb_init (const gchar *creator,
|
gboolean gimp_thumb_init (const gchar *creator,
|
||||||
const gchar *thumb_basedir);
|
const gchar *thumb_basedir);
|
||||||
|
|
||||||
|
|
@ -65,4 +67,7 @@ G_GNUC_INTERNAL void _gimp_thumbs_delete_others (const gchar *uri,
|
||||||
GimpThumbSize size);
|
GimpThumbSize size);
|
||||||
G_GNUC_INTERNAL gchar * _gimp_thumb_filename_from_uri (const gchar *uri);
|
G_GNUC_INTERNAL gchar * _gimp_thumb_filename_from_uri (const gchar *uri);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_THUMB_UTILS_H__ */
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,8 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
#ifndef __GIMP_THUMB_H__
|
||||||
|
#define __GIMP_THUMB_H__
|
||||||
|
|
||||||
#define __GIMP_THUMB_H_INSIDE__
|
#define __GIMP_THUMB_H_INSIDE__
|
||||||
|
|
||||||
|
|
@ -33,3 +34,5 @@
|
||||||
#include <libgimpthumb/gimpthumbnail.h>
|
#include <libgimpthumb/gimpthumbnail.h>
|
||||||
|
|
||||||
#undef __GIMP_THUMB_H_INSIDE__
|
#undef __GIMP_THUMB_H_INSIDE__
|
||||||
|
|
||||||
|
#endif /* __GIMP_THUMB_H__ */
|
||||||
|
|
|
||||||
|
|
@ -22,19 +22,18 @@
|
||||||
* <https://www.gnu.org/licenses/>.
|
* <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_THUMB_H_INSIDE__) && !defined (GIMP_THUMB_COMPILATION)
|
#if !defined (__GIMP_THUMB_H_INSIDE__) && !defined (GIMP_THUMB_COMPILATION)
|
||||||
#error "Only <libgimpthumb/gimpthumb.h> can be included directly."
|
#error "Only <libgimpthumb/gimpthumb.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GIMP_THUMBNAIL_H__
|
||||||
|
#define __GIMP_THUMBNAIL_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
|
||||||
#define GIMP_TYPE_THUMBNAIL (gimp_thumbnail_get_type ())
|
#define GIMP_TYPE_THUMBNAIL (gimp_thumbnail_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (GimpThumbnail,
|
G_DECLARE_FINAL_TYPE (GimpThumbnail, gimp_thumbnail, GIMP, THUMBNAIL, GObject)
|
||||||
gimp_thumbnail,
|
|
||||||
GIMP, THUMBNAIL,
|
|
||||||
GObject)
|
|
||||||
|
|
||||||
|
|
||||||
GimpThumbnail * gimp_thumbnail_new (void);
|
GimpThumbnail * gimp_thumbnail_new (void);
|
||||||
|
|
@ -77,4 +76,7 @@ void gimp_thumbnail_delete_others (GimpThumbnail *thumbnail,
|
||||||
|
|
||||||
gboolean gimp_thumbnail_has_failed (GimpThumbnail *thumbnail);
|
gboolean gimp_thumbnail_has_failed (GimpThumbnail *thumbnail);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* __GIMP_THUMBNAIL_H__ */
|
||||||
|
|
|
||||||
|
|
@ -58,10 +58,13 @@ print ENUMFILE <<'LGPL';
|
||||||
|
|
||||||
LGPL
|
LGPL
|
||||||
|
|
||||||
|
my $guard = "__GIMP_ENUMS_H__";
|
||||||
print ENUMFILE <<HEADER;
|
print ENUMFILE <<HEADER;
|
||||||
#pragma once
|
#ifndef $guard
|
||||||
|
#define $guard
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
HEADER
|
HEADER
|
||||||
|
|
||||||
foreach (sort keys %enums) {
|
foreach (sort keys %enums) {
|
||||||
|
|
@ -112,7 +115,10 @@ void gimp_enums_init (void);
|
||||||
|
|
||||||
const gchar ** gimp_enums_get_type_names (gint *n_type_names);
|
const gchar ** gimp_enums_get_type_names (gint *n_type_names);
|
||||||
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* $guard */
|
||||||
HEADER
|
HEADER
|
||||||
|
|
||||||
close ENUMFILE;
|
close ENUMFILE;
|
||||||
|
|
|
||||||
|
|
@ -840,13 +840,15 @@ SECTION_DOCS
|
||||||
print PFILE $lgpl_top;
|
print PFILE $lgpl_top;
|
||||||
print PFILE " * gimp_pdb_headers.h\n";
|
print PFILE " * gimp_pdb_headers.h\n";
|
||||||
print PFILE $lgpl_bottom;
|
print PFILE $lgpl_bottom;
|
||||||
|
my $guard = "__GIMP_PDB_HEADERS_H__";
|
||||||
print PFILE <<HEADER;
|
print PFILE <<HEADER;
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
||||||
#error "Only <libgimp/gimp.h> can be included directly."
|
#error "Only <libgimp/gimp.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef $guard
|
||||||
|
#define $guard
|
||||||
|
|
||||||
HEADER
|
HEADER
|
||||||
my @groups;
|
my @groups;
|
||||||
foreach $group (keys %out) {
|
foreach $group (keys %out) {
|
||||||
|
|
@ -864,6 +866,7 @@ HEADER
|
||||||
}
|
}
|
||||||
print PFILE <<HEADER;
|
print PFILE <<HEADER;
|
||||||
|
|
||||||
|
#endif /* $guard */
|
||||||
HEADER
|
HEADER
|
||||||
close PFILE;
|
close PFILE;
|
||||||
&write_file($gimp_pdb_headers, $destdir);
|
&write_file($gimp_pdb_headers, $destdir);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue