CVSROOT:        /cvs/gnome
Module name:    gimp
Changes by:     mitch   05/03/08 19:23:19

Modified files:
        .              : ChangeLog 
        app/core       : gimpimage-sample-points.c gimpimage-undo-push.c 
        app/display    : gimpcanvas.c gimpcanvas.h 
                         gimpdisplayshell-callbacks.c 
                         gimpdisplayshell-draw.c 
        app/tools      : gimpcolorpickertool.c gimpcolortool.c 
                         gimpcolortool.h 

Log message:
2005-03-09  Michael Natterer  <[EMAIL PROTECTED]>

More sample point stuff. Addresses bug #137776 
[http://bugzilla.gnome.org/show_bug.cgi?id=137776].

* app/core/gimpimage-sample-points.c
* app/core/gimpimage-undo-push.c: append, not prepend the sample
paints to the image's list because their index matters. Update
sample points when their index changes.

* app/display/gimpcanvas.[ch]: added own sytles for the sample
points.  Added gimp_canvas_draw_text() which uses a PangoLayout
which is cached in the canvas.

* app/display/gimpdisplayshell-draw.c
(gimp_display_shell_draw_sample_point): draw the sample points
more distinct from guides using the new canvas APIs above.

* app/display/gimpdisplayshell-callbacks.c
(gimp_display_shell_[hv]ruler_button_press): factored out all
code to

(gimp_display_shell_ruler_burron_press): which takes a boolean
"horizontal" variable and allows to add sample points with
<control>+drag.

* app/tools/gimpcolortool.[ch]: implement adding, moving and
removing of sample points in the same way as the move tool moves
guides.

* app/tools/gimpcolorpickertool.c
(gimp_color_picker_tool_oper_update): chain up.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2005-03-08%2019:22&maxdate=2005-03-08%2019:24

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to