commit: Turn screen rectangles to images, fully fix dragging resizing text boxes.

From: Martin Sevior (msevior@seviorpc.ph.unimelb.edu.au)
Date: Tue Oct 28 2003 - 19:40:21 EST

  • Next message: Martin Sevior: "Re: Re: advanced warning: planed removal of stale Pango code"

                                                                                    
    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: src/af/gr/beos/gr_BeOSGraphics.h
    CVS: src/af/gr/cocoa/gr_CocoaGraphics.h
    CVS: src/af/gr/qnx/gr_QNXGraphics.h
    CVS: src/af/gr/unix/gr_UnixGraphics.cpp
    CVS: src/af/gr/unix/gr_UnixGraphics.h src/af/gr/unix/gr_UnixImage.h
    CVS: src/af/gr/win/gr_Win32Graphics.h src/af/gr/xp/gr_Graphics.h
    CVS: src/af/xap/unix/xap_UnixFrameImpl.cpp
    CVS: src/af/xap/unix/xap_UnixNullGraphics.h
    CVS: src/af/xap/unix/xap_UnixPSGraphics.h
    CVS: src/af/xap/unix/gnome/xap_UnixGnomePrintGraphics.h
    CVS: src/text/fmt/xp/fl_FrameLayout.cpp
    CVS: src/text/fmt/xp/fp_ContainerObject.cpp
    CVS: src/text/fmt/xp/fp_FrameContainer.cpp
    CVS: src/text/fmt/xp/fv_FrameEdit.cpp
    CVS: src/text/fmt/xp/fv_View_protected.cpp
    CVS: src/wp/ap/xp/ap_EditMethods.cpp
    CVS:
    ----------------------------------------------------------------------
    Implement a method to turn a rectangular section of screen into an
    image, lots of work to fully fix dragging and resizing textboxes.
                                                                                    The api is simple enough,

    In the gr_Graphics class it's

    virtual GR_Image * genImageFromRectangle(UT_Rect & r) = 0

    I implemented methods on platforms other than unix where this returns a
    NULL.

    Win,qnx and Cocoa developers should make it do something useful. I think
    you can reuse your code from saverectangle.

    Also fully fixed interting, resizing and dragging text boxes.

    The implementation drags or resizes the text box visually on the fly so
    you see the effect of changing the text box orientation on the text
    contained within it.

    The image method will be used for visual dragging and dropping of text.

    >From observing my Mother and wife use AbiWord the idea of cut/copy/paste
    to/from an invisible clipboard is a difficult concept. I think visually
    dragging and dropping text is much more intuitive to a lot of people.

    Finally I think we can get a presentation program going from the AbiWord
    code base pretty easily now.

    I think we should open a discussion on exactly how to proceed soon.

    Cheers

    Martin



    This archive was generated by hypermail 2.1.4 : Tue Oct 28 2003 - 18:41:15 EST