[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: [AD] Mouse drawings
- From: Victor <vwss1984@xxxxxxxxxx>
- Date: Sun, 28 Aug 2005 00:42:53 -0300 (ART)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rmtJgsuGu+zr73M0v74rfFK1lPBKiv2eJbas3GKrpXPAN8rDRJnt+EcFi5TTn/7GtkyATEDe5KvYrI0YZMIjFCctFKc7NdHAxrx3GXZREMiI8txkCdEODxnJWCvZSa1bt5yEBlw98h9fnzlK3apbD7nKtofOBeD7cPs6mhuN7r4= ;
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/