Re: SDLx::Text - replace old text?

[email protected] (Dominique Dumont) Sun, 25 Dec 2011 10:24:11 +0100
Newsgroups perl.sdl.devel
Message-ID <[email protected]>
Le Friday 23 December 2011 21:02:17, Kartik Thakore a écrit :
> > Regarding the surface, SDLx::App is a SDLx::Surface.  That's what I
> > was referring to.  I don't think it's safe to make any assumptions
> > about what's behind the text, so it should be the module user's
> > responsibility to clear whatever is behind it.
> 
> Hmm can we just not make the blit for clearing the text surface? Cause it
> wraps an sdl::surface.

Don't go that way: next thing user will ask is to restore what was behind the 
text on the surface.

Dominique
--
http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/
http://www.ohloh.net/accounts/ddumont     -o- http://ddumont.wordpress.com/
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAABAgAGBQJO9uu7AAoJEMMfT9lJqytsUZYP/RSrqc069x04t0NUnh5ZbFzB
7mZYMryMANPCZVMQzu4rLlIlvouDQtDiYOvZMTN9eIe83YH009Shozg4LX+4ql40
NfIYfHYV3sUt88XIZpMjaKQtMI1gD2bRib2ZEu4NK6Y+HwkUoYTvj6A4H1XYDuzF
XPTg1l96xBLGynrD1VzTQR2htWoGA5lRS3WPkSY1JOVEcHb3lPGYYARl/hEpFygZ
+7JKe0CVU5qXbA39DGDm68pyYsEPZ+EjinMya70VFf2XaAlWzdeuref6c0Jk8V6m
D/STGTohQmzyXCGCRbCh3d7fnNxxvpqWBNPGkktHuShowK5ZriCQ+6mdju7XwNv1
oMznWCOhPPhgg4s1mEhGNzbJo82Qp3kOmpWOKYDAdPMMSnPQjJ0EeNoFdo4VtwRv
IrHR0J2nZmp2XUNDcCr6YV1rDXLoS69js2kj7g8Ypnx9PuADJ9I5O5H5ITuaioEQ
+GhZrUFJMpfFKtZBBdIbVu1eeqeRLYc/gppSTk5PB04M/x8Jx50/Jl9TjWnO73DR
3IjydBm0QadiSH44iMPoj3tlIyIsl0oFCZxVf2efATs+DYC4KHmBgejy1vWoYgrr
qIin3l4YCFI4cHFkPBs1OnhwDtFmipIm/gkstkl16JcgbcLNP5pBnPC9EYlPhZ0X
LN2VcaTZ7ILFajLxIDV6
=RfEH
-----END PGP SIGNATURE-----