Ejemplo n.º 1
0
void CPROC Output( PTRSZVAL psv, PRENDERER display )
{
    if( g.is_up[psv] )
    {
        Image surface = GetDisplayImage( display );
        Image imgGraphic;
        struct video_element *element = (struct video_element*)GetLink( &g.current_list[psv]->images, g.currents[psv] );
        //lprintf( WIDE("Current on %d is %d"), psv, g.currents[psv] );
        imgGraphic = element->image;
        BlotScaledImage( surface, imgGraphic );
    }
}
Ejemplo n.º 2
0
void CPROC Output( uintptr_t psv, PRENDERER display )
{
	if( g.is_up[psv] )
	{
		Image surface = GetDisplayImage( display );
		Image imgGraphic;
		//lprintf( "Current on %d is %d", psv, g.currents[psv] );
		imgGraphic = (Image)GetLink( &g.images, g.currents[psv] );
		if( g.flags.bShowInverted )
			BlotScaledImageSizedEx( surface, imgGraphic, 0, 0, (surface)->width, (surface)->height, 0, 0, (imgGraphic)->width, (imgGraphic)->height, 0, BLOT_INVERTED );
		else
			BlotScaledImage( surface, imgGraphic );
	}
}