diff -r 9db215a4ad53 -r 5987f9f15bac ornamentedobj.cpp --- a/ornamentedobj.cpp Mon Jul 27 12:53:17 2009 +0000 +++ b/ornamentedobj.cpp Mon Aug 03 10:42:12 2009 +0000 @@ -163,8 +163,11 @@ return frame->getBrushColor (); } -void OrnamentedObj::positionContents() +//#include +//using namespace std; +void OrnamentedObj::positionContents() //FIXME-4 called multiple times for each object after moving an image with mouse { +//cout << "OO::positionContents topPad="<getHeadingStd()<getPadding()/2; double x=absPos.x(); double y=absPos.y(); @@ -182,8 +185,8 @@ ); standardFlags->move (ox +x + heading->getWidth() + systemFlags->getBBox().width() , oy + y ); - ornamentsBBox.moveTopLeft ( QPointF ((int)(ox+x),(int)(oy+y))); - clickBox.moveTopLeft (QPointF ((int)(ox + x), (int)(oy + y))); + ornamentsBBox.moveTopLeft ( QPointF (ox+x,oy+y)); + clickBox.moveTopLeft (QPointF (ox + x, oy + y)); } void OrnamentedObj::move (double x, double y)