On 11 Dec 2009, at 18:20, manolo gouy wrote:
>
> I was so proud of showing graphically the dragged text!

I know how that goes - you work to get something that is really neat,  
then the user (me in this case!) goes, Oh, that's not what I expected...

> I guess we could show this only when the dragging source is
> an Fl_Input_, but Cocoa needs absolutely an image to display
> during drag. What image do you suggest for "generic" drag operations ?

I just ran two versions of my app side by side, one "old" one "new".

When dragging, the old version shows a grey "box" that looks like it  
is maybe XOR drawn?
I don't know where that comes from, I don't recall writing the code  
for that, so I assume that "old" fltk is doing that?
Also, the cursor changes from an arrow to a "grab hand" - I do  
remember writing code to do that!

Now with the new code, I get the cryptic-text-string, and the cursor  
does not change, it stays in arrow shape.

As an additional observation: If I drag an entity from the tool  
palette on the "new" version of the app, then I can drop onto either  
the "old" or the "new" editor window and it works correctly.

But if I drag from the "old" tool palette, the "new" editor will not  
accept the drop - so something must have changed in there (though I  
doubt it really matters in practice, just an oddity I noticed...)



_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to