Re: commit: Text box resizing and dragging.

From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Sat Oct 25 2003 - 11:41:06 EDT

  • Next message: Marc Maurer: "Commit (HEAD): require GTK2.2 or above"

    Hi Martin,

    Dragging text sort-of already works. It doesn't
    display an image while dragging, though, and no doubt
    it needs some bugfixing love.

    Cheers,
    Dom

    --- msevior@physics.unimelb.edu.au wrote:
    >
    > 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
    >
    >
    >

    __________________________________
    Do you Yahoo!?
    The New Yahoo! Shopping - with improved product search
    http://shopping.yahoo.com



    This archive was generated by hypermail 2.1.4 : Sat Oct 25 2003 - 11:42:17 EDT