I am investigation bug
#101846: Refresh progem of dragged image.
And found that the reason is in the the
-[NSCell drawInteriorWithFrame:inView:]
method. The problem is that XGDragView
uses this method to redraw the image in
-[XGDragView drawRect:]
Now XGDragView assumes that the drawInterior...
method will redraw the part specified in the
first argument.
However, in NSCell we do two things,
A - We draw a frame (if needed)
of size approximately the first argument.
B - We try to centre the image in the frame.
This goes wrong if XGDragView passes a rectangle
that is only a part of the image.
Question: Who is correct? is XGDragView
correct in assuming it can pass an arbitrary rect
and the NSCell class will make sure that rect is redraw.
Or is NSCell correct in assuming it will get passed
a rect that is not clipped?
Wim Oudshoorn.
_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep