Re: SDLx::Text - replace old text?

[email protected] (Dominique Dumont) Thu, 22 Dec 2011 20:54:07 +0100
Newsgroups perl.sdl.devel
Organization Debian
Message-ID <[email protected]>
Le Thursday 22 December 2011 00:17:07, Alex a écrit :
> First, the text "Hello World!" is drawn to the surface. Then, I alter the
> text and draw it again. But the old hello world text still remains on the
> surface. 
> I don't want that. I want "Hello World!" to disappear and Susan so show up.

You have to draw a black rectangle on $app before writing Susan. I don't think 
there's another way.

HTH

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)

iQIcBAABAgAGBQJO84rfAAoJEMMfT9lJqyts1e4P+wTOrcggBMVMyVpQ36d/qDRv
GsE6QMUpmhhUPlTOqqQFQaBX0XY63gj2lAfa3WjRv2kGvSm/dgEPiHiCdzGRsLtj
TruzsRLZ0votGI3PyBSi8FQx1w6ws+trbfrPkMQDq4OC+IuGi3nZv28oJ4GEeJYq
uQqnyfLjXQaVKUBizXqYknmkepgP8yIDQF+4Fypn8k0TH1pY83TjFapSVDtbKXAN
0W8d9pu94O4Qdk6kK0AYuQ3ZSgNdw0fmNJsYpoYRR+4f4fh5SOY/3jRKQJee4ncz
HdYpy/xBbOcVewbkxzlr7IkQtetl4SDZMdTwMk5Fmxf2CV6AF6md0qjuFvVFpT3f
SvGec/5AunXaPr6VUPVGyt0eFvqrxiV5HU6Fp//wBLKSOCs4FAOpkdX+NjAZu+tC
Z7UaHu6gZJfthdv66+/VC+TNtjiaJy8Ka4pDmFoHoibI4JcME2dy5COWa51qNQK5
7RGcyFYaJryG2necBF0gwo23VpsK1xTxbsUeix4lk1/In3mvh7bJMRGjpPlf6V21
wdUl6WdnKlcs/IH/7Fcr8GJaT+Zl/16X6TOdycwRyXUP0NDxn25+E4vcxS9xuYvg
B+xeyGik4Fn/8Vl93xcAbrAt+I08hPL4Gm2683ROuHrW9psusgV09gZp2+dIQGT5
C+MI0KBFgi1Y4bzAYXVJ
=szWk
-----END PGP SIGNATURE-----