[Sugar-devel] Patch: use standard cursors in Paint

James Cameron quozl at laptop.org
Wed May 26 00:42:22 EDT 2010


On Tue, May 25, 2010 at 06:40:44AM -0300, Gonzalo Odiard wrote:
> Use standard cursors for pencil, brush, eraser and paint-bucket. The
> other tools need a custom cursor.
> Bugs #40, #296 and OLPC #4316, #8864

Reviewed and tested ...

1.  does fix dev.laptop.org #4316,

2.  doesn't properly fix sugarlabs.org #296, some additional tuning of
coordinates may be needed; drawing effect still appears at an offset,

3.  doesn't fix sugarlabs.org #40, in that the other cursors continue to
be invisible against similar backgrounds,

4.  doesn't remove images/{pencil,brush,bucket,eraser}.png

The coding style was a bit repetitive, here's an alternate method which
uses a dictionary and wraps the code better:



More information about the Sugar-devel mailing list