app: add a software cursor canvas item

and use it to draw the sw cursor. Almost every aspect of the old code
was ugly and hard to read, this is so much nicer...
This commit is contained in:
Michael Natterer
2010-10-02 21:56:36 +02:00
parent cfa17dc744
commit 1d45f6295e
10 changed files with 324 additions and 93 deletions

View File

@ -50,8 +50,6 @@ void gimp_display_shell_draw_selection_in (GimpDisplayShell *shell,
gint index);
void gimp_display_shell_draw_vectors (GimpDisplayShell *shell,
cairo_t *cr);
void gimp_display_shell_draw_cursor (GimpDisplayShell *shell,
cairo_t *cr);
void gimp_display_shell_draw_image (GimpDisplayShell *shell,
cairo_t *cr,
gint x,