[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CDK - Multiple Menu's (cdk_menu)
From: |
Thomas Dickey |
Subject: |
Re: CDK - Multiple Menu's (cdk_menu) |
Date: |
Sat, 5 Sep 2015 20:37:10 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Mon, Aug 10, 2015 at 05:05:06PM -0400, Marc Smith wrote:
> Thanks for the reply; I'm not sure that cdk_traverse would do the trick, at
> least I can't think of how that would work right now... and the more I
> think about a second screen, I'm not sure it would look right on the
> display -- I need to think about this one more and how/if I would need to
> refresh multiple screens and how it would look with the menu dropping down
> over the sub screen (maybe the top screen would have focus).
>
> I played around with menu.c a bit and modifying it seems pretty straight
> forward -- would you be open to making menuPos accept the normal constants
> (TOP and BOTTOM) and additional a row number for the position? I could
> produce a patch with your input...
hmm - sorry to be slow. It sounds as if you want an alternate function
like
CDKMENU *newerCDKMenu (
CDKSCREEN *cdkscreen,
const char *menulist[MAX_MENU_ITEMS][MAX_SUB_ITEMS],
int menuListLength,
int *submenuListLength,
int *menuLocation,
int menuRowNumber,
chtype titleAttribute,
chtype subtitleAttribute);
...a patch would help.
> Thanks,
>
> Marc
>
>
>
> On Mon, Aug 10, 2015 at 2:23 PM, Thomas Dickey <address@hidden> wrote:
>
> > On Fri, Aug 07, 2015 at 12:09:17AM -0400, Marc Smith wrote:
> > > Hi,
> > >
> > > Looking for any tips for using multiple CDK menu's on a single screen...
> > I
> > > know that I can use one on the TOP and one on the BOTTOM but I want one
> > on
> > > top of the other (no rows between)... and maybe that is the answer, to
> > not
> > > use a single CDK screen but use multiple? Put one CDK menu on a screen,
> > and
> > > then the second on a different (sub) screen?
> >
> > You might be able to do this with the tab-traversal feature
> > (see the cdk_traverse manpage).
> >
> > If not, separate screens is the way to go.
> >
> > --
> > Thomas E. Dickey <address@hidden>
> > http://invisible-island.net
> > ftp://invisible-island.net
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.10 (GNU/Linux)
> >
> > iEYEARECAAYFAlXI7C8ACgkQcCNT4PfkjtuPUQCfT2O5bRsx9DuKzy5ZMC2Q9/2z
> > HXQAnjRyYWU67J3bibCO851iR1JqMB3Y
> > =gTr4
> > -----END PGP SIGNATURE-----
> >
> >
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: CDK - Multiple Menu's (cdk_menu),
Thomas Dickey <=