commit HEAD: foreground colour handling, revisions

From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Wed May 22 2002 - 15:20:08 EDT

  • Next message: Alan Horkan: "Re: commit - <HEAD> Removal of ask installer from build tree"

    I have moved the m_colorFG member from the Text and Tab runs
    into the base class and implemented fp_Run::getFGColor(); it is
    essential that the derived classes do not try to access m_colorFG
    directly, but use this new method as it handles colours for sings
    like hyperlinks and revisions.

    As the PP_Revision class evolved it was becoming more and more
    like PP_AttrProp, so I rewrote it as a derived class of PP_AttrProp
    getting rid of the redunant code. This required the addtion of
    bool PP_AttrProp::hasAttributes();

    I also moved pretty much of the revision handling code from
    fp_TextRun into the base class.

    files: fp_TextRun.h/cpp, fp_Run.h/cpp, pp_AttrProp.h/cpp,
    pp_Revision.h/cpp

    Tomas



    This archive was generated by hypermail 2.1.4 : Wed May 22 2002 - 15:24:39 EDT