OSDN Git Service

layer move: strokemap too + cursor & idler tweaks
authorAndrew Chadwick <andrewc-git@piffle.org>
Sat, 26 Nov 2011 20:49:42 +0000 (20:49 +0000)
committerAndrew Chadwick <andrewc-git@piffle.org>
Fri, 9 Dec 2011 18:27:05 +0000 (18:27 +0000)
commit545d6f808d39a6f351e9b68c7704d8be3d66281d
treebd21b9c5e9f37a09db37f7267c74c4e4aac59326
parent34a620fc4cb633ed5d9933d16aab7476df88fd33
layer move: strokemap too + cursor & idler tweaks

Add support for moving the layer's strokemap after the user finishes the
drag. Do it unobtrusively in the existing idletask processor.

Cursor fix: now that layer moves are more responsive, the four-way arrow
or closed fist cursor feels nicer.

Internally, there is now one idletask processor per StrokeShape, not a
single global instance. Shapes can now be forced to completion
independently of other shapes, which may be slightly faster when picking
if the shape of interest is near the top of the stack. The payoff from
using individual processor objects is far more certain when queueing
strokemap translate operations.
gui/dragfunc.py
lib/layer.py
lib/strokemap.py
lib/tiledsurface.py