[AD] Mouse drawings

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I fear that removing the way to use show_mouse() in memory bitmaps will
cause serious compatibilities issues and will break older codes.

I normally do:

// draw stuff on memory bitmap bmp...
show_mouse(bmp);
blit(bmp, screen, ...);
show_mouse(NULL);

or, in some cases:

show_mouse(NULL);
// draw stuff on memory bitmap bmp...
show_mouse(bmp);
blit(bmp, screen, ...);

and in some other very few cases:

// draw stuff on memory bitmaps bmp1, bmp2, bmp3...
show_mouse(bmp1);
blit(bmp1, bmp4, ...);
show_mouse(bmp2);
blit(bmp2, bmp4, ... /* Blitted in another place. */);
show_mouse(bmp3);
blit(bmp3, bmp4, ... /* And then other. */);
blit(bmp4, screen, ...);
show_mouse(NULL);

I think restricting it to video bitmaps only is a really bad idea,
since there isn't any technical issues to create such restriction.

Victor


	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/