[9482] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Sprites and Animation

daemon@ATHENA.MIT.EDU (Jan Kellmer)
Thu Oct 22 04:57:54 1998

Date: Thu, 22 Oct 1998 08:54:40 +0000
From: Jan Kellmer <a36@informatik.hs-bremen.de>
To: gnome-list@gnome.org, gtk-list@redhat.com
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Hi there,

I'm porting a windows app to Linux, Using gtk+/imlib and (later)
gnome. For this application I need to move smoothly some pixmaps 
loaded by imlib. What's the best way to do that?
Currently I wrote a little program (heavily based on Rasters imlib 
examples), that sets the background pixmap and then (in the 
event-loop) I set the background-pixmap again, clear the window 
and paste the sprite with gdk_imlib_paste_image. It's flickering 
like hell and the processor load goes to 100%. I'm sure there is a much
better way to do things like that.


    Jan

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post