glom r1195 - in branches/glom-precise-printing: . glom/relationships_overview glom/utility_widgets/canvas



Author: murrayc
Date: 2007-10-11 15:28:04 +0100 (Thu, 11 Oct 2007)
New Revision: 1195
ViewCVS link: http://svn.gnome.org/viewcvs/glom?rev=1195&view=rev

Modified:
   branches/glom-precise-printing/ChangeLog
   branches/glom-precise-printing/glom/relationships_overview/dialog_relationships_overview.cc
   branches/glom-precise-printing/glom/utility_widgets/canvas/Makefile.am
   branches/glom-precise-printing/glom/utility_widgets/canvas/canvas_editable.cc
   branches/glom-precise-printing/glom/utility_widgets/canvas/canvas_group_grid.cc
   branches/glom-precise-printing/glom/utility_widgets/canvas/canvas_group_movable.cc
   branches/glom-precise-printing/glom/utility_widgets/canvas/canvas_group_movable.h
   branches/glom-precise-printing/glom/utility_widgets/canvas/canvas_item_movable.cc
   branches/glom-precise-printing/glom/utility_widgets/canvas/canvas_item_movable.h
   branches/glom-precise-printing/glom/utility_widgets/canvas/canvas_rect_movable.cc
   branches/glom-precise-printing/glom/utility_widgets/canvas/canvas_rect_movable.h
   branches/glom-precise-printing/glom/utility_widgets/canvas/test_canvas_editable.cc
Log:
2007-10-11  Murray Cumming  <murrayc murrayc com>

* glom/utility_widgets/canvas/canvas_item_movable.cc:
* glom/utility_widgets/canvas/canvas_item_movable.h: Made set_grid() 
a virtual function.
Put a static cast_to_movable() here, for convenience.
* glom/utility_widgets/canvas/canvas_group_movable.cc:
* glom/utility_widgets/canvas/canvas_group_movable.h: Overrode 
set_grid(), to set it in the children too.
Allow all four corners to be snapped, using get_bounds() to get 
the height and width.
* glom/utility_widgets/canvas/canvas_editable.cc: set_grid(): 
set the grid on all children that derive from CanvasItemMovable.

* glom/utility_widgets/canvas/canvas_rect_movable.cc:
* glom/utility_widgets/canvas/canvas_rect_movable.h: Default to 
snapping all four corners.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]