Vis callbacks [Archive] - Quintessential Forum

PDA

View Full Version : Vis callbacks


plover
11-17-2003, 02:17 AM
Two quick questions:
When the skin is changed while a vis is running, does the player call "resize", or does it shut down the vis with "wrap" and re-call the entry function?
What does the "flags" parameter to "configure" indicate?

[Edit] Another quick question:
The coordinates sent as parameters to the "event" callback are in the vis window coordinate sytem, correct?

Paul
11-20-2003, 04:54 PM
1) When the player needs to resize the vis it will first try to call Resize(). If the function is not available of returns false, the player will then restart the plugin by calling Wrap() then the init function again.

2) Flag are for future use. There are no defined flags currently.

3) Yes, event coords are in vis coordinates.