Re: Ncurses

Pierre-Nicolas Clauss <[email protected]> Mon, 4 Dec 2006 15:59:45 +0100
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
I've just commit a first shot for a NCURSES_PAD class.
As it inherits from NCURSES_WINDOW, most operations should work fine.

Just beware that you should probably make calls to:

*) set_visible_{left,top}, which defines where in the pad to start displaying
*) set_viewport, which defines where on the screen the pad should be (partially) displayed

before calling refresh_{now,later}, otherwise ncurses won't know how to
actually draw the pad.

I'll commit a example in tutorial/ soon.

pini

On Fri 01/12/2006 12:51, Loïc Le Guyader wrote :
> Le  1 December 2006, Pierre-Nicolas Clauss, à bout, prit son clavier pour
> taper sur son écran:
> > In fact, as pads only provide few features, I might write such a class
> > quickly (even if the incoming week-end is completely full).
> 
> That would be extremely nice ! ;)\
> 
> Cheers.
> 
> -- 

-- 
Pour qu'une passoire laisse passer les nouilles et pas l'eau, il faut et il suffit
que le diamètre des trous soit notablement inférieur au diamètre de l'eau.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFdDfhrWI3wYhcVWMRAsXkAJ9kQ3MI0ZDb0aA2omMB1+8LtOMU/wCdHhxx
njiwp17H2gykGIveKfb/Kwg=
=HDE+
-----END PGP SIGNATURE-----