commit: Text box resizing and dragging.

From: msevior@physics.unimelb.edu.au
Date: Sat Oct 25 2003 - 10:22:28 EDT

  • Next message: Dom Lachowicz: "Re: commit: Text box resizing and dragging."

    CVS: ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Modified Files:
    CVS: text/fmt/xp/fl_ContainerLayout.h
    CVS: text/fmt/xp/fl_FrameLayout.cpp
    CVS: text/fmt/xp/fp_FrameContainer.cpp
    CVS: text/fmt/xp/fp_FrameContainer.h text/fmt/xp/fp_Page.cpp
    CVS: text/fmt/xp/fv_FrameEdit.cpp text/fmt/xp/fv_FrameEdit.h
    CVS: text/fmt/xp/fv_View.cpp text/fmt/xp/fv_View.h
    CVS: wp/ap/xp/ap_EditMethods.cpp
    CVS: ----------------------------------------------------------------------
    Text boxes can now be interactively dragged and resized.

    For some reason I don't understand the xorBox function does always work in
    this code ( at least for unix). If either Dom or plam could look at it and
    what the problem is I'd appeciate it.

    I suspect a bug in the graphics class...

    Apart from that, text boxes are now basically usuable

    Obvious bugs are:

    1. Update rulers when typing inside text boes.
    2. undo doesn't work.
    3. Can still screw things up by deleteing the wrong paragraph or hitting
    return in the wrong paragraph.
    4. Tables in text boxes don't work.

    However all these can be fixed easily enough.

    I want to now make a detour and implement visual copy and pasting of text.

    My plan is that after highlighting text I want to be able to grab the
    selected text and drag it to where I want it while showing the text as an
    image while I drag it.

    After this is done I'll implement dragging of text boxes as images too.

    I have uwog's code for image dragging to help and inspire me :-)

    Cheers

    Martin



    This archive was generated by hypermail 2.1.4 : Sat Oct 25 2003 - 10:23:37 EDT