commit: Don't draw weird images during Visual Drag and Drop.

From: <msevior_at_physics.unimelb.edu.au>
Date: Wed Mar 09 2005 - 16:19:45 CET

VS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/af/gr/unix/gr_UnixGraphics.cpp src/af/gr/xp/gr_Graphics.h
CVS: src/af/xap/unix/xap_UnixFrameImpl.cpp
CVS: src/text/fmt/xp/fv_View.cpp src/text/fmt/xp/fv_View.h
CVS: src/text/fmt/xp/fv_VisualDragText.cpp
CVS: src/text/fmt/xp/fv_VisualDragText.h
CVS: src/wp/ap/xp/ap_EditMethods.cpp
CVS: ----------------------------------------------------------------------
Don't draw weird images during VDND.

This fixes a whine from uwog. The current selection is off screen we no
draw some horrible image. We now show a different shaped cursor instead.

Windows and Cocoa developers will need to implement two new cursors styles
to match..

        case GR_CURSOR_DRAGTEXT:
                cursor_number = GDK_TARGET;
                break;

        case GR_CURSOR_COPYTEXT:
                cursor_number = GDK_DRAPED_BOX;
                break;

I'm sure the gtk people can come up with better cursors than these but at
least it's now obvious that we're doing something different with dragging
and dropping text.

Cheers

Martin
Received on Wed Mar 9 16:21:35 2005

This archive was generated by hypermail 2.1.8 : Wed Mar 09 2005 - 16:21:36 CET