Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Last night I submitted some patches to remove most of the code related to BmpColorMode from 
libs-gui.

The only remaining references are in:

        vcl/source/gdi/bitmap.cxx
        vcl/inc/vcl/bitmap.hxx
        vcl/source/gdi/bitmapex.cxx
        vcl/inc/vcl/bitmapex.hxx
        vcl/source/gdi/image.cxx
        vcl/inc/vcl/image.h
        vcl/source/gdi/impimage.cxx

These items not only use the normal BMP_COLOR_NORAMAL & BMP_COLOR_HIGHCONTRAST, but also 
BMP_COLOR_MONOCHROME_BLACK & BMP_COLOR_MONOCHROME_WHITE. They also have some bitmap transformation 
code.

As far as I can determine, the MONOCHROME settings are never used outside of bitmap.cxx & 
bitmapex.cxx.

The big quest is: is anyone attached to this code or can I just remove it?

I could also try to remove the BMP_COLOR_HIGHCONTRAST code from these files and leave the other 
sections intact.

There is also some related code in:

        vcl/source/control/fixed.cxx
        vcl/source/control/imgctrl.cxx
        vcl/source/gdi/impimage.cxx
        vcl/source/window/toolbox.cxx

Joe P.



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.