a27b6f5f47
app: keep a GimpPalette around that proxies the image's indexed colormap
...
and add it to the palette factory as internal object. Work in progress
on the way to getting rid of the ugly code in the colormap editor.
2010-10-27 15:40:43 +02:00
55f01bf6f3
app: remove gimp_display_shell_draw_vectors()
...
which is the last bit of non-item drawing of stuff that is not
somehow the image itself... wheee!
This involves reverting commit
6bce0641d4
and adding back all the
vectors handlers that were in gimpdisplayshell-callbacks.c before.
Change the callbacks to manage proxy items for all the image's
vectors.
2010-10-08 01:03:56 +02:00
6bce0641d4
app: add signal GimpImage::update_vectors() and have the image manage updates
...
...just as we do for drawables. Connect to adding, removing, modifying
and toggling visibility of all vectors and emit "update-vectors"
accordingly. Add an update-vectors signal handler to GimpDisplayShell
and remove all other vectors handlers.
2010-09-17 11:31:57 +02:00
c9645cc0d3
Add "active-item" property and API to GimpItemTree
...
and use it to store the image's active layer, channel and vectors.
2010-02-07 14:52:34 +01:00
c9d0b370fe
Use GimpItemTrees to keep the image's layers, channels and vectors
...
This commit is basically just an exchange of the stack-keeping
objects and one big replacement of e.g. private->layers by
private->layers->container. Useful code will follow :)
2010-02-06 13:41:16 +01:00
2b2464d6c8
Move the "flush_accum" to GimpImagePrivate
2010-02-05 09:13:25 +01:00
0f0853ca86
Move "preview" to GimpImagePrivate
2010-02-04 21:09:19 +01:00
09c897262e
Move all undo-related members to GimpImagePrivate
...
Also add some new API to access them.
2010-02-04 20:06:49 +01:00
4c1ec79281
Move the quick mask members to GimpImagePrivate
...
and add API to access the "inverted" state.
2010-02-04 09:49:45 +01:00
02f5931c96
Move "visible" and "active" to GimpImagePrivate
...
and add accessors for the entire arrays (not just their members).
2010-02-04 09:10:02 +01:00
4143f5cd62
Move "parasites" to GimpImagePrivate
2010-02-03 23:42:32 +01:00
4a247e9182
Move "floating_sel" and "selection_mask" to GimpImagePrivate
2010-02-03 23:24:18 +01:00
3720938517
Move the active layer, channel and vectors to GimpImagePrivate
2010-02-03 23:12:22 +01:00
67014260dd
Move some container handlers to GimpImagePrivate
2010-02-03 23:05:49 +01:00
88de69464e
Move "layers", "channels" and "vectors" to GimpImagePrivate
2010-02-03 23:00:31 +01:00
c9f8399614
Move "grid", "guides" and "sample_points" to GimpImagePrivate
2010-02-03 22:16:02 +01:00
2005fd1a68
Move "projection" and "graph" to GimpImagePrivate
2010-02-03 21:46:09 +01:00
bb624cb8c4
Move "tattoo_state" to GimpImagePrivate
2010-02-03 21:31:27 +01:00
0b2c804e9d
Move "disp_count" and "instance_count" to GimpImagePrivate
...
and add the neccessary API to access and modify them.
2010-02-03 21:22:00 +01:00
f769284aca
Start private struct for GimpImage and move the first members there
2010-02-03 20:31:25 +01:00