Page 1 of 1

ImageFrameDelay rename in GetImageFrameDelay

Posted: Thu Feb 23, 2017 9:00 am
by User_Russian
I propose to rename function ImageFrameDelay in GetImageFrameDelay and add function SetImageFrameDelay to set frame delay.
Now this is impossible to make and code does work not correctly.

Code: Select all

CreateImage(0, 200, 200)
For i=1 To 10
  AddImageFrame(0)
Next i

Count = ImageFrameCount(0)

For i=1 To Count
  Debug ImageFrameDelay(0)
Next i

Re: ImageFrameDelay rename in GetImageFrameDelay

Posted: Thu Feb 23, 2017 9:25 am
by User_Russian
If in next versions will be added creating GIF (UseGIFImageEncoder()) then it makes sense to rename the function now. Already had many cases when functions were renamed and had to change a lot of code...
In addition, can now create multiple image frames (without saving in gif) and it would be great to have the information about the delay between frames.

Re: ImageFrameDelay rename in GetImageFrameDelay

Posted: Thu Feb 23, 2017 9:31 am
by netmaestro
User_Russian wrote:In addition, can now create multiple image frames
Ok, here's the thing. No. But my guess is we have a language barrier and I didn't take your intended meaning.

Re: ImageFrameDelay rename in GetImageFrameDelay

Posted: Thu Feb 23, 2017 4:48 pm
by mestnyi
+1