bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ACS_ & forms


From: Mike Aubury
Subject: Re: ACS_ & forms
Date: Wed, 11 Jun 2003 07:27:30 +0100

Its not just for drawing around a field - 
for example my form may look like this :

p------q
|      |
|      |
b------d
[a]


(where p is a upper left corner etc)

I normally create the fields first, then create the window and associate the 
list of fields to it...

On Wednesday 11 June 2003 12:20 am, Thomas Dickey wrote:
> On Tue, Jun 10, 2003 at 11:28:39PM +0100, Mike Aubury wrote:
> > I'm currently generating forms with 'labels' (fields with no O_ACTIVE)
> > and some real fields (which I assume is ok), and I'm setting the value of
> > these using set_field_buffer..
> >
> > The problem is - I'd like to use the ACS_HLINE, ACS_VLINE 'characters'
> > for drawing boxes around things within these labels.
> >
> > Anyone got any ideas as to how I could do this ?
>
> perhaps by making a wrapper for new_field() which keeps track of the
> fields which are drawn, and adjusts the calls to new_field() so they
> don't overlap.  Then it could draw a box around each field on the form's
> window, as the fields are created.
>
> > (I don't really want to just draw to the screen because of the way the
> > form is read in from a description file)
> >
> >
> >
> >
> > _______________________________________________
> > Bug-ncurses mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-ncurses





reply via email to

[Prev in Thread] Current Thread [Next in Thread]