[quote="<MagicSpark.org [ BlueSky ]>,post:22,topic:27660"]
Hmm Qudus the button widget does not work really good, cause the image change is called directly from the AWT Event thread (may cause threadind problems : Xith doesn’t support multi-threading). I think I can use ScheduledOperations to change image, but how to implement that, HUD is not based on an ExtRenderLoop ?
[/quote]
hey, good point. And well done. I only changed it a bit, so that not an ExtRenderLoop is expected but an OperationScheduler which is an interface implemented by ExtRenderLoop. I think, this is a little cleaner and I wrote this interface for such a purpose.
[quote="<MagicSpark.org [ BlueSky ]>,post:22,topic:27660"]
I’ll investigate please don’t do that for me (hey it’s not fun if you just code everything ;D 8) )
[/quote]
Sorry. I shouldn’t do that.
[quote="<MagicSpark.org [ BlueSky ]>,post:22,topic:27660"]
Woohooo ! Now buttons work perfectly with scheduled operations ! Qudus, check out your tk.
[/quote]
Really cool. I added some contructors to the ImageButton class and completed the javadoc for them.
[quote="<MagicSpark.org [ BlueSky ]>,post:22,topic:27660"]
Now I’ll just hack some listener thing so you can actually catch and handle button events.
[/quote]
Can’t wait to see them. Should be senseful to lean on Swing in that point, too, right?