LWJGL Forum

Programming => OpenGL => Topic started by: abcdef on October 22, 2014, 08:12:06

Title: [RFE] Sequencing for animated cursors
Post by: abcdef on October 22, 2014, 08:12:06
Hi

Firstly sorry for posting this here but I can't seem to post new items in the RFE section of the forum

I'm looking at implementing animated cursors, I have only seen .ani versions of these so I have implemented this format. I noticed in the format that there is an optional component to read a sequence data set. If I had images indexed 0-3 I could have the animation go in the sequence 0,1,2,3,2,1,0 (Simple example), I have some .ani files that do just that. Each item in this sequence also has its own frame rate value.

The LWJGL implementation doesn't seem to support sequences so I would have to repeat images to get the same effect. My request for enhancement is therefore to add the ability to support sequencing in animated cursors

As a side point I notice for animated cursors I can only put in one hot spot (x,y), the .ani format supports hot spots per frame. If the underlying image data is a .cur data format then each frame will have its own.

Thanks

abcdef