Michael Natterer
a604a12eb5
libgimp: fix the docs of gimp_vectors_to_selection()
2011-02-13 18:31:14 +01:00
Michael Natterer
92b6d70448
libgimp: remove the layer/channel/vectors raise/lower/position procedures
...
and add them to the list of compat_procs instead.
2011-02-13 18:29:08 +01:00
Michael Natterer
6818dae23e
libgimp: remove the drawable and vectors parasite PDB functions completely
...
and simply add them to the list of "compat_procs" which have a
replacement with identical signature. Move the libgimp C functions to
non-generated files.
2011-02-13 17:48:39 +01:00
Michael Natterer
b4c9987de6
libgimp: move the item parasite functions to the parasites files
...
and rename them yet again to be gimp_item_foo_parasite() instead of
gimp_item_parasite_foo() because the latter is just a misnaming (they
are not GimpItemParasites, they are GimpParasites attached to
GimpItems, just as layers are attached to images).
2011-02-13 17:28:30 +01:00
Michael Natterer
aa667f790e
app: rename gimp_image_select_fuzzy() to gimp_image_select_contiguous_color()
...
and update all documentation accordingly. Also reorder the
gimp_image_select procedures.
2011-02-13 17:13:28 +01:00
Michael Natterer
014cc2140e
libgimp: document which context setting affects what prodecures
2011-02-12 15:20:46 +01:00
Michael Natterer
b33076bea5
libgimp: document which context settings affect the new transform API
2011-02-11 21:15:31 +01:00
Michael Natterer
f4af9b549e
Globally switch to saying "window_id" instead of just "window"
...
when dealing with native window handles. Also get rid of using
GdkNativeWindow and simply consistently use guint32 all over the
place. This is more obvious and consistent and keeps the diff to the
gtk3-port branch smaller.
2011-02-06 12:07:55 +01:00
Michael Natterer
1931cca5ab
libgimp: deprecate the entire old gimp_foo_select() API
...
It's now completely replaced by the new gimp_image_select_foo() functions.
2011-02-06 11:20:07 +01:00
Michael Natterer
bc5e0a79ab
libgimp: remove "select-transparent" parameters from the new selection API
...
and use the sample-transparent setting from GimpPDBContext instead.
2011-02-06 11:20:07 +01:00
Michael Natterer
d3a291d2df
pdb: add "sample-transparent" as GimpPDBContext property
...
and add PDB API to get/set it.
2011-02-06 11:20:07 +01:00
Michael Natterer
c15488d10a
libgimp: remove "threshold" parameters from the new selection API
...
and use the sample-threshold setting from GimpPDBContext instead.
2011-02-06 11:20:07 +01:00
Michael Natterer
2e16d932ec
pdb: add "sample-threshold" as GimpPDBContext property
...
and add PDB API to get/set it.
2011-02-06 11:20:07 +01:00
Michael Natterer
1205a6aedd
pdb: add "sample-criterion" as property to the PDB context
...
See commit below
2011-01-27 21:26:16 +01:00
Michael Natterer
bb6083a1eb
pdb: add "sample-merged" as property to the PDB context
...
- add API to get/set the new state
- remove sample-merged parameters from the new gimp_image_select_foo() API
- update procedure documentation
2011-01-27 21:26:16 +01:00
Michael Natterer
47eaecdc9d
libgimp: deprecate a bunch of old selection API
...
namely ellipse_select(), free_select(), rect_select() and
round_rect_select() because they are fully replaced by the new
gimp_image_select_foo() functions. Will deprecate the rest as soon as
I have figured how to put the parameter overkill of the remaining
functions into context properties.
2011-01-25 19:28:30 +01:00
Michael Natterer
9703bed2ef
libgimp: reorder the parameters of the new and unused gimp-image-select API
...
Make the common "image" and "operation" parameters come first.
2011-01-24 14:53:42 +01:00
Michael Natterer
8d2d16ac25
libgimp*: implement GObject::constructed() instead of ::constructor()
2011-01-12 22:03:33 +01:00
Alexia Death
d2563a69fd
app: Cleanup in preparation of merge
2010-11-04 20:27:11 +02:00
Alexia Death
dfd5470a2e
Merge remote branch 'origin/master' into soc-2010-cage-2
2010-11-04 20:00:36 +02:00
Alexia Death
27c77e6a5e
Merge branch 'master' into soc-2010-cage-2
2010-11-04 00:41:45 +02:00
Michael Natterer
29d63afbb7
pdb: remove gimp-item-to-selection again
2010-10-30 22:19:22 +02:00
Michael Natterer
457a46a04c
pdb: add new selection API which has less parameters than the old one
...
and uses the new context properties instead. This is work in progress
and subject to change. Don't use it in plug-ins/scripts yet!
2010-10-30 22:06:20 +02:00
Michael Natterer
108c6f4e41
pdb: preemtively update context docs for upcoming selection API changes
2010-10-30 21:58:00 +02:00
Michael Natterer
79f0f5639b
Don't use gtk_container_add() for adding to GtkBoxes
...
because the packing options are different for GtkH/VBox and GtkBox
itself which is now instantiable. Instead, always use
gtk_box_pack_start() and specify expanding explicitely.
2010-10-30 14:57:56 +02:00
Sven Neumann
71ead96472
libgimp: deprecate gimp_min_colors() and gimp_install_cmap()
...
Also remove calls to gdk_rgb_set_min_colors() and gdk_rgb_set_install()
from gimp_ui_init(). These are considered obsolete nowadays.
2010-10-19 09:59:59 +02:00
Michael Natterer
1948feb686
libgimp: implement GObject::dispose() instead of GtkWidget::destroy()
2010-10-15 12:17:10 +02:00
Michael Natterer
38999b7dd4
libgimp: implement GObject::dispose() instead of GtkObject::destroy()
2010-10-15 12:04:36 +02:00
Michael Natterer
2e9b6625e8
pdb: document that the context's inteprolation defaults to the gimprc value
2010-10-05 21:12:04 +02:00
Alexia Death
74e5864fa6
Merge branch 'master' into soc-2010-cage-2
2010-09-26 23:08:15 +03:00
Michael Natterer
54001221d7
pdb: deprecate gimp_layer_scale_full() and gimp_image_scale_full()
...
Make gimp_layer_scale() and gimp_image_scale() honor GimpPDBContext's
interpolation property and update the documentation accordingly.
2010-09-16 20:33:56 +02:00
Michael Natterer
d64bf1ee14
pdb: deprecate the entire drawable transform API
2010-09-16 00:50:28 +02:00
Michael Natterer
c6e93e4f5a
pdb: generate nicer gtk-doc comments (no doc contents changed)
2010-09-15 22:07:36 +02:00
Michael Natterer
38b9b4117e
pdb: deprecate gimp-drawable-is-text-layer and add gimp-item-is-text-layer
2010-09-15 21:51:53 +02:00
Michael Natterer
c56f0568c5
pdb: remove deprecated drawable procedures
...
and do the same stuff as for vectors procedures below.
2010-09-15 21:43:03 +02:00
Michael Natterer
548d2e041d
pdb: clean up gimp-layer-group-new
...
There is no need to wrap it with a function with identical
signature. Also move it next to the other layer-new functions.
2010-09-15 21:18:47 +02:00
Michael Natterer
97b35ab332
pdb: remove deprecated vectors procedures
...
that have a replacement with identical signature. Register them as
compat aliases with the PDB instead. Implement the libgimp API
manually, calling the new item functions.
2010-09-15 21:13:22 +02:00
Barak Itkin
2f62347bf6
pdb: Add a more detailed description to the gimp_image_insert functions
2010-09-15 00:02:28 +02:00
Barak Itkin
3cb6632963
pdb: Some fixes to the commit that added gimp_layer_group_new()
2010-09-15 00:00:49 +02:00
Barak Itkin
805a971d99
pdb: add the procedure gimp_layer_group_new
2010-09-14 22:41:56 +02:00
Martin Nordholts
113941a7e5
libgimp: Update gimp.def
2010-09-09 16:37:21 +02:00
Michael Natterer
e8f4d4b449
pdb: add transform API for items
...
Works for all item types, and has much less functions and parameters
than the drawable transform API because it uses the new context
states. Untested and not finished!
2010-09-08 02:48:37 +02:00
Michael Natterer
23aaf69779
pdb: add a lot of state for a new item-based transform API
...
interpolation, transform-direction, transform-resize, transform-recursion
2010-09-07 02:33:13 +02:00
Sven Neumann
2cbf8a7c96
pdb: mention gimp_edit_fill() in the gimp_drawable_fill() docs
...
The gimp_drawable_fill() already mentioned the bucket fill tool.
However the procedure that the developer is most likely looking
for is gimp_edit_fill(), so mention that as well.
2010-09-06 23:19:00 +02:00
Michael Natterer
bbd7ec6b5c
plug-ins: port from gimp_image_add_foo() to gimp_image_insert_foo()
...
I'm sure some plug-ins need to add their items *not* at the toplevel,
but since making plug-ins really tree-aware is a lot more work than
just fixing insert positions, I went for passing -1 as parent in
almost all cases. And because of laziness...
2010-09-06 11:40:46 +02:00
Michael Natterer
d0e55640ec
pdb: deprecate gimp_image_add_layer,channel,vectors()
2010-09-06 00:15:40 +02:00
Michael Natterer
9e0dccec73
pdb: update docs to mention the new insert procs instead of the add ones
2010-09-06 00:03:29 +02:00
Michael Natterer
a547c5d200
pdb: add gimp_image_insert_layer,channel,vectors()
...
which all take "parent" parameters and allow to insert items in a
tree. We don't have channel or vectors trees (yet) but API symmetry is
more important here than a currently useless parameter.
2010-09-05 23:56:35 +02:00
Michael Natterer
8ab4fbcf28
pdb: add context procedures for the new antialias and feather properties
2010-09-05 23:13:42 +02:00
Michael Natterer
e7475c1d52
pdb: add new procedure gimp-item-to-selection
...
and deprecate all old to-selection APIs. The new procedure uses the
newly added GimpPDBContext properties, so it only has an "operation"
parameter.
2010-09-05 22:38:07 +02:00