[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-users] pg_frameapplication
From: |
Alexander Opitz |
Subject: |
[paragui-users] pg_frameapplication |
Date: |
Tue, 27 May 2003 12:23:20 +0200 |
User-agent: |
KMail/1.5.2 |
Hi,
like I'd wrote it, here it comes in a first try :-)
- PG_FrameApplication is the Application
- PG_FrameHandler is called every round and it calls the NextFrame function of
every PG_FrameObject
- PG_FrameObject is called every round and is the ground Object for
Sprites/Animations etc.
You can disabling the background redraw of the application. That give speed on
animations which are in one Widget and if you know your sprites aren't move
over the background of THE application, or this background isn't visible.
in dblbuffer2.cpp you can see an example usage.
patch is against paragui cvs devel-1-0.
TODO:
- remove FrameObject from FrameHandler
- let it also work with a surface of a widget (any suggestions are welcome)
- update dblbuffer2.cpp to let choose between sprites on application and
sprites only on the viewed window (instead of foreground/background)
More needed?
Greetings Alex//
paragui-cvs.tar.gz
Description: application/tgz
- [paragui-users] pg_frameapplication,
Alexander Opitz <=