Page 1 of 1

Four very important wish =)

Posted: Sat Jun 02, 2007 10:46 pm
by PureX
Hi.
Please, tell me, is it possible :?:

1) Loading animated GIF.
2) What about THEN operator instead of ':' and required EndIf?
3) Flag for autoscrolling in EditorGadget.
4) And main dream:
LoadAnimImage command. (Or something like this)
The LoadAnimImage loads a single image that is made up of 'frames' of separate images. The imagestrip itself consists of 2 or more frames, horizontally aligned in a single graphic image. There is no spaces between the frames, and each frame must be the same width and height.
LoadAnimImage( filename,width,height,first,count[,flags] )
first - the frame to start with
count - how many frames you are using of the imagestrip
And some changes in DrawImage:
DrawImage(ImageID, x, y [, Width, Height, Frame]), where Frame is number of frame which must be drawing.

Fourth is the most important. :)

Posted: Sat Jun 02, 2007 10:58 pm
by michaeled314
I'm Not sure the then operator is completely neccessary

Re: Four very important wish =)

Posted: Sat Jun 02, 2007 11:51 pm
by PB
The search function for these forums is your friend. :)

> Loading animated GIF

http://www.purebasic.fr/english/viewtopic.php?t=3817

> What about THEN operator instead of ':' and required EndIf?

http://www.purebasic.fr/english/viewtopic.php?t=20619

BTW, "Purex" means something else in Australia: http://tinyurl.com/2cxl5q
So you might want to consider changing your nick to something better. ;)

Posted: Sun Jun 03, 2007 12:26 am
by PureX
It's not exactly what I wanted. But probably the best at current moment.
> What about THEN operator instead of ':' and required EndIf?

http://www.purebasic.fr/english/viewtopic.php?t=20619
ThankS!!!
BTW, "Purex" means something else in Australia
:D :D Wow, exact hit. :)

Posted: Sun Jun 03, 2007 12:29 am
by Dare
:D

Posted: Sun Jun 03, 2007 1:35 am
by Brice Manuel
For #4 there are code examples for that at PureArea.Net

Re: Four very important wish =)

Posted: Sun Jun 03, 2007 1:37 am
by Brice Manuel
PB wrote:BTW, "Purex" means something else in Australia: http://tinyurl.com/2cxl5q
Here in the USA Purex is an entirely different product.

Posted: Sun Jun 03, 2007 10:42 am
by Kaeru Gaman
PUREX is Plutonium and Uranium Recovery by EXtraction:
http://en.wikipedia.org/wiki/PUREX

Posted: Tue Jun 05, 2007 4:13 pm
by eJan

Posted: Tue Jun 05, 2007 4:38 pm
by Fluid Byte
Do you want Load- / DrawAnimImage() for a screen or to use with plain windows and GDI? For a screen it would be a piece of cake since theres a command ClipSprite(). The rest is just manicure.