On Mon, 6 Mar 2006 06:24:51 +0100 "Christian U." <[EMAIL PROTECTED]> wrote:
> > On 3/5/06, Christian U. <[EMAIL PROTECTED]> wrote: > >> 1. a real TIcon will never be implemented becouse no os than win32 > >> supports > >> icons > > > > I think this isn´t true. Qt supports icons, there is even a QIcon Qt > > object, and Mac OS loves icons. > > what i mean is, that the native icon format isnt the same everywhere and > lazarus needs an tbitmap implementation > i think a NativeHandle function ir somehing like this coud help to ship > around this issue... > > but i think its mutch more importend to discuss tbitmap: tbitmap has only > 1 bit transparency and leaks some other functions of an "modern image > format" maybe lazarus schould internaly use another format ?! The LCL TBitmap nowhere defines a mask to be 1bit per pixel. It even supports transparency without a separate mask handle (used for instance by the gtk intf). It uses TLazIntfImage/TRawImage for conversion, and this supports up to 16 bits alpha per pixel. Only the interface has to support bitmap handles with alpha. > > Thanks a lot for the patch. My position is that this should go to > > TIcon, thought the final word isn´t mine. > > the patch is only an preversion to make it generally working, maybe > someone has an idea to get transparancy on this function > i will try to make this with tlazintfimage today evening maybe this works > better ... Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives