Quote from: blikblumQuoteConverting images to LCL TBitmap works ok with different widgetsets?
I did not tested, but i can do it and inform you.
Quote
BTW: did you considered using include files instead of ifdefs? It leads to more readable code. The problem is that the Delphi ide does not support include files as well as Lazarus.
I can (try) implement the Qt widgetset code and move the code for include files (only for LCL, keep VCL code in the same unit) if you agree. I don't have a mac so no carbon, but i could add empty methods to allow compilation.
Quote
BTW: the project i'm working is LuiImage, an image display component that uses cairo to display. It features tiling mode, arbitrary scale and clips and some more. The code and demo can be found at https://svn.bountysource.com/luipack/trunk/luicairo/. The required packages can be found at https://svn.bountysource.com/luipack/trunk/cairo/. In https://svn.bountysource.com/luipack/trunk/cairo/imaging/extra/ i've put the modified Imaging packages for those that want to use LuiImage.
Quote
Well, there are currently no useful Imaging visual/display functions to speak of.
QuoteDo you mean DisplayImage?
QuoteMore ifdefs could be put here so that the components unit would compile with other widgetsets too (probably without DisplayImage function).
QuoteConverting images to LCL TBitmap works ok with different widgetsets?
QuoteI could split the package but if this could be resolved just by conditional compilation I would prefer this approach (= if other stuff in the unit work for all widgetsets remove DisplayImage only).
Page created in 0.031 seconds with 20 queries.