Exemplo n.º 1
0
static void
EVUprint (char *text)
{
   SRGP_inquireAttributes (&bund);
   SRGP_setColor (COLOR_BLACK);
   SRGP_setWriteMode (WRITE_REPLACE);
   SRGP_setClipRectangle (SRGP_defRectangle(0,0,1023,799));
   SRGP_text (SRGP_defPoint(15,ycoord), text);
   ycoord -= ydelta;
   SRGP_setAttributes (&bund);
}
Exemplo n.º 2
0
PRIVATE void doExposureAnimation(SUIT_object newGuy)
{
    
    /* the animations run a little faster after the first time */
    static	boolean firstTime = TRUE;
    SUIT_object o = SUIT_name("property editor export button");
    
    GP_pushGraphicsState();
    si_animateOverTime(moveTheTruck, o, firstTime ? 1000 : 500); 
    GP_popGraphicsState();		       
    
    SUIT_redisplayRequired(o); /* clean up after ourselves */
    
    /* now draw attention to the new guy */

    GP_pushGraphicsState();
    SRGP_setColor(1);
    SRGP_setWriteMode (WRITE_XOR);
    si_animateOverTime(si_animateScreenBorderToObject, newGuy, firstTime ? 1000 : 500);
    GP_popGraphicsState();		       

    firstTime = FALSE;

}