1.1 --- a/ornamentedobj.cpp Mon Jul 27 12:53:17 2009 +0000
1.2 +++ b/ornamentedobj.cpp Mon Aug 03 10:42:12 2009 +0000
1.3 @@ -163,8 +163,11 @@
1.4 return frame->getBrushColor ();
1.5 }
1.6
1.7 -void OrnamentedObj::positionContents()
1.8 +//#include <iostream>
1.9 +//using namespace std;
1.10 +void OrnamentedObj::positionContents() //FIXME-4 called multiple times for each object after moving an image with mouse
1.11 {
1.12 +//cout << "OO::positionContents topPad="<<topPad<<" botPad="<<botPad<<" "<<treeItem->getHeadingStd()<<endl;
1.13 double d=frame->getPadding()/2;
1.14 double x=absPos.x();
1.15 double y=absPos.y();
1.16 @@ -182,8 +185,8 @@
1.17 );
1.18 standardFlags->move (ox +x + heading->getWidth() + systemFlags->getBBox().width() , oy + y );
1.19
1.20 - ornamentsBBox.moveTopLeft ( QPointF ((int)(ox+x),(int)(oy+y)));
1.21 - clickBox.moveTopLeft (QPointF ((int)(ox + x), (int)(oy + y)));
1.22 + ornamentsBBox.moveTopLeft ( QPointF (ox+x,oy+y));
1.23 + clickBox.moveTopLeft (QPointF (ox + x, oy + y));
1.24 }
1.25
1.26 void OrnamentedObj::move (double x, double y)