2000-05-31 13:24:14 +00:00
|
|
|
/* LIBGIMP - The GIMP Library
|
2003-07-03 00:47:26 +00:00
|
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
2000-05-31 13:24:14 +00:00
|
|
|
*
|
2011-03-08 13:42:05 +01:00
|
|
|
* gimp_pdb_headers.h
|
2000-05-31 13:24:14 +00:00
|
|
|
*
|
2009-01-17 22:28:01 +00:00
|
|
|
* This library is free software: you can redistribute it and/or
|
2000-05-31 13:24:14 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2009-01-17 22:28:01 +00:00
|
|
|
* version 3 of the License, or (at your option) any later version.
|
2000-05-31 13:24:14 +00:00
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2009-01-17 22:28:01 +00:00
|
|
|
* License along with this library. If not, see
|
2018-07-11 23:27:07 +02:00
|
|
|
* <https://www.gnu.org/licenses/>.
|
2000-05-31 13:24:14 +00:00
|
|
|
*/
|
|
|
|
|
2007-01-09 10:52:47 +00:00
|
|
|
/* NOTE: This file is auto-generated by pdbgen.pl */
|
2002-03-13 18:41:07 +00:00
|
|
|
|
2011-04-28 19:59:52 +02:00
|
|
|
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
|
|
|
|
#error "Only <libgimp/gimp.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2011-03-08 13:42:05 +01:00
|
|
|
#ifndef __GIMP_PDB_HEADERS_H__
|
|
|
|
#define __GIMP_PDB_HEADERS_H__
|
2000-05-31 13:24:14 +00:00
|
|
|
|
2011-03-08 13:58:56 +01:00
|
|
|
#include <libgimp/gimp_pdb.h>
|
2004-09-28 22:01:21 +00:00
|
|
|
#include <libgimp/gimpbrush_pdb.h>
|
2000-05-31 21:16:11 +00:00
|
|
|
#include <libgimp/gimpbrushes_pdb.h>
|
|
|
|
#include <libgimp/gimpbrushselect_pdb.h>
|
2005-09-27 09:05:55 +00:00
|
|
|
#include <libgimp/gimpbuffer_pdb.h>
|
2000-05-31 13:24:14 +00:00
|
|
|
#include <libgimp/gimpchannel_pdb.h>
|
2004-09-22 15:26:58 +00:00
|
|
|
#include <libgimp/gimpcontext_pdb.h>
|
pdb: add debug group; add debug-timer-{start,end} procs
Add a debug procedure group, living in 'debug.pdb', which would host
useful debug helper functions. Functions in this group are not part
of the stable API, and may be changed at any point.
All procedures added to 'debug.pdb' should have a 'debug_' prefix,
and use the new std_pdb_debug() macro, which adds the proper "here be
dragons" warning to their description.
Add two debug procedures: gimp-debug-timer-start() and
gimp-debug-timer-end(), which measure elapsed time, a la
GIMP_TIMER_{START,END}, and can be used to profile script-fu
commands.
2017-04-06 11:00:20 -04:00
|
|
|
#include <libgimp/gimpdebug_pdb.h>
|
2000-05-31 13:24:14 +00:00
|
|
|
#include <libgimp/gimpdisplay_pdb.h>
|
|
|
|
#include <libgimp/gimpdrawable_pdb.h>
|
2014-01-12 22:11:15 +01:00
|
|
|
#include <libgimp/gimpdrawablecolor_pdb.h>
|
2018-04-15 14:57:25 +02:00
|
|
|
#include <libgimp/gimpdrawableedit_pdb.h>
|
2024-11-25 04:38:39 +09:00
|
|
|
#include <libgimp/gimpdrawablefilter_pdb.h>
|
2023-08-27 01:02:37 +02:00
|
|
|
#include <libgimp/gimpdrawableselect_pdb.h>
|
2011-10-31 22:22:19 +01:00
|
|
|
#include <libgimp/gimpdynamics_pdb.h>
|
2000-06-01 12:20:13 +00:00
|
|
|
#include <libgimp/gimpedit_pdb.h>
|
2019-09-10 21:38:11 +02:00
|
|
|
#include <libgimp/gimpfile_pdb.h>
|
2000-06-01 12:20:13 +00:00
|
|
|
#include <libgimp/gimpfloatingsel_pdb.h>
|
2022-09-05 19:28:35 -04:00
|
|
|
#include <libgimp/gimpfont_pdb.h>
|
2003-09-04 12:02:31 +00:00
|
|
|
#include <libgimp/gimpfonts_pdb.h>
|
2003-03-28 14:13:54 +00:00
|
|
|
#include <libgimp/gimpfontselect_pdb.h>
|
2000-06-01 12:20:13 +00:00
|
|
|
#include <libgimp/gimpgimprc_pdb.h>
|
2004-09-28 22:01:21 +00:00
|
|
|
#include <libgimp/gimpgradient_pdb.h>
|
2000-06-01 21:18:04 +00:00
|
|
|
#include <libgimp/gimpgradients_pdb.h>
|
2000-05-31 21:16:11 +00:00
|
|
|
#include <libgimp/gimpgradientselect_pdb.h>
|
app, libgimp, pdb, plug-ins: new GimpGroupLayer class in libgimp.
Also:
- renaming gimp_layer_group_new() to gimp_group_layer_new() in order to keep the
same name as in core code (i.e. GimpGroupLayer, not GimpLayerGroup).
- renaming gimp_image_merge_layer_group() to gimp_group_layer_merge()
- new functions: gimp_procedure_add_group_layer_argument(),
gimp_procedure_add_group_layer_aux_argument() and
gimp_procedure_add_group_layer_return_value().
This can be tested, e.g. in Python with these calls:
```py
i = Gimp.get_images()[0]
g = Gimp.GroupLayer.new(i, "hello")
i.insert_layer(g, None, 1)
g2 = Gimp.GroupLayer.new(i, "world")
i.insert_layer(g2, g, 1)
g.merge()
```
This was work started long ago, stored in an old stash which I finally
finish now! :-)
2024-07-06 17:24:11 +02:00
|
|
|
#include <libgimp/gimpgrouplayer_pdb.h>
|
2000-05-31 13:24:14 +00:00
|
|
|
#include <libgimp/gimphelp_pdb.h>
|
|
|
|
#include <libgimp/gimpimage_pdb.h>
|
2025-02-06 14:55:27 -05:00
|
|
|
#include <libgimp/gimpimageautocrop_pdb.h>
|
2015-06-05 12:51:46 +02:00
|
|
|
#include <libgimp/gimpimagecolorprofile_pdb.h>
|
2015-05-30 15:09:57 +02:00
|
|
|
#include <libgimp/gimpimageconvert_pdb.h>
|
2015-05-30 15:19:11 +02:00
|
|
|
#include <libgimp/gimpimagegrid_pdb.h>
|
2015-05-30 15:27:16 +02:00
|
|
|
#include <libgimp/gimpimageguides_pdb.h>
|
2016-01-04 21:13:48 +01:00
|
|
|
#include <libgimp/gimpimagesamplepoints_pdb.h>
|
2010-10-30 22:06:20 +02:00
|
|
|
#include <libgimp/gimpimageselect_pdb.h>
|
2015-05-30 23:55:58 +02:00
|
|
|
#include <libgimp/gimpimagetransform_pdb.h>
|
2015-05-30 15:00:36 +02:00
|
|
|
#include <libgimp/gimpimageundo_pdb.h>
|
2010-07-09 09:34:44 +02:00
|
|
|
#include <libgimp/gimpitem_pdb.h>
|
2010-09-08 02:48:37 +02:00
|
|
|
#include <libgimp/gimpitemtransform_pdb.h>
|
2000-05-31 13:24:14 +00:00
|
|
|
#include <libgimp/gimplayer_pdb.h>
|
|
|
|
#include <libgimp/gimpmessage_pdb.h>
|
2001-12-10 17:01:49 +00:00
|
|
|
#include <libgimp/gimppainttools_pdb.h>
|
2004-09-28 22:01:21 +00:00
|
|
|
#include <libgimp/gimppalette_pdb.h>
|
2002-03-12 21:02:10 +00:00
|
|
|
#include <libgimp/gimppalettes_pdb.h>
|
|
|
|
#include <libgimp/gimppaletteselect_pdb.h>
|
2024-07-08 23:39:51 +00:00
|
|
|
#include <libgimp/gimppath_pdb.h>
|
2004-09-28 22:01:21 +00:00
|
|
|
#include <libgimp/gimppattern_pdb.h>
|
2000-05-31 21:16:11 +00:00
|
|
|
#include <libgimp/gimppatterns_pdb.h>
|
|
|
|
#include <libgimp/gimppatternselect_pdb.h>
|
2004-08-27 20:06:17 +00:00
|
|
|
#include <libgimp/gimpprogress_pdb.h>
|
2023-05-31 16:12:04 +02:00
|
|
|
#include <libgimp/gimpresource_pdb.h>
|
2000-05-31 13:24:14 +00:00
|
|
|
#include <libgimp/gimpselection_pdb.h>
|
2008-04-02 20:53:51 +00:00
|
|
|
#include <libgimp/gimptextlayer_pdb.h>
|
2000-06-01 12:20:13 +00:00
|
|
|
#include <libgimp/gimptexttool_pdb.h>
|
Issue #8900 and #9923: reimplementing GimpUnit as a proper class.
This fixes all our GObject Introspection issues with GimpUnit which was
both an enum and an int-derived type of user-defined units *completing*
the enum values. GIR clearly didn't like this!
Now GimpUnit is a proper class and units are unique objects, allowing to
compare them with an identity test (i.e. `unit == gimp_unit_pixel ()`
tells us if unit is the pixel unit or not), which makes it easy to use,
just like with int, yet adding also methods, making for nicer
introspected API.
As an aside, this also fixes #10738, by having all the built-in units
retrievable even if libgimpbase had not been properly initialized with
gimp_base_init().
I haven't checked in details how GIR works to introspect, but it looks
like it loads the library to inspect and runs functions, hence
triggering some CRITICALS because virtual methods (supposed to be
initialized with gimp_base_init() run by libgimp) are not set. This new
code won't trigger any critical because the vtable method are now not
necessary, at least for all built-in units.
Note that GimpUnit is still in libgimpbase. It could have been moved to
libgimp in order to avoid any virtual method table (since we need to
keep core and libgimp side's units in sync, PDB is required), but too
many libgimpwidgets widgets were already using GimpUnit. And technically
most of GimpUnit logic doesn't require PDB (only the creation/sync
part). This is one of the reasons why user-created GimpUnit list is
handled and stored differently from other types of objects.
Globally this simplifies the code a lot too and we don't need separate
implementations of various utils for core and libgimp, which means less
prone to errors.
2024-07-25 20:55:21 +02:00
|
|
|
#include <libgimp/gimpunit_pdb.h>
|
2000-05-31 13:24:14 +00:00
|
|
|
|
2011-03-08 13:42:05 +01:00
|
|
|
#endif /* __GIMP_PDB_HEADERS_H__ */
|