[Gimp-developer] improving QMask mode
Sven Neumann
sven at gimp.org
Sat Dec 1 03:07:55 PST 2007
Hi,
On Sat, 2007-12-01 at 18:05 +1030, David Gowers wrote:
> > > b) Push the context before entering qmask mode, and pop it when
> > > exiting qmask mode.
> For Chris's benefit : it means that the context that was being used is
> stored, and restored after qmask. so the FG and BG that you were
> previously using return.
It would mean a lot more than that. Also any changes to the current
brush, pattern, gradient, paint-mode, ... would be undone when the
context is popped.
We currently use this to allow scripts to work in their own context. I
am not sure if it is a good idea to use the context push/pop mechanism
in the user interface.
Sven
More information about the Gimp-developer
mailing list