CVSROOT:        /cvs/gnome
Module name:    sketch
Changes by:     bherzog 05/09/24 18:06:43

Modified files:
        test           : ChangeLog 
        Sketch/UI      : skpixmaps.py skapp.py canvas.py 
        Sketch/Editor  : context.py const.py builtins.py __init__.py 
Added files:
        test           : test_aligntool.py 
        Sketch/Pixmaps : AlignTR.xbm AlignTL.xbm AlignTC.xbm AlignT.xbm 
                         AlignR.xbm AlignLC.xbm AlignL.xbm AlignC.xbm 
                         AlignBR.xbm AlignBL.xbm AlignB.xbm 
        Sketch/Editor  : aligntool.py 

Log message:
Add an Align tool whith its own handles and keymap.
Patch by Valentin Ungureanu (savannah patch #4396)

* Sketch/Pixmaps/AlignBL.xbm, Sketch/Pixmaps/AlignBR.xbm,
Sketch/Pixmaps/AlignB.xbm, Sketch/Pixmaps/AlignC.xbm,
Sketch/Pixmaps/AlignLC.xbm, Sketch/Pixmaps/AlignL.xbm,
Sketch/Pixmaps/AlignR.xbm, Sketch/Pixmaps/AlignTC.xbm,
Sketch/Pixmaps/AlignTL.xbm, Sketch/Pixmaps/AlignTR.xbm,
Sketch/Pixmaps/AlignT.xbm: New. Handles for the align operations.

* Sketch/Editor/const.py: Add the align handle types.

* Sketch/UI/canvas.py (handle_info): Add the align handles.

* Sketch/UI/skpixmaps.py (_bitmap_names): Add the align handles.

* Sketch/Editor/builtins.py (align_selected): New. Align the selected
objects and also add builtin commands for common align operations.

* Sketch/Editor/__init__.py: Add new entries for the Align tool in
standard_menu, standard_keystrokes, toolmap and create
align_keystrokes.

* Sketch/Editor/aligntool.py: New. Implementation of the Align tool.

* Sketch/UI/canvas.py (SketchCanvas.lookup_key): Check if the Align
tool is active when looking up the command.

* Sketch/UI/skapp.py: Add the align keymap.

* Sketch/Editor/context.py: Add a builtin command that activates the
Align tool.

* test_aligntool.py: New. Tests for the Align tool.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=sketch&who=bherzog&date=explicit&mindate=2005-09-24%2018:05&maxdate=2005-09-24%2018:07

_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to