comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
Subject: Re: ada, curses and windows
Date: Sat, 1 Aug 2009 13:34:51 -0700 (PDT)
Date: 2009-08-01T13:34:51-07:00	[thread overview]
Message-ID: <ba99056f-6196-445e-96e4-da83e6507575@d4g2000yqa.googlegroups.com> (raw)
In-Reply-To: h523sa$8ak$1@news.newsland.it

Massimo M. wrote on comp.lang.ada:
> i can't use windows in curses.
> they don't work, i looked for examples, but i find only too complicated
> examples. can you give me some easy examples in using windows in ada?
>
> i used
>
> winInput:=New_Window(Line_Count(8),Column_Count(8),Line_Position(8),Column_Position(8));
> box(winInput);
> refresh(winInput);
>
> but no windows appears...
> if i use
> box(standard_window), the box appears.
>
> thanks in advance

The behaviour you see is correct.  Curses does not draw have window
borders; you have to draw the borders yourself, e.g. with a "box".

That's what I remember from the two programs I wrote with curses back
in 1992 or so.

--
Ludovic Brenta.



  reply	other threads:[~2009-08-01 20:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-01 19:08 ada, curses and windows Massimo M.
2009-08-01 20:34 ` Ludovic Brenta [this message]
2009-08-01 23:08   ` Ludovic Brenta
2009-08-02  7:56     ` Massimo M.
2009-08-02  9:16       ` Massimo M.
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox