home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!gdt!masaca
- From: masaca@gdr.bath.ac.uk (A C Aitchison)
- Newsgroups: comp.sys.sgi
- Subject: using motifbook menus demo with overlay planes
- Message-ID: <1992Aug19.104856.4797@gdr.bath.ac.uk>
- Date: 19 Aug 92 10:48:56 GMT
- Organization: School of Mathematics, University of Bath, UK
- Lines: 23
-
- Newsgroups: comp.sys.sgi
- Subject: using motifbook menus demo with overlay planes
- Summary:
- Expires:
- Sender: aca@maths.bath.ac.uk
- Followup-To: aca@maths.bath.ac.uk
- Distribution:
- Organization: School of Mathematics, University of Bath, UK
- Keywords:
-
- /usr/src/X11/motif/book/lib/menus.c (which is taken from
- "The X Window System, Programming and Applications with Xt - OSF/Motif Edition"
- contains a programmer-friendly front-end to Motif menus.
- Unfortunately it pups the menus up in the normal frame-buffer, so that
- whenever a menu is popped-down (very often) the main picture must be redrawn.
-
- Can anyone tell me how to make it use the popup planes ?
-
- Alternatively, can anyone recommend a way of creating an N entry menu in
- about N+2 lines of code ? (Of course that doesn't include definition of the support code.)
-
- Thanks very much,
- Andrew C. Aitchison, aca@maths.bath.ac.uk
-