commit: bidi caret (breaks tree)

From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Wed Jan 15 2003 - 16:35:59 EST

  • Next message: Hubert Figuiere: "Re: Commit: 4524"

    This fixes the bidi caret that got broken when the caret class was
    introduced; this commit breaks everything but the win32 build --
    sorry guys, but it could not be helped.

    The critical changes are to gr_Graphics::saveRectangle() and
    gr_Graphics::restoreRectangle(). These functions now take an extra
    index parameter making it possible to save and restore a number of
    rectangles at the same time; the win32 versions are implemented,
    others are not. Although the carect class only needs three
    rectangles for now, it would be best if the implementations did not
    impose any limits (the win32 version is using UT_Vector's).

    files: gr_Graphics.h; gr_Win32Graphics.h/cpp; gr_Caret.h/cpp

    Tomas



    This archive was generated by hypermail 2.1.4 : Wed Jan 15 2003 - 16:42:39 EST