Jump to content
Registration disabled at the moment Read more... ×
Sign in to follow this  
mvisser

Skia for Delphi: drawing Lottie animation in CustomDraw event of TVirtualStringTree (VCL)

Recommended Posts

Hey everyone 🙂

 

I've been looking into the Skia for Delphi library and it looks pretty nifty! There's one thing, however, I cannot figure out: I want to draw a Lottie animation in a CustomDraw-event of the TVirtualStringTree component. This CustomDraw-event, of course, works with a regular VCL TCanvas and I can't figure out how to achieve this.

 

Bit of context: the TVirtualStringTree will be populate with nodes which represent background tasks. Depending on the status of a background task, the node will display a static image when the task is idle or a Lottie animation for as long as the task is busy.

 

Any pointers are greatly appreciated!

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×