Hi everyone,

as of revision 30950, the old event system is gone from trunk. This 
means that csev*Process and the corresponding methods from 
csBaseEventHandler are no longer available.

CS and CEL have already been changed to use the new event system, but 
your own code might still rely on the old parts. So if your 
application/plugin compiles but doesn't display anything anymore, check 
whether you are using csBaseEventHandler and one of the *ProcessFrame 
methods.

If you were using csBaseEventHandler::ProcessFrame to draw and 
csBaseEventHandler::FinishFrame to display the results, consider using 
csBaseEventHandler::Frame for drawing and the FramePrinter helper class 
for displaying. Simple1 shows how to do this.

On the other hand, if you have to handle the frame event twice or more 
per frame in one class, use embedded event handlers that specify the 
correct ordering constraints and call their parent class to actually 
handle the event. An example of this can be found in walktest.

Greetings,
Lukas



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to