Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-05

Bitmap animation component

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

I created a bitmap animation component for fpGUI. It works like the old Netscape spinning logo. One image with all the frames layout in in a horizontal position.

It doesn't have much use, other that to take up some space on a form and entertain your users. :-) Does something like this exist for Lazarus? If not, I'll port the component with an example application.

Regards,
- Graeme -

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

Reply by email

Kostas Michalopoulos
to Graeme Geldenhuys
Show quoted text 9 lines
Hi, I created a bitmap animation component for fpGUI. It works like the old Netscape spinning logo. One image with all the frames layout in in a horizontal position. It doesn't have much use, other that to take up some space on a form and entertain your users. :-) Does something like this exist for Lazarus? If not, I'll port the component with an example application.

I would have some use for it if the ability to specify how many times the animation should be played (none, always, 1, 2, etc), be able to specify the speed and direction (actually having a ping-pong style animation sequence would be nice, like 0-1-2-3-4-3-2-1-repeat, especially for one-time animations) and support transparency.

In fact i want to use it as a little animating "warning" icon at the right side of some input boxes when the user enters invalid stuff :-).

Kostas

Reply by email

A.J. Venter
to Kostas Michalopoulos
Kostas Michalopoulos wrote 15 lines
> Hi, > > I created a bitmap animation component for fpGUI. It works like the > old Netscape spinning logo. One image with all the frames layout in in > a horizontal position. > > It doesn't have much use, other that to take up some space on a form > and entertain your users. :-) Does something like this exist for > Lazarus? If not, I'll port the component with an example application. I would have some use for it if the ability to specify how many times the animation should be played (none, always, 1, 2, etc), be able to specify the speed and direction (actually having a ping-pong style animation sequence would be nice, like 0-1-2-3-4-3-2-1-repeat, especially for one-time animations) and support transparency.

The closest component I know of is gamepack, which is overkill for just animating a bitmap - and also doesn't do the
things Kostas mentioned - since games rarely work like that.

A.J. Venter Chief Executive Officer Tel.: +27 21 554 5059 Fax: +27 11 252 9197 Outkast Solutions IT www.outkastsolutions.co.za A division of Global Pact Trading Pty Ltd. www.silentcoder.co.za - Blog scartoonz.silentcoder.co.za - ScarToonz webcomic

Reply by email

Graeme Geldenhuys
to Kostas Michalopoulos: I would have some use for it if the ability to specify how many times the animation…
Kostas Michalopoulos wrote 6 lines
I would have some use for it if the ability to specify how many times the animation should be played (none, always, 1, 2, etc), be able to specify the speed and direction (actually having a ping-pong style animation sequence would be nice, like 0-1-2-3-4-3-2-1-repeat, especially for one-time animations) and support transparency.

I like those ideas! I'll extend the component and create a LCL one as well.

Regards,
- Graeme -

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

Reply by email