On Thursday 28 April 2016 00:02:37 Krzysztof wrote: > Hi Martin, > > I have created spinner from this site: > http://preloaders.net/en/search/spinner . I need to change color > dynamically at runtime by changing TIcon.Colorglyph but it doesn't > work. I see that it work with your embedded stock glyphs (e.g. grids > sort indicator). But in my case it is always black. I'm not sure where > is the trick, is it in bitmap format or imagelist option? Here is what > I do: > Ticon.Colorglyph is for monochrome bitmaps only - the stock glyphs are monochrome. Combining a monochrome bitmap with a gray mask is not supported currently. Workaround: set the imagelist color by " timagelist1.bitmap.init(TheColor); " or use for every color a separate group of images in imagelist, select the group by Ticon.ImageNum. I'll check if it is possible to implement combination of monochrome pixmap with gray mask. [...] > Sorry that I'm bother you recently but I'm close to finish porting my > LCL app and I'm very happy that it is going so well :)
That is OK, I like to optimise and extend MSEgui based on real applications. > . This issue is > cosmetic and it is realy fine if spinner will be always black but I'm > curious guy :). Tried spinner generated from font awesome with rotate > option which you added but it doesn't look good - rotate animation is > fine but pixels have offset for each angle (frame) so animation is > "shaking" Probably because of not exact centring caused by anti-aliased pixels. Please play with padding. I'll check if it is possible to ad a fontmetrics based version of the function. Martin ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

