[Lazarus] about gif images

Graeme Geldenhuys graemeg.lists at gmail.com
Sat Dec 20 12:13:34 CET 2008


On Tue, Dec 16, 2008 at 2:47 PM, Héctor Fiandor Rosario
<hfiandor at infomed.sld.cu> wrote:
>
> I catch an icon of a chetahh (or other animal) animated as a gif and I want
> to use in my forms.

For fpGUI I created a simple Animation component. I reads in a
composite bitmap (images forming the animation in a horizontal large
[single] image). I can then set a few properties like timing, looping
etc... I simply read the image, split in into separate "frames" and
display them one after the other. Very simply, but it works very nice
for some animation on a form. It should be very simple to port to LCL.


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list