Slick Forums

Discuss the Slick 2D Library
It is currently Wed May 22, 2013 4:30 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Sep 09, 2012 4:09 pm 
Offline

Joined: Sun Sep 09, 2012 2:01 pm
Posts: 1
Hello,

is it possible to create an animated background for a widget from code?

Thanks,
Best regards


Top
 Profile  
 
PostPosted: Sun Sep 09, 2012 5:58 pm 
Offline
Slick Zombie

Joined: Fri Jan 29, 2010 7:02 pm
Posts: 1171
You can write your own code in the paintWidget/paintBackground method. Or you could create your own class which implements the Image interface. Currently you can't create instances of AnimatedImage yourself.

_________________
TWL - The Themable Widget Library


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: zetain and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group