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


Hi

I am thinking of replacing the Color class in tools/color.hxx by a new
Color type (say new_Color, of course with a better name), not
dependant on other parts of tools. The plan then would be to add casts
between tools/Color and new_Color to the tools/Color, and replace the
uses of tools/Color by the new type one by one. So now my questions
are:
- Is there already such a color type I could/should use, and where? (I
have looked different places in the tree, but without finding any)
- If I write a new color type, where in the tree should it go? (sal/
seems maybe to basic, but color does not necessary have to do with ui,
...)
- Is this strategy: "writing new type, adding casts to old type,
replacing occurrences, removing old type" appropriate?
- tools/Color uses ResId, do I understand correctly, that it is a way
of storing/retrieving objects from memory/storage, and is it
deprecated (it seems only to be implemented in tools)?

Regards
Sören Möller

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.