commit head: improve fp_Run::updateBackgroundColor()

From: Tomas Frydrych (tomas@frydrych.uklinux.net)
Date: Mon Jul 29 2002 - 13:19:18 EDT

  • Next message: Tomas Frydrych: "Re: proposed updateBacgroundColor() fix"

    I have made changes to the UT_RGBcolor class, so that it can
    represent a transparent colour -- I have taken the approach
    suggested by Joaquin with an extra bool, because it makes it
    possible to create a transparent colour that otherwise appears to be
    white and that way we do not need to modify the graphics classes to
    draw white bacground when the colour is set to transparent.

    I also removed the propety querry from
    fp_Run::updateBackgroundColor(); this fix does not deal with the
    fact that the function itself is probably called more often than it
    should be, but I will that to Joaquin.

    files: ut_misc.cpp/h, fp_Run.cpp/h, fp_TextRun.cpp

    Tomas



    This archive was generated by hypermail 2.1.4 : Mon Jul 29 2002 - 13:28:02 EDT