vcanim.gif (8357 bytes)SAA_scenePopupViewer
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

    The SoftWish procedure SAA_scenePopupViewer differs from the corresponding SAAPHIRE C language routine in the definition of the callback, and the callback functions themselves are different too. In Tcl the entire callback function, including it's data, is registered directly as a single parameter, a string of code. C can't do this, so it needs to registers the function and it's parameters separately. Here are the signatures of the SoftWish and SAAPHIRE versions of SAA_scenePopupViewer:


  • SoftWish - Tcl:
    
    SI_Error SAA_scenePopupViewer
    

    (

    const SAA_Scene scene,
    const SAA_CustomContext context )

  • SAAPHIRE - C:
    
    SAA_scenePopupViewer
    

    (

    const SAA_Scene scene,
    int dgItemId,
    SI_Error (*callback)(const SAA)scene *scene, void *userdata),
    void *userdata
    );

Here is an example of a SoftWish call to SAA_scenePopupViewer. Note that the entire callback script is passed as the second parameter.


 

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.